MugUp logoMugUp
HomeBrowsePricingAboutBlogContact
LoginSign Up
© 2026 MugUp. All rights reserved.
HomeAboutDeck LibraryBlogChangelogContactFeature RequestsDeck Requests
Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. AI & Prompt Engineering
  3. Prompting Patterns
Public deck

AI & Prompt Engineering

Vendor-neutral fundamentals of working with large language models: tokens and sampling, prompting patterns, embeddings and vector search, retrieval-augmented generation, and the failure modes that bite in production.

Engineering
AShared by Alex Chen
0PlaySign in to clone

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

Prompting Patterns

The prompt shapes that reliably change output quality — and the ones that only look like they do.

Play topicBack to deck

Content

80 total questions

MCQ: 22
Fill-in: 15
Flashcards: 25
Pair match: 18
Prompting Patterns – Flashcards
Flashcards

Card #1

Zero-shot prompting

Card #2

Few-shot prompting

Card #3

Why must few-shot examples be formatted consistently?

22 more questions in this game

Showing 3 of 25. Sign up free to see the rest.

Sign up freeLog in
Prompting Patterns – MCQ
Multiple Choice Questions
  1. 1. Few-shot prompting means:

    • Including example input-output pairs in the prompt so the model infers the task and its format
    • Sending several separate requests and merging the answers
    • Limiting the model to a small number of output tokens
    • Fine-tuning the model on a small dataset
  2. 2. Chain-of-thought prompting helps most reliably on:

    • Multi-step problems where intermediate results feed into the final answer
    • Single-token factual lookups
    • Reducing the number of output tokens
    • Tasks where output must exactly match a fixed template
  3. 3. Wrapping user-supplied text in explicit delimiters primarily:

    • Keeps untrusted content clearly separable from your own instructions
    • Reduces the token count of that content
    • Guarantees the model cannot follow instructions inside it
    • Improves the model's factual accuracy
19 more questions in this game

Showing 3 of 22. Sign up free to see the rest.

Sign up freeLog in
Prompting Patterns – Fill-in-the-blank
Fill in the Blank
  1. 1. Providing worked input-output examples inside the prompt is called ___-shot prompting.

    Answer:few
  2. 2. Asking for the task with instructions and no examples at all is ___-shot prompting.

    Answer:zero
  3. 3. Asking the model to show intermediate reasoning before answering is ___-of-thought prompting.

    Answer:chain
12 more questions in this game

Showing 3 of 15. Sign up free to see the rest.

Sign up freeLog in
Prompting Patterns – Pair match
Pair Match
Zero-shot↔Instructions only, no examples
Few-shot↔A handful of worked examples in the prompt
Chain-of-thought↔Intermediate reasoning before the final answer
15 more questions in this game

Showing 3 of 18. Sign up free to see the rest.

Sign up freeLog in