What is Prompt Engineering? Solved MCQ

What is Prompt Engineering?

Select the best answer.

a) Writing code to train models
b) Crafting clear, specific inputs to guide output
c) Designing user interfaces for AI tools
d) Creating datasets for training


Correct Answer: b) Crafting clear, specific inputs to guide output


Explanation of Each Option

(a) Writing code to train models

  • This refers to model training, which is the process of developing or fine-tuning AI models using datasets and algorithms.

  • Prompt engineering, on the other hand, focuses on how we communicate with already trained models (like GPT, Claude, or Gemini), not how we train them.

  • So, while both involve AI, this option confuses model training with model prompting.

(b) Crafting clear, specific inputs to guide output

  • This is the most accurate definition of prompt engineering.

  • It involves creating well-structured and precise prompts (inputs) that effectively communicate what response you expect from an AI model.

  • Example: Instead of saying “Explain Java,” a prompt engineer might say “Explain the key features introduced in Java 17 with examples.”

  • The clarity and specificity help the model produce more accurate, relevant, and context-aware responses.

(c) Designing user interfaces for AI tools

  • This is part of UI/UX design, not prompt engineering.

  • UI design involves how the user visually interacts with the AI tool (buttons, chat windows, layout, etc.), not how prompts are formulated or optimized for AI responses.

(d) Creating datasets for training

  • This falls under data engineering or data preparation, not prompt engineering.

  • Dataset creation supports model training, whereas prompt engineering operates after the model is trained to make it perform specific tasks better.

Summary

Option Description Correct? Reason
a Writing code to train models Refers to model training, not prompting
b Crafting clear, specific inputs to guide output True definition of prompt engineering
c Designing user interfaces for AI tools Refers to UI/UX design
d Creating datasets for training Refers to data engineering

Why the other options are incorrect:

  • A) Hardware, software, and firmware: These are technical components of a computing system. They are not related to prompt design or its effectiveness. Not related to prompt engineering attributes.
  • C) Infrastructure, network, and bandwidth: These pertain to system-level concerns, such as performance and connectivity. They do not describe attributes of prompts themselves. Infrastructure-related, not prompt-related.
  • D) Database, interface, and operating system: These are system and application-level components. They are not characteristics of how prompts are structured or interpreted. More relevant to software architecture than prompt engineering.

Source of Information:

You may also go through series of MCQs/Quizzes on Prompt Engineering.