All Exam Questions
CPA-21-01C++ InstituteBeginner

C++ Certified Associate Programmer (CPA)

Last updated on Oct, 16 2026

Practice Test 1

Intermediate
50 Questions• 45 minutes

What the CPA Certification Is

The C++ Certified Associate Programmer (CPA) is a certification from the C++ Institute, part of OpenEDG, that tests whether you can write and read working C++ code and apply the basics of object oriented programming. It suits students, junior developers, and self taught programmers who already know introductory C++ and want independent proof of their skills in pointers, classes, inheritance, and exceptions. The active exam version is CPA-21-02.

Which Exam Version Is Current

Exam codes in this program follow the pattern CPA-21-0x, where the last digit marks the version. The provider lists CPA-21-02 as active and CPA-21-01 as retired. Study material written for the older version may still be useful, but check it against the current syllabus. Someone who passed CPA-21-01 cannot retake that version, but may sit CPA-21-02.

Purpose of the Exam

The provider describes the CPA as verifying that you can write correct and efficient C++ programs, apply fundamental programming techniques, and use object oriented principles. It sits in the middle of the C++ Institute path. CPE is the entry level certification below it and CPP is the professional certification above it. The provider lists no prerequisites for the CPA, so CPE is a useful stepping stone but not a requirement.

Exam Structure and Scoring

The exam has 40 questions in single choice and multiple choice formats, delivered in English. You get 65 minutes, and the appointment also includes roughly 10 minutes for the non disclosure agreement and tutorial. Exams are delivered through Pearson VUE, either at a testing center or by OnVUE online proctoring.

Scoring is weighted. Each question carries its own point value based on difficulty and importance, and candidates can earn up to 200 points. The total is converted to a percentage, and you need 70% or higher to pass. The result is not an average of block scores, so a weak block can be offset by strong results elsewhere.

Syllabus Breakdown

The syllabus has five blocks. The weights below come from the provider’s published objectives.

Block 1, Types and Operators (9 items, 24.5%). Operator precedence and associativity, the ternary operator, standard types and ranges, literals, std::string operations, arrays, vectors, structures, unions, enums, type conversion, and declaration modifiers such as const and static.

Block 2, Control and Exceptions (8 items, 18%). Conditionals, loops, switch statements, break, continue, goto, return, and exception handling with try, catch, and throw, including exception hierarchies.

Block 3, Functions and Preprocessor Directives (9 items, 17.5%). Function definition and invocation, overloading, default parameters, passing by value, reference, and pointer, recursion, conventions for main(), conditional compilation, and macros.

Block 4, Pointers (4 items, 11%). Declaring and dereferencing pointers, pointer arithmetic, and dynamic memory with new, delete, and delete[], including avoiding memory leaks.

Block 5, Classes and Namespaces (10 items, 29%). The largest block. It covers constructors and destructors, operator overloading, single and multiple inheritance, virtual functions, static_cast and dynamic_cast, friend classes, const members, and namespaces.

Block 5 and Block 1 together carry more than half of the weight, and Block 4 is the smallest. Even so, pointer and memory questions often appear inside class and function code, so the pointer topics are worth knowing well.

Registration Process

Registration runs through the C++ Institute’s Pearson VUE candidate site. You can schedule online, call Pearson VUE, or contact an authorized test center. Exams must be scheduled at least 24 hours ahead. Vouchers are sold through the OpenEDG Voucher Store, and credit or debit cards are also accepted. Test centers require valid identification that matches your registration name, and OnVUE includes an identity check and workspace photos at check in. Read the current policies on the official site before booking, because fees, voucher terms, and ID rules can change.

What the Certification Signals

A CPA tells an employer that you can read and write core C++ and work with its object oriented features, rather than only knowing syntax. C++ remains common in systems programming, embedded software, game development, and performance sensitive applications, so the credential is most relevant if you are aiming at those areas. It is an associate level credential, so it supports an entry or junior profile and shows readiness for the professional level CPP. It does not replace project experience.

Preparing with Practice Tests

Most CPA questions ask you to read code and decide what it does or why it fails, so repeated practice with code snippets helps more than rereading notes. The free practice tests on AllExamQuestions.com can help you find weak blocks before you book. Use them to check understanding, not to memorize answers. The provider’s code of conduct prohibits brain dump materials, so choose study resources that teach the concepts.

Topics Covered
C++ Language Fundamentals (syntax, data types, variables, operators, expressions)20%
Control Flow and Program Logic (conditional statements, loops, decision making)18%
Functions and Program Organization15%
Object-Oriented Programming (classes, objects, constructors, encapsulation, inheritance, polymorphism)22%
Arrays, Strings, Pointers, and Memory Management13%
Exception Handling, Standard Library, Templates, and Preprocessor Directives12%

C++ Certified Associate Programmer (CPA-21-01) Certification Guide

Exam code
CPA-21-01
Duration
65 minutes
Number of questions
Approximately 55
Cost
From US$325 (Exam only) / From US$375 (Exam + Retake)
Certification body
C++ Institute
Validity
lifetime

Student Success Stories

Hear from those who passed with our practice tests

“"The practice exams closely matched the official objectives and helped me identify the programming concepts I needed to strengthen. Reviewing my results after each attempt made my preparation much more organized."”

A

Ahmed

Software Engineering Student

“"I appreciated the wide variety of coding and concept-based questions. The practice exams improved my confidence with object-oriented programming, pointers, and exception handling."”

J

Janani

unior C++ Developer

“"The multiple full-length practice exams helped me become comfortable with the exam format and time management. I was able to focus on my weaker topics before scheduling the certification."”

I

Ishitha

Computer Science Graduate

“"The questions covered everything from C++ fundamentals to classes, functions, templates, and the Standard Library. It was an excellent way to measure my readiness throughout my preparation."”

UY

Umesh Yadav

Aspiring Software Engineer

“"The structured practice approach made it easier to track my progress week after week. I especially liked the balanced coverage of programming fundamentals and modern C++ concepts, which helped me feel prepared for the certification exam."”

M

Marina

Entry-Level Programmer

Frequently Asked Questions

C++ Certified Associate Programmer (CPA)

Last updated on Oct, 16 2026

Exam CodeCPA-21-01
Exam NameC++ Certified Associate Programmer (CPA)
Exam Questions50
Last UpdatedOct, 16 2026