CPA-21-02 Verified 2026 Edition

Cpa – C++ Certified Associate ProgrammerPractice Test

Master the Cpa – C++ Certified Associate Programmer with the official PlanetCert Practice Test. Access real exam questions, professional-grade detailed explanations, and our advanced adaptive simulator. Pass your certification exam on the first attempt.

275 Total Questions
1 Included Version Get all versions for the price of one
English Edition
All-In-One Bundle
$79.99
$75.99
  • Interactive Simulator & AI
  • Detailed Explanations
  • Study, Timed & Flashcard Mode
  • Lifetime Access & Updates

Instant lifetime access • Secure checkout

Why Study with PlanetCert?

The Latest Questions

Practice questions and exam topics aligned with the current exam objectives.

Detailed Explanations

Go beyond the answer. Master the material with comprehensive learning and professional explanations for every concept.

AI

AI-Powered Insights

Personalized preparation guidance that adapts to your performance and identifies weak spots automatically.

Exam Information

Official specifications published by C++ Institute

Exam Format

65 min
40
70%
Associate

Registration

$345 USD
Pearson VUE or online proctoring
English

Validity

lifetime

CPA-21-02 Exam Topics and Domains

CPA-21-02 is organized into 5 weighted domains. Expect to work with compare(), insert(), size(), substr().

1

Types & Operators

24.5%

Apply unary, binary, and ternary operators

Operator precedence and associativity
  • Apply unary, binary, and ternary operators
  • understand precedence and associativity

Operator usage

Arithmetic and relational operatorsBitwise and assignment operators

Use arithmetic, relational, logical, bitwise, assignment, increment/decrement, and short-circuit operators

Ternary conditional operator

Conditional expressions

Apply the ternary conditional operator (?:)

Data types and representations

Standard types

Recognize predefined standard types, data ranges, and internal representations

Literals

Literal formats

Use literals in various forms (decimal, octal, hexadecimal, binary, floating-point, char, bool)

String operations

std::string manipulation

Work with std::string objects, escape sequences, and string operations (e.g., compare, size, substr, insert)

Aggregates

Aggregate types

Declare and manipulate aggregates (vectors, arrays, structures, unions, enums)

Type conversions

Type casting and conversion

Understand type conversion rules, type casting, promotion, and the sizeof operator

Declaration modifiers

Type modifiers

Apply declaration modifiers (signed, unsigned, static, const)

2

Control & Exceptions

18%

Control flow statements

Conditional statements and loopsFlow control keywords

Use conditional statements (if, else), loops (while, do, for), and control flow keywords (break, continue, goto)

Multiple-selection constructs

Switch statements

Apply multiple-selection constructs (switch, case, default)

Return statement

Function returns

Understand the use of the return statement to exit functions

Exception handling

Exception mechanisms

Understand exception handling mechanisms (try, catch, throw, catch-all)

Exception hierarchies

Exception specifications

Recognize exception hierarchies and use the throw() specifier in function declarations

3

Functions & Preprocessor Directives

17.5%

Function basics

Function declaration and definition

Define, declare, and invoke functions with correct syntax

Function types

Typed and void functions

Use typed and void functions with appropriate return statements

Function overloading

Overloading and defaults

Overload functions and assign default parameter values

Argument passing

Pass by value, reference, and pointer

Pass arguments by value, reference, and pointer

Recursion

Recursive functions

Implement recursion

Main function

main() conventions

Apply conventions for main() function declarations

Conditional compilation

Preprocessor conditionals

Use preprocessor directives for conditional compilation (#if, #endif, #else, #ifdef)

Macros

Macro definition and expansion

Define parameterized and non-parameterized macros and understand macro expansion

4

Pointers

11%

Pointer declarations

Pointer types

Declare and initialize pointers to variables, objects, functions, and aggregates

Pointer operations

Dereferencing and address-of

Dereference pointers and use the address-of operator (&)

Pointer arithmetic

Arithmetic and comparisons

Perform pointer arithmetic and comparisons

Dynamic memory

Memory management

Manage dynamic memory with new, delete, delete[], and avoid memory leaks

5

Classes & Namespaces

29%

OOP principles

Object-oriented concepts

Understand OOP principles: inheritance, encapsulation, polymorphism, abstraction

Class definition

Class components

Define classes, apply access specifiers, and use class components with the :: operator and this pointer

Constructors and destructors

Object lifecycle

Declare and invoke constructors and destructors, including default, copy, and explicit constructors

Overloading

Member and operator overloading

Overload class member functions and operators

Inheritance

Inheritance types

Implement inheritance (single, multiple), manage visibility, and understand access levels

Type casting

Class type casting

Work with class type compatibility, casting between types, and use static_cast, dynamic_cast

Polymorphism

Virtual functions

Override methods, use virtual and polymorphic functions, and apply const in objects and members

Friend functions

Friend access

Use friend classes and functions

Namespaces

Namespace usage

Define and use namespaces, including anonymous and named namespaces, aliases, and the scope resolution operator (::)

How do I earn this certification?

Passing CPA-21-02 earns the CPA - C++ Certified Associate Programmer certification. It sits in the C++ Programming track.

Next Level Options
CPP-22-02 - C++ Certified Professional ProgrammerAdvanced C++ programming certification
Alternative Paths
  • CLA-11-03 - C Certified Associate Programmer Related C language certification
  • CLP-12-01 - C Certified Professional Programmer Professional level C certification

Practice with Precision

The PlanetCert Simulator mirrors the real exam environment with authentic questions and timed pressure.

Launch Simulator

How to study for this exam?

The most effective way to prepare for CPA-21-02 is by using the PlanetCert Simulator to practice questions and review detailed explanations.

What's changed on this exam?

Current Status
  • ACTIVE
  • Last content update: 2025-07-22
  • Announcement date: 2025-07-22
Updates
  • C++ Standard C++17/20 Core language features covered in exam • Release date: ongoing
  • STL (Standard Template Library) Latest Basic STL concepts included
  • Memory Management Smart Pointers Focus remains on raw pointers, new/delete

Who should take this exam?

This exam is typically taken by Software developers and Junior C++ programmers.

  • CPE – C++ Certified Entry-Level Programmer
  • Knowledge of basic programming concepts
  • Understanding of object-oriented programming
  • Completion of C++ Essentials 2 course

What jobs can I get with this?

Your Complete Exam Solution

Best-In-Class Practice Tests

Authentic, regularly updated questions that mirror the real exam. Verified, current material — not recycled dumps.

Topical Breakdown

Study by domain, pinpoint weak areas, and focus your time where it matters most. Every topic mapped to the official syllabus.

Flashcard Mode

Rapid-fire review to reinforce key concepts. Flip through questions and answers at your own pace before exam day.

See How You Compare Against Yourself

✕
✕
✕

Other Exam Prep

  • Outdated question dumpsRecycled, often inaccurate material
  • No explanationsMemorize answers without understanding
  • Static PDF filesNo interactive practice or feedback
  • Subscription feesRecurring charges, access expires
✓
✓
✓

PlanetCert

  • Verified, current questionsUpdated weekly to match live exam objectives
  • Expert-written rationalesUnderstand every concept, not just the answer
  • Session tracking & exam progressTrack every attempt, see your growth over time
  • Lifetime access, one pricePay once — updates included forever
CERTIFIEDCPA-21-02

Study Naturally, Study Responsibly

Join thousands of certified professionals who trusted PlanetCert to pass on the first attempt.

Try Free Demo
Secure Checkout Lifetime Access Money-back Guarantee