Which prompt pattern is strongest for applying AI Pair Programming Workflow?

Practice this question from Practice Quiz 15: AI Pair Programming Workflow, with options and an explanation.

Question

Which prompt pattern is strongest for applying AI Pair Programming Workflow?

Option A

Paste private data without explaining the goal

Option B

Ask one vague question and accept the first answer

Option C

Request a long answer without saying who will use it

Option D — Correct answer

State the task, context, constraints, and expected output format

Explanation

A controlled prompt tells the model what to do, what context matters, and how the output should look.

Practice Quiz 15: AI Pair Programming Workflow

All questions · Previous question · Next question

Open on QuizMaker