>_ CyberQuiz
← All rooms
✍️

Prompt Engineering

Craft effective prompts: few-shot, chain-of-thought, system prompts, structured output.

Easy 50 questions · 760 pts Room score: 0/760
Q1 Easy 10 pts

What is 'few-shot' prompting?

Q2 Easy 10 pts

'Zero-shot' prompting means:

Q3 Medium 15 pts

Adding 'Let's think step by step' elicits which reasoning technique (three words / acronym)?

Q4 Easy 10 pts

The role of a 'system prompt' is to:

Q5 Medium 15 pts

To reliably get JSON output you should:

Q6 Medium 15 pts

Raising the 'temperature' parameter:

Q7 Hard 20 pts

Prompting a model to critique and improve its own answer is broadly called self-____ .

Q8 Medium 15 pts

Setting temperature to 0 tends to make output:

Q9 Medium 20 pts

'top-p' (nucleus) sampling controls:

Q10 Medium 15 pts

A 'stop sequence' is used to:

Q11 Easy 10 pts

'One-shot' prompting provides:

Q12 Easy 10 pts

'Role prompting' means:

Q13 Medium 15 pts

Using delimiters (```triple backticks``` or XML tags) helps by:

Q14 Hard 20 pts

'Self-consistency' improves reasoning by:

Q15 Hard 20 pts

'ReAct' prompting interleaves:

Q16 Medium 15 pts

Breaking a complex task into smaller sub-prompts is called:

Q17 Medium 20 pts

Which most reduces hallucination?

Q18 Medium 15 pts

RAG stands for:

Q19 Easy 10 pts

The maximum amount of text (tokens) a model can consider at once is its context ____ .

Q20 Medium 15 pts

Providing an example of the desired OUTPUT FORMAT primarily improves:

Q21 Medium 15 pts

'In-context learning' refers to the model:

Q22 Easy 10 pts

Best way to enforce a specific persona/tone across a chat?

Q23 Medium 15 pts

Negative instructions ('do NOT include X') are:

Q24 Medium 15 pts

'max_tokens' limits:

Q25 Medium 20 pts

Why include the reasoning AND the final answer separately (e.g. tags)?

Q26 Medium 15 pts

'Prompt template' with variables is useful because it:

Q27 Medium 15 pts

'Meta-prompting' means:

Q28 Medium 15 pts

For a classification task, a good prompt:

Q29 Medium 20 pts

'Frequency penalty' is raised to:

Q30 Easy 10 pts

The three standard chat roles are:

Q31 Hard 20 pts

'Tree of Thoughts' extends chain-of-thought by:

Q32 Medium 20 pts

To make outputs reproducible across runs you can:

Q33 Medium 15 pts

A prompt that says 'If unsure, say you don't know' helps to:

Q34 Medium 15 pts

Which improves extraction of fields from messy text?

Q35 Hard 20 pts

Placing key instructions at the START and END of a long prompt helps because:

Q36 Medium 15 pts

'Guardrail' prompts add:

Q37 Medium 15 pts

Why version and test (A/B) your prompts?

Q38 Easy 10 pts

For summarization, specifying length/format (e.g. '3 bullet points') mainly improves:

Q39 Medium 15 pts

Feeding the OUTPUT of one prompt as the INPUT to the next is called prompt ____ .

Q40 Medium 15 pts

Asking the model to 'show your work, then give a final answer on the last line' is a form of:

Q41 Medium 15 pts

Embeddings are used in prompt engineering mainly to:

Q42 Easy 10 pts

A concise, specific instruction usually beats a vague one because:

Q43 Medium 20 pts

'Presence penalty' encourages the model to:

Q44 Medium 15 pts

When a prompt exceeds the context window, a common fix is to:

Q45 Medium 15 pts

Providing counter-examples (what NOT to output) alongside good examples:

Q46 Medium 20 pts

A robust production prompt should also:

Q47 Easy 10 pts

Which yields more consistent tone across many calls?

Q48 Hard 20 pts

'Least-to-most' prompting solves hard problems by:

Q49 Medium 15 pts

The best single habit for reliable prompts is:

Q50 Medium 15 pts

Giving the model the current date/context when needed prevents: