Programming

Theoretical and Practical C++ Language Test

Evaluates C++ knowledge and coding in 90 minutes at an intermediate level. It has 20 theory questions on pointers, memory and object-oriented features, plus 3 programs the candidate writes.

Difficulty

Intermediate

23

questions

Time limit of

90

mins

English

About this test

The theory questions mix reading short C++ snippets (what does this print, which line fails) with concept questions. The practical part has the candidate write three programs that process arrays and print patterns, so you see both knowledge of the language and the ability to use it.

What it measures

  • Pointers and memory: address operator, releasing allocated memory, the this pointer

  • Macros and operator precedence in #define expressions

  • Virtual functions, copy constructors and copying a pointer instead of an object

  • Exception handling and the STL container classes list, set, map and vector

  • Writing a program that builds a histogram from an array

  • Writing programs that print a letter X of size n and find the longest consecutive run

Ideal for

  • C++ developers at an intermediate level

  • Roles that need both language knowledge and coding ability

  • Systems

  • Application programming that use C++

Details

Programming

Difficulty

Intermediate

Time limit of

90

mins

C++

English

23

questions

Average duration:

0

min

20

times completed