Thursday 10 March 2016

Job Interview Questions - C++

1. How to prevent a user from creating a class instance on the stack?

2. How to prevent a user from creating a class instance on the heap?

3. Smart pointers

4. C++ 11 features

5. Data structures:

map, unordered_map;

hash table, red-black tree;

Issues with hash table

6. Virtual table

- class or instance owned?

7. Usage of function pointers


Thursday 3 March 2016

Wednesday 2 March 2016

Computer Graphics Questions in Job Interview

1. When does Depth-Test take place in the openGL graphics pipeline? 

    (Before fragment shader, or after, or can be both?

2. What is the cause of Gimbol Lock?


3. Given two lines in a 3D space, how to calculate the distance between them?