- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
AI & Machine Learning Prompt Engineering Quiz
Small changes to a prompt can turn a vague AI answer into exactly what you need. This beginner quiz covers the core prompt engineering habits, from being specific and giving examples to system prompts, structured output and splitting big tasks.
Sample question
Question 1 of 10The prompt "Write about dogs" gives a generic answer. Which change helps most?
Show the answer
C. Say exactly what you want: the task, the audience, the length and the format, e.g. "a 150-word intro on choosing a first dog, for new owners" Models fill gaps with the most generic answer. Stating the goal, audience, length and format removes the guesswork; politeness or repetition does not add that information.
What this quiz covers
- Being specific about task, audience, length and format
- Zero-shot vs few-shot prompting
- System prompts and delimiters around user data
- Asking for step-by-step reasoning and structured output
- Testing and iterating on prompts
Questions people ask
Do I need an account?
No. Anyone can play. Sign in to keep your XP, streak, badges and history.
Can I retake it?
Yes. Your best score is kept, and the questions and answers are shuffled each time.