Quiz: Module 8 - Debugging and Optimizing Prompts
Test your knowledge with 30 multiple-choice questions.
Questions 1-10: Common Failuresβ
Q1: What causes hallucinations?β
- A) Slow internet
- B) Model inventing facts it doesn't know
- C) Too many tokens
- D) Wrong language
Answer: B - Hallucinations occur when models confidently state incorrect information.
Q2-10 Answersβ
Q2: C (Ask for uncertainty levels), Q3: A (Be more specific for off-topic), Q4: B (Provide format templates), Q5: C (Add word limits for verbosity), Q6: A (Specify tone explicitly), Q7: B (Use checklists for completeness), Q8: C (Diagnostic questions help), Q9: A (Identify failure type first), Q10: B (Within model capabilities)
Questions 11-20: Iterative Refinementβ
Q11: What is the iteration cycle?β
- A) Write once, use forever
- B) Write β Test β Analyze β Modify β Repeat
- C) Only test at the end
- D) Skip testing
Answer: B - The cycle is Write β Test β Analyze β Identify issues β Modify β Repeat.
Q12-20 Answersβ
Q12: C (A/B test significant changes), Q13: A (Version control prompts), Q14: B (One change at a time), Q15: C (Document what works), Q16: A (Measure success objectively), Q17: B (Track changes over versions), Q18: C (Compare systematically), Q19: A (Incremental improvements), Q20: B (Keep prompt history)
Questions 21-30: Testing and Evaluationβ
Q21: What should be automated in testing?β
- A) All evaluation
- B) Format/structure checks
- C) Tone assessment only
- D) Nothing
Answer: B - Automate format, structure, and pattern checks; human review for nuance.
Q22-30 Answersβ
Q22: C (Define metrics first), Q23: A (Include edge cases), Q24: B (Rubrics for consistency), Q25: C (Human review for nuance), Q26: A (Test suite with diverse cases), Q27: B (Scoring 1-5 common), Q28: C (Pass/fail for format), Q29: A (Reviewer guidelines help), Q30: B (Continuous improvement)