1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. What is the purpose of including examples in a prompt?

Added 11 Nov 2026

What is the purpose of including examples in a prompt?

  1. To increase prompt length for better performance
  2. To demonstrate the expected format or pattern of the response Correct answer
  3. To reduce the need for clear instructions
  4. To test the AI’s memory capacity

Correct answer

B. To demonstrate the expected format or pattern of the response

13 views

MCQSEXAM

Explanation

Examples demonstrate the expected format or pattern of the response. Source: GitHub (Prompt Engineering Quiz), Q6.

Reference

Asked in: General

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Generative AI MCQs

Practise all Generative AI MCQs

Similar MCQs