CPA – C++ Certified Associate Programmer

Here you have the best C++ Institute CPA-21-02 practice exam questions

  • You have 40 total questions across 8 pages (5 per page)
  • These questions were last updated on February 17, 2026
  • This site is not affiliated with or endorsed by C++ Institute.
Question 1 of 40

What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 1 - Image 1
Answer

Suggested Answer

The suggested answer is D.

Community Votes9 votes
DSuggested
56%
C
44%
Question 2 of 40

What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 2 - Image 1
Answer

Suggested Answer

The suggested answer is A.

Community Votes3 votes
ASuggested
100%
Question 3 of 40

What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 3 - Image 1
Answer

Suggested Answer

The suggested answer is B.

Community Votes2 votes
BSuggested
100%
Question 4 of 40

What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 4 - Image 1
Answer

Suggested Answer

The suggested answer is D.

Community Votes3 votes
DSuggested
100%
Question 5 of 40

What is the expected result of the following program?
Exam CPA-21-02: Question 5 - Image 1
Answer

Suggested Answer

The suggested answer is B.

Community Votes

No votes yet

Join the discussion to cast yours

About the C++ Institute CPA-21-02 Certification Exam

About the Exam

The C++ Institute CPA-21-02 (CPA – C++ Certified Associate Programmer) validates your knowledge and skills. Passing demonstrates proficiency and can boost your career prospects in the field.

How to Prepare

Work through all 40 practice questions across 8 pages. Focus on understanding the reasoning behind each answer rather than memorizing responses to be ready for any variation on the real exam.

Why Practice Exams?

Practice exams help you familiarize yourself with the question format, manage your time, and reduce anxiety on the test day. Our CPA-21-02 questions are regularly updated to reflect the latest exam objectives.