Module L1-M02 quiz

Study time
≈ 30 min (estimate)
Updated
2026-11-03
Draft · reviewed by AI, not yet by a person. Content may change. English translation: AI-assisted, not human-reviewed.
On this page

12 questions, 20 points, 30 minutes. Pass mark: 14/20 (70%). The answers are in answer-key.md (for instructors only). Course materials are allowed; AI chatbots may not be used to answer.

Part A - Multiple choice (1 point/question)

Q1. Which unit test does not need to call the model?

  • A. Checking whether the model keeps the tense of the sentence
  • B. Checking that the user's input sits inside the <learner_text> tag after rendering
  • C. Checking whether the explanation suits level A2
  • D. Checking whether the model refuses an out-of-scope question

Q2. How many atomic requirements does the instruction "Reply in Vietnamese, in one sentence, politely" contain?

  • A. 1 B. 2 C. 3 D. 4

Q3. Three factors have 5, 4 and 2 values. At least how many rows does a pairwise matrix need?

  • A. 5 B. 10 C. 20 D. 40

Q4. An instruction is removed from the prompt and every test still passes. The most correct conclusion is:

  • A. The instruction is certainly redundant and can be deleted
  • B. Either the instruction is redundant, or the test suite is not yet strong enough to detect it; it needs investigating
  • C. The model understood the instruction without needing it
  • D. The test suite has reached 100% coverage

Q5. In a change review, a case that FAILS on v1 and PASSES on v2 is classified as:

  • A. broken B. fixed C. still failing D. still passing

Part B - True / False (1 point/question)

Q6. Wrapping the input in a tag and escaping it guarantees that prompt injection cannot succeed.

Q7. If every automatable requirement has at least one test case, the test suite is strong enough to detect every violation.

Q8. According to Anthropic's documentation, examples (few-shot) are one of the most reliable ways to steer the output format.

Part C - Short answer (3 points/question)

Q9. Explain the difference between a prompt-assembly defect and a model-behaviour defect. Give an example of each kind and say how it is tested.

Q10. Rewrite the requirement "The bot must answer briefly and clearly" as atomic requirements. For each requirement, choose an oracle and explain.

Q11. A prompt test matrix has three rows with no oracle because the prompt says nothing about Vietnamese input. How do you handle these three rows, and how do you report them?

Part D - Scenario (3 points)

Q12. A developer submits prompt v3 with the note: "I only tightened the wording of the instructions and added 2 examples, the meaning is unchanged." They want to release it today. Write the change review steps you would take, and name two specific risks you would check first.