Quiz: Module 7 - Prompt Engineering for Specific Tasks
Test your knowledge with 30 multiple-choice questions.
Questions 1-10: Content Creationβ
Q1: What should content prompts always include?β
- A) Only the topic
- B) Audience, tone, and length
- C) Just word count
- D) Only keywords
Answer: B - Include audience, tone, length, and structure.
Q2-10 Answersβ
Q2: C (AIDA for marketing), Q3: A (Hook first), Q4: B (Multiple subject lines), Q5: C (Specify POV for creative), Q6: A (Request edit explanations), Q7: B (Include keywords), Q8: C (Clear CTA), Q9: A (Scannable format), Q10: B (Tone consistency)
Questions 11-20: Code Generationβ
Q11: What must code prompts specify?β
- A) Just the task
- B) Language, inputs, outputs, style
- C) Only the language
- D) Just the output
Answer: B - Specify language, inputs, outputs, edge cases, and style.
Q12-20 Answersβ
Q12: A (Include error handling), Q13: C (Request explanations), Q14: B (Table format for reviews), Q15: A (Include test cases), Q16: C (Docstrings important), Q17: B (Specify framework), Q18: A (Edge cases critical), Q19: C (Style guide matters), Q20: B (Fix + prevention)
Questions 21-30: Data Analysisβ
Q21: What improves analysis prompts?β
- A) Being vague
- B) Defining specific questions
- C) Avoiding structure
- D) Skipping summaries
Answer: B - Define specific questions and output format.
Q22-30 Answersβ
Q22: C (JSON for extraction), Q23: A (Include caveats), Q24: B (Tables for comparison), Q25: C (Executive summary first), Q26: A (Audience matters), Q27: B (Visualization suggestions), Q28: C (Key findings bullets), Q29: A (Structured outputs), Q30: B (Action items if applicable)