1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. Which of the following best exemplifies "few-shot…

Added 11 Nov 2026

Which of the following best exemplifies "few-shot prompting"?

  1. Translate this sentence: 'Hello, world!'
  2. Here are examples: 'Hello -> Bonjour', 'Goodbye -> Au revoir'. Now translate: 'Thanks' Correct answer
  3. Write a story about a dog.
  4. Summarize this text in one sentence.

Correct answer

B. Here are examples: 'Hello -> Bonjour', 'Goodbye -> Au revoir'. Now translate: 'Thanks'

10 views

MCQSEXAM

Explanation

Few-shot prompting provides examples: "Hello -> Bonjour, Goodbye -> Au revoir. Now translate: Thanks." Source: GitHub (Prompt Engineering Quiz), Q4.

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