Tests4Geeks Skills Test
C++ Online Testing
Test Programming Skills & Knowledge

C++ Programming Test

Total 20 Questions, Maximum 60 Minutes, For Mid Level Programmers

Online test includes:

C++ v.14  -  20 Questions

  • Fundamentals: References & Pointers, Const Correctness, Explicit
  • Standard Library
  • Class Design, Overloading
  • Virtual Functions, Polymorphism, Inheritance
  • Memory Management, Exception Safety
  • Miscellaneous: Perfect Forwarding, Auto, Flow Control, Macros

Carefully Crafted by Professionals

Sample Question

What is the output of the following C++ code?

Sample C++ Question


Answer 1
Answer 2
Answer 3
Answer 4

The correct answer is 1.

Want more question examples?

Check out the blog article 10 Proven C++ Interview Questions.


1. Are the same questions given to each candidate?

Yes, but we feel this is absolutely necessary to ensure that the testing process is fair.

By giving each candidate the same questions, we ensure that the difficulty of C++ quiz is the same for all the candidates.

However candidates won’t be given these questions and answers in the same order, so no one can cheat by memorizing answers in advance.

2. How should I read the results of the exam?

The first and most important thing you need to consider is this:

This C++ online test is not about finding great candidates.

This test is about weeding out bad ones.

Imagine you give this C++ interview test to a batch of five candidates and they come back with scores of 35, 45, 60, 65, and 80 out of 100.

Obviously you’d want to invite the 80 to an interview (and avoid the 35 like the plague)...


Half-right: what you should do instead is invite the three best candidates to an interview, i.e. the 60, the 65, and the 80.

Keep in mind that your final hiring decision should depend on many factors. In addition to fundamental skills and knowledge, you probably want to consider attributes such as overall professional experience and the ability to work as part of a team.

In short, you simply can’t judge whether a candidate is a good fit for your company based on skill test scores alone!

3. C++ Quiz vs. Coding Test

We feel that the fairest way to administer our technical tests is to present questions in a multiple-choice format or quiz, rather than requiring test takers to write code.

There may be many right ways to solve a C++ coding problem, but our questions ensure that the knowledge test scores are always objective.

Further, it would be impractical for us to test every block of code submitted.

4. What is difficulty level of the test?

We created our C++ exam mainly for screening mid-level developers, i.e. developers of average competence who are neither newbies to C++ programming nor masters.

This isn’t to say you can’t use it to test junior developers, but you’ll have to lower your acceptance score in order to accommodate for their lower skill level.

Likewise, you can also use it to test senior developers if you want, but you should raise your acceptance score, since a more experienced developer should obviously be able to get more questions right.