CPA-21-02
Cpa – C++ Certified Associate Programmer practice test
275 C++ Institute CPA-21-02 practice questions with explanations, in study, timed and flashcard modes. 20 sample questions are free.
Full access
$99
- All 275 questions, with explanations
- Study, timed and flashcard modes
- Progress saved, resume any time
- Questions
- 275
- Free samples
- 20
- Versions
- 1
- Updated
- Aug 2025
Exam simulator
Practice CPA-21-02 in the simulator.
Study, timed and flashcard modes. Answers and explanations as you go, and your progress saves.
At a glance
CPA-21-02, by the numbers.
Official specifications published by C++ Institute.
- Duration
- 65 min
- Questions
- 40
- Passing score
- 70%
- Exam fee
- $345

Exam guide
Everything about CPA-21-02.
CPA-21-02 · C++ Institute · 21-02
What is CPA-21-02?
Passing CPA-21-02 shows you can read and write object-oriented C++ at the associate level. It earns the C++ Certified Associate Programmer title and usually follows the entry-level CPE. Students and junior developers often take it once they know basic C++. The exam tests how well you know C++ rules, from operators and control flow to pointers and classes. A pointer is a variable that holds the memory address of another value. For example, you may trace a short program that uses pointer arithmetic and say what it prints. The practice test is built around types and operators, exceptions, functions, pointers, and classes.
What you'll practise
- Predict the result of unary, binary and ternary operators on C++ types.
- Control program flow with loops, switch statements and exceptions.
- Write and overload functions, and use preprocessor directives.
- Declare pointers, follow what they point to and use pointer arithmetic.
- Define classes with constructors and destructors, and organize code in namespaces.
Requirements
- No formal prerequisites: anyone can book the exam.
- Recommended: the entry-level CPE certification or the same knowledge.
- Recommended: an understanding of object-oriented programming.
- Recommended: the C++ Essentials 2 course.
Who it's for
- Junior C++ programmers and computer science students.
- Developers moving to C++ from another language.
- Embedded systems developers who write C++ for devices.
Exam details
Published by C++ Institute, plus what is in our question bank.
What does CPA-21-02 cover?
The practice test's questions, grouped by exam topic. Open a topic to see what it covers.
5 topics · 35 subtopics · 271 questions
So far, 271 of the 275 questions written for CPA-21-02 are sorted into these topics.
How do I earn this certification?
Passing CPA-21-02 earns the CPA - C++ Certified Associate Programmer in the C++ Programming track.
How to study for this exam?
Use the CPA-21-02 practice test alongside the official material below.
What's changed on this exam?
Status and coverage changes that affect what you should study.
- Current status
- ACTIVE
- Last content update
- Jul 22, 2025
- Announced
- Jul 22, 2025
Three ways to practise
Study mode
Work through the bank at your own pace with the answer and explanation one tap away. Flag questions, add notes, bookmark the hard ones.
Open in the simulatorTimed mode
A shuffled deck with a countdown that mirrors the real exam. Your score is saved to your attempt history.
Open in the simulatorFlashcards
Question on the front, answer on the back. Good for the last week before the exam.
Open in the simulator