Flashcardsfor IT Certifications

D5: Zero-, Single- & Multi-Shot Prompting

Claude Certified Developer – Foundations exam practice questions · 10 flashcards

Question
What is zero-shot prompting?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Zero-, Single- & Multi-Shot Prompting practice questions and answers
  1. What is zero-shot prompting?
    Giving only instructions, no examples.
  2. What is single-shot (one-shot) prompting?
    Giving one example of the desired input/output.
  3. What is multi-shot (few-shot) prompting?
    Giving several examples to show the pattern.
  4. When is zero-shot enough?
    For simple, common tasks Claude already handles well.
  5. When do examples help most?
    For specific formats, tone, edge cases or classification labels.
  6. How many examples are typically recommended?
    About 3–5 diverse, relevant examples.
  7. Why make examples diverse?
    So Claude learns the pattern rather than copying one example's specifics.
  8. How should examples be marked?
    Wrap them in tags such as <example> to separate them from instructions.
  9. What's the cost of many examples?
    More input tokens per request (mitigate with prompt caching).
  10. Can examples cause problems?
    Yes, Claude may over-copy quirks of examples; check they reflect exactly what you want.