CPP Online Assessment Test

Topics covered

Classes in C++, Types of Constructor, Types of Deconstructor,Types of Iterators and Objects, OOPs concept

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

CPP Online Test has been designed and developed to evaluate the CPP language skills of software engineer as per Industry Standards.
CPP Test helps Recruiters & Hiring Managers to assess the understanding of CPP language of a software engineer.

CPP is a middle-level language which runs on a variety of platforms such as Windows, Mac OS and various versions of UNIX. Software Programmer should have good hands on basic programming languages used in Information Technology. Every language used in IT has its own basic form of structure which Software Engineer should understand. 

CPP assessment test contains meaningful questions on:

  • Classes in C++ 

  • Types of Constructor

  • Types of Deconstructor

  • Types of Iterators and Objects 

  • OOPs concept

CPP Test is designed by our subject matter experts to gauge understanding about CPP language of candidates to hire as a software engineer. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

This pre-employment test is useful for hiring:
  • Entry Level Software Engineer
  • CPP Developer

Test details:

CPP Online Test enables employers and recruiters to identify & hire software engineer by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

The test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.
Test Duration: 20 minutes

20 Application Questions

The CPP skills test contains a combination of application and theory questions that help you to evaluate the practical skills of candidates.

C++ Language Test

Question #1 of 3

The given code snippet compiles even when an integer is passed as an argument in func function, however, expected argument is of data type A. It's an example of conversion constructor, which makes code prone to error.

class A 
          int i;
          A(int k) { i = k;}
          int getA() { return i;}        
void func(A a)
    int i = a.getA();
int main ()


What keyword should be placed before the constructor to avoid the above error?

    • explicit

    • implicit

    • static

    • Both 1 & 3

    • Both 1 & 2

Question #2 of 3

Would the destructor be called in this code snippet? If yes, then due to which vector?

using namespace std;
class a
    public :
            cout << "destroy";
int main()
   vector *v1  = new vector;
   vector *v2  = new vector;
   return 0;

    • v1

    • v2

    • v1 and v2

    • no destructor call.

Question #3 of 3

Given below are few statements in the context of C++ program implementation:
1) In a class implementation, one should always overload new and delete operators.
2) One should always surround code which has a potential of throwing an exception with a try-catch block.
3) It is recommended to not modularize the program.

If b = number of statements indicating good practice and a = number of statements indicating bad practice, choose the correct relation between them.

    • b = 2a

    • a = b

    • a = 2b

    • a * 0 = b

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address

24.00 Out of 40.00
23 Minutes

Java EE




Oracle PL/SQL


Analytical Thinking


Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.


Java EE, Oracle PL/SQL, Analytical Thinking




It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Take your first step to hire job fit candidate


How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Take your first step to hire job fit candidate