ua

Test Questions

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

 

 

up