Test Questions
- What is the usage of pointers to functions?
- What is a callback mechanism?
- What is a header file? What are the rules for distributing the source code between the header file and the implementation file?
- What is a namespace and what are the ways for accessing names from a specific space?
- What is a user-defined type and what are the syntax constructs for creating custom types?
- What is a structure (struct) and what are applications of structures?
- What are the disadvantages and advantages of linked lists compared to arrays?
- What is a class and what does it consist of in C++?
- What is encapsulation and how is it implemented in C++?
- What is the purpose of constructors and destructors? How to create and call the constructor? When are destructors called?
- How do static class members differ from non-static ones and when they are used?
- What is operation overloading and how is it implemented?
- What is the purpose of throwing and handling exceptions?
- What is inheritance and how is it implemented in C++?
- What are the advantages and disadvantages of multiple inheritance?
- What is the concept of polymorphism? How is compile-time polymorphism different from runtime polymorphism?
- What is a virtual function? How are virtual functions defined in C++?
- What is an abstract class and how to define it in C++?
- What are templates in C++ and what are the advantages of using them?
- What are the components of the Standard Template Library (STL)?
- What containers does the Standard Template Library provide?
- What is an associative array?
- What are iterators and how are they used in STL?
- What are functional objects and how are they used in C++ Standard Library algorithms?
- How does working with C++ modules differ from working with header files?