Claude Models, Prompting & Context Engineering·Task 2.3·Bloom: remember·Difficulty 1/5·6 min read·Updated 2026-07-14

Prompt Technique Taxonomy for the CCAR-P Exam

Apply prompt engineering techniques (zero-shot, few-shot, chain-of-thought)

SUBy Solomon UdohReviewed by Solomon UdohAI-assisted · human-reviewed
In short
The three core prompt engineering techniques are zero-shot, which gives instructions only with no examples and is the default to try first; few-shot, which adds a handful of input/output examples to demonstrate a desired format or judgment; and chain-of-thought, which prompts the model to reason step by step before producing a final answer. Chain-of-thought is an explicit reasoning instruction in the prompt, distinct from the model's internal extended-thinking feature.

Three techniques, in order of weight

Before you can choose a prompt technique for a task, you need to know what the choices are and what each one provides. The Claude Certified Architect - Professional (CCAR-P) exam sets this up at the remember level with three core techniques: zero-shot, few-shot, and chain-of-thought. They are best understood as a progression of weight. Zero-shot is the lightest, chain-of-thought the heaviest, and few-shot sits between them. Each adds something the previous one lacked, and each costs something the previous one did not. Knowing precisely what each provides is the foundation for choosing among them, which is developed in technique selection by task complexity.

Prompt technique taxonomy
The three core prompt engineering techniques. Zero-shot provides instructions only, with no examples, and is the default to try first. Few-shot adds a handful of input/output examples to demonstrate a desired format or judgment. Chain-of-thought instructs the model to reason step by step before producing a final answer. Chain-of-thought is a prompt-level reasoning instruction, distinct from the model's internal extended-thinking feature.

Zero-shot: instructions only

Zero-shot prompting gives the model instructions and nothing else, no worked examples. It is the default technique to try first because it is the cheapest in tokens and the simplest to maintain, and for well-specified tasks the model already handles reliably, it is often all that is needed. Starting zero-shot means you only add weight when the task proves it needs it, rather than paying for scaffolding up front.

Few-shot: showing instead of telling

Few-shot prompting adds a handful of input/output examples to the prompt. Its purpose is to demonstrate a desired format or judgment that is easier to show than to describe. When the shape of the output or the kind of decision you want is hard to capture in instructions alone, a few concrete examples can convey it directly. The examples are content, though, which means they carry their own risks: they must be maintained as the task evolves, and, as bias introduced by prompt construction explains, an unbalanced set can quietly teach the model the wrong norm.

Chain-of-thought: reasoning made explicit

Chain-of-thought prompting instructs the model to reason step by step before producing its final answer. It fits tasks where the reasoning path itself matters to getting the answer right, such as multi-step logic or judgments that depend on several interacting conditions. Making the steps explicit both improves those answers and makes the reasoning checkable.

One distinction the exam cares about: chain-of-thought is an explicit step-by-step reasoning instruction you write into the prompt. It is not the same as the model's internal extended-thinking feature, which is a separate capability that adds a reasoning pass at the model level and is controlled differently, as covered in extended thinking as a cost-latency tradeoff. Confusing the two is a classic error.

zero-shot
instructions only, default to try first
few-shot
a handful of examples to show format or judgment
chain-of-thought
step-by-step reasoning before the answer

What the exam trips candidates on

The two traps target sloppy assumptions about the techniques. The first is assuming few-shot always outperforms zero-shot regardless of task complexity. A scenario will imply more examples are always better; the credited reading knows zero-shot is the default and few-shot earns its place only when the task needs demonstration. The second is confusing chain-of-thought, an explicit step-by-step reasoning instruction, with the model's internal extended-thinking feature. A scenario will blur the two; the credited reading keeps the prompt-level instruction and the model-level feature distinct.

Worked example

A new architect describes their prompting toolkit: 'I always add examples because few-shot beats zero-shot, and I turn on chain-of-thought by enabling the model's extended-thinking setting.' Identify the two conceptual errors.

Both claims contain a taxonomy error the exam specifically targets.

The first claim, that few-shot always beats zero-shot, treats a technique as universally superior when it is actually one weight up the progression. Zero-shot is the default to try first, and for a well-specified task the model already handles, adding examples only spends tokens and introduces content to maintain, without improving the result. Few-shot earns its place when the format or judgment is genuinely hard to describe, not as a blanket rule.

The second claim conflates two different mechanisms. Chain-of-thought is a prompt-level instruction: you write words asking the model to reason step by step before answering. The extended-thinking setting is a separate model feature that adds an internal reasoning pass and is controlled at the request level, not by phrasing in the prompt. Enabling extended thinking is not "turning on chain-of-thought," and the two have different cost and control characteristics. Keeping them distinct matters because they are chosen, configured, and justified differently.

Corrected, the toolkit reads: start zero-shot, add few-shot only when the task needs demonstration, and reach for chain-of-thought, the prompt instruction, when the reasoning path matters, while treating the extended-thinking feature as its own separate decision.

Common misreadings to avoid

Misconception

Few-shot always outperforms zero-shot, so you should include examples by default.

What's actually true

Zero-shot is the default to try first. For well-specified tasks the model already handles, examples add cost and maintenance without improving output. Few-shot earns its place only when format or judgment is hard to describe.

Misconception

Turning on the model's extended-thinking feature is the same as using chain-of-thought.

What's actually true

Chain-of-thought is an explicit step-by-step instruction written into the prompt. Extended thinking is a separate model feature adding an internal reasoning pass, controlled and priced differently. They are distinct mechanisms.

How this shows up on the exam

Remember-level questions ask you to name or define the three techniques or to catch the chain-of-thought versus extended-thinking confusion. The reliable answer knows zero-shot as instructions-only and the default, few-shot as a handful of demonstrating examples, and chain-of-thought as a prompt-level step-by-step instruction distinct from the extended-thinking feature.

This taxonomy is the basis for technique selection by task complexity and its applied counterpart matching technique to scenario-based tasks, and it connects to bias introduced by prompt construction, since few-shot example sets are a common source of bias.

Check your understanding

Which statement correctly describes the three core prompt engineering techniques?

People also ask

What are the three main prompt engineering techniques?
Zero-shot (instructions only), few-shot (a handful of input/output examples), and chain-of-thought (an instruction to reason step by step before answering).
What is the difference between zero-shot and few-shot?
Zero-shot gives instructions with no examples and is the default. Few-shot adds a few worked examples to demonstrate the desired format or judgment when instructions alone are insufficient.
Is chain-of-thought the same as extended thinking?
No. Chain-of-thought is an explicit prompt instruction to reason step by step. Extended thinking is a separate model feature adding an internal reasoning pass, controlled differently.

Watch and learn

Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.

No videos curated for this concept yet

We are still curating the best official and community videos for this topic.

Official prep for this domain

Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.

References & primary sources

Adaptive study

Master this concept with Archie

Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.

Start studying