Prompt engineering basics
10 questions on roles, context, constraints, few-shot examples and structured outputs. See how well you really prompt.
- 10 questions
- Stopwatch
- Instant feedback
Sample questions
Play now ↑Answers stay hidden. Start the quiz to play them.
Sample 1
You ask an AI: Write a post about our new product. The result is bland and generic. What is the most likely cause?
- The model isn't powerful enough for marketing texts
- The prompt gives no audience, goal, tone or details, so the model fills the gaps with the most average answer
- The prompt is too short; longer prompts always give better results
Sample 2
What is few-shot prompting?
- Asking the same question several times and keeping the best answer
- Including a few examples of input and expected output in the prompt, so the model copies the pattern
- Keeping the prompt as short as possible
How it works
- One question per screen. An answer is final once sent.
- You see right away whether you were right, with a short explanation.
- The stopwatch runs: on equal scores, the faster player ranks first.
- Only your best attempt counts, so replaying is never risky.
About this quiz
Most people have used an AI chatbot. Far fewer know why some prompts produce a sharp, usable answer on the first try while others produce something generic, too long or beside the point. The difference is rarely the tool. It is the prompt. A model fills every gap in your request with the most likely, and therefore most generic, choice. Ask it to write a post about your new product and you get a bland post, because it has to guess who the post is for, what it should achieve and what makes the product different. The more of that you supply, the less it has to guess.
The building blocks work in ChatGPT, Claude, Gemini, Copilot and any similar assistant. Start with the information the model cannot know: the audience, the context, the goal and the format you want. Relevant detail helps, while length for its own sake does not, and capital letters or politeness formulas add no information. A role instruction, such as asking the model to answer as an experienced HR manager, mainly sets the point of view and the register it writes from. It does not add knowledge or make the answer more accurate by itself.
Examples are one of the strongest tools. Showing the model a sample of the style, structure and level of detail you want is often easier than describing it, and this is called few-shot prompting. For problems with several steps, asking the model to work through the steps before answering, known as chain of thought, gives it room to reason and usually improves the result. For a simple lookup it only adds length. When you need an answer to go straight into a spreadsheet or another program, ask for exactly the format you need, naming the columns or fields, their order and, if useful, a one-line example.
Constraints shape how the answer is written: its length, vocabulary, tone or format. The material you paste in, such as a customer email, is context, not a constraint. When the first answer is close but not right, the best move is usually to iterate with targeted feedback, saying what to keep and what to change, rather than typing a vague try again or starting from scratch and losing useful context.
A simple way to apply all this is to treat a prompt like a brief to a capable new colleague who knows nothing about your situation. Say who the work is for, what it must achieve, what material to use, what to avoid and what the finished result should look like. Anything you leave out, the colleague, or the model, will fill in with a safe, average guess. Spending a minute on the brief usually saves several rounds of correction afterwards.
Two habits keep you safe and efficient. First, remember that language models produce likely-sounding text and do not look facts up unless they are connected to a search tool, so an invented statistic with a source you cannot find is a well-known failure, and any fact should be checked before use. Second, keep a personal library of prompts that worked, since the structure that produced a good answer can be reused and adapted. This quiz has 10 questions on context, constraints, roles, examples, step by step reasoning, output formats, iteration and reliability. Every answer is explained.
Questions and answers
›How long does the quiz take?
About 3 to 4 minutes for 10 questions at roughly 20 seconds each. Every answer is followed by a short explanation, so a wrong choice still teaches you something.
›Do I need technical skills?
No. Prompt writing is about clear communication, and the questions use everyday tasks such as writing a post or preparing a spreadsheet. No coding is required.
›Why do generic prompts give generic answers?
A model has to fill every missing detail with the most probable option, and the most probable option is the most average one. If you do not say who the text is for, what it should achieve or what makes your case special, the model has nothing specific to work with.
›What is few-shot prompting?
It means including one or more examples of the output you want in the prompt. The examples show the model the exact style, structure and level of detail, which is often easier than describing them in words. It is especially useful for formats and tones that are hard to explain.
›When does asking for step by step thinking help?
It helps most with problems that need several steps, such as calculations or logic. Writing out intermediate steps gives the model room to reason and often improves accuracy. For a simple lookup it just makes the answer longer without making it better.
›How do I get output I can paste into a spreadsheet?
State the format explicitly. Name the columns or fields, give their order and, if it helps, include a one-line example. Clear instructions about structure are more reliable than hoping the model guesses the layout you need.
›What should I do when the first answer is almost right?
Iterate with specific feedback. Say what to keep and what to change, for example the tone is good, but make it shorter and add a number. This builds on what already works. A vague request to try again gives the model nothing to aim at.
›Why must I check facts from an AI?
Language models generate likely-sounding text and do not look facts up unless connected to a search tool. They can invent statistics, quotations and references that look real. Always verify any fact you plan to use, especially numbers and sources.