MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

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
0Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

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.

Try this 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. Which pattern has the model alternate between a written reasoning step, a tool call, and reading the tool's result?

    • Self-consistency
    • ReAct
    • Role prompting
    • Zero-shot
  2. 2. What sets tree-of-thoughts prompting apart from a single chain of thought?

    • It explores several reasoning branches, scores them and can backtrack
    • It writes the reasoning in a tree diagram instead of plain sentences
    • It sends the same prompt to several models and keeps the shortest one
    • It removes the reasoning entirely and asks only for the final answer
  3. 3. In step-back prompting, what does the model do before answering a specific question?

    • It deletes the last turn of the conversation and starts again
    • It waits for the user to confirm the question is worth answering
    • It answers a more general question about the principles involved
    • It rewrites the question in a simpler language for a younger reader
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. Few-shot classifiers tend to over-predict the label of the ___ example in the prompt.

    Answer:lastalso: final

    Hint: The one nearest the new input

  2. 2. In ___, an agent writes a short note on why an attempt failed and reads it before its next try.

    Answer:Reflexionalso: reflexion, reflection

    Hint: Sounds like looking back at yourself

  3. 3. In self-___ prompting, the model poses explicit follow-up questions and answers each before giving its final answer.

    Answer:ask

    Hint: It questions itself

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
Prompt drift↔Results change after a model upgrade with no prompt edit
Prompt overfitting↔Tuned to a few test inputs, so it fails on new ones
Prompt bloat↔Rules piled up over time until they start to conflict
15 more questions in this game

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

Sign up freeLog in