Test C++ - Fundamentals
Test C++ with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.
My Results
Test details
This test tackles a large part of the C++ programmation. It has been thought for juniors developers, but it still can be used for confirmed developers too, in order to brush up on it. Most of the questions are asked through examples. The themes you may find are the following :
- How to display and get values;
- Control structures;
- Functions;
- Array, Vector and String;
- Pointers and memory leaks.
You may find also themes of Object-Oriented Programing in C++, such as : - Declarations (classes, attributes, methods);
- Constructors and destructors;
- Operators overloading;
- Inheritance;
- Polymorphism.
Test author : Samuel Bacon
My name is Samuel Bacon, and I am studying in my final year at the Grenoble INP Ensimag engineering school. I specialize in mathematical modeling, image and simulation. As such, I regularly use programming languages such as C/C++, python or java. I have already had the opportunity for all these languages to accomplish different projects which helped me in writing these tests. The design of these MCQs allowed me to synthesize and consolidate my mastery of OOP and C++. During this last year of study I also chose a biomedical option to address themes in this sector that I appreciate.
You can find out more about my background on my LinkedIn page.
Sample question
Which statement(s) is (are) true ?
class A {
protected:
int x;
public:
A(int x) : x(x) {}
};
class B : public A {
private:
int y;
public:
B(int x, int y) : x(x), y(y) {}
};
Developers ratings
Recommended tests
- Our interview questions for developer
- Our interview questions for Développeur Back-end