CPA-21-0x practice examsIn development
C++ Certified Associate Programmer
The only C++ certification ladder there is: declarations read outwards with const binding, the signed and unsigned trap, pointers against references and array decay, the three storage durations with matched allocation and RAII, functions and templates; then classes with the member initialiser list and the rule of three, virtual dispatch and the virtual destructor rule, object slicing, operator overloading and streams, and the containers, iterators and exception behaviour of the standard library.
What you get
Papers are cut from the bank and weighted like the real exam, and no question appears in two of them. Every wrong answer comes back on later days until you have it right.
What the exam covers
| Language fundamentals, memory and functions | Not published |
| Classes, inheritance, operators and the standard library | Not published |
Two sample questions
1. A pointer is used after the object it referred to has been deleted. What is that called, and what is the consequence?
Show the answer
A. Deleting an object does not change any pointer to it, so the pointer still holds an address that is no longer valid. Reading or writing through it is undefined behaviour, which can appear to work until the allocator reuses the memory.
2. When is a destructor called?
Show the answer
D. The destructor runs when the object's lifetime ends, releasing whatever resources it holds.
The real CPA-21-0x exam
| Length | 65 minutes |
|---|---|
| Questions | 40 |
| Pass mark | 70% |
| Exam fee (paid to the vendor) | Purchased per attempt through OpenEDG and Pearson VUE |
| Recommended before you sit it | None enforced. Basic programming experience is assumed. |
| Valid for | Does not expire |
Exam facts as published by C++ Institute; always check the vendor’s page before you book.
Study CPA-21-0x with Chiron
This course is still being built: the questions and notes are usable, but we have not finished checking them against C++ Institute’s own training. Leave your email and we invite you as soon as it is done.