A researcher compares two prompts for solving logic puzzles. Prompt A says: 'Answer the following logic puzzle.' Prompt B says: 'Answer the following logic puzzle. First, list all given facts. Then, identify the constraint. Finally, derive the answer.' The researcher finds Prompt B significantly outperforms Prompt A. Which TWO prompting concepts BEST explain this improvement? (Select TWO)
- A. Role prompting
- B. Few-shot prompting
- C. Chain-of-thought prompting✓ Correct
- D. Prompt decomposition into sub-steps✓ Correct
- E. Temperature reduction
- F. Self-consistency sampling
Explanation
Prompt B explicitly instructs the model to reason step by step (list facts → identify constraints → derive answer), which is the core of chain-of-thought prompting. This also represents decomposing the task into structured sub-steps, a related best practice that breaks a complex problem into manageable stages. Role prompting assigns a persona and is not present here. Self-consistency requires multiple runs and majority voting, which is not described. Few-shot prompting requires examples, which are absent. Temperature reduction is a parameter change, not a prompting technique, and is not mentioned.