Prompt structure and message roles

A section of the "Prompting and context" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.

Quiz difficulty Formats: several correct options, order of steps, the faulty line

Quiz 1.1Prompt structure and message rolesStart Practice or a ranked attempt — you choose after clicking.
  1. Where information gets lost in a prompt
  2. The anatomy of a prompt
  3. Chekhov's gun in the context
  4. XML and Markdown in a prompt
  5. A process or a set of rules in the prompt
  6. Clear instructions
  7. A prompt for labeling products