Site icon T4Tutorials.com

Advanced C++ multiple choice question

1. Basics of C++

  1. History and features of C++ MCQs
  2. Low-level and high-level languages MCQs
  3. Procedural and non Procedural languages MCQs
  4. C++ STANDARD LIBRARY MCQs
  5. Compilation and linking process — C++ MCQs
  6. Tokens, keywords, identifiers, and constants — C++ MCQs
  7. Data types and type modifiers — C++ MCQs
  8. Variables and scope (local, global, static, extern) — C++ MCQs
  9. Input and output (cin, cout, manipulators) — C++ MCQs
  10. Type conversion and casting — C++ MCQs

2. Operators and Expressions MCQs C++

3. Control Structures

  1. if, if-else, nested if — C++ MCQs
  2. switch-case — C++ MCQs
  3. Loops: for, while, do-while — C++ MCQs
  4. Jump statements: break, continue, goto, return — C++ MCQs

4. Functions

  1. Function definition and declaration — C++ MCQs
  2. Function arguments (pass by value/reference) — C++ MCQs
  3. Inline functions — C++ MCQs
  4. Default arguments — C++ MCQs
  5. Function overloading — C++ MCQs
  6. Recursion — C++ MCQs
  7. Scope and lifetime of variables in and outside funtions — C++ MCQs

5. Arrays and Strings

  1. One-dimensional and multi-dimensional arrays — C++ MCQs
  2. Character arrays (C-style strings) — C++ MCQs
  3. String handling functions (strlen, strcmp, etc.) — C++ MCQs
  4. std::string class and its functions — C++ MCQs
  5. Array  MCQs
  6. Arrays MCQs 2

6. Pointers

  1. Pointer declaration and initialization — C++ MCQs
  2. Pointer arithmetic — C++ MCQs
  3. Pointers and arrays — C++ MCQs
  4. Pointers to pointers — C++ MCQs
  5. Pointers to functions — C++ MCQs
  6. nullptr and dynamic memory management (new, delete) — C++ MCQs
  7. Pointers MCQs

7. Structures.

  1. Defining and using structures — C++ MCQs
  2. Nested structures — C++ MCQs
  3. Array of structures — C++ MCQs
  4. Pointer to structure — C++ MCQs
  5. typedef and enum — C++ MCQs

8. Object-Oriented Programming (OOP)

  1. OOP intro & examples MCQs
  2. Basic OOP concepts: class, object, encapsulation, abstraction, inheritance, polymorphism — C++ MCQs
  3. Defining classes and objects — C++ MCQs
  4. Access specifiers (public, private, protected) — C++ MCQs
  5. Constructors and destructors — C++ MCQs
  6. Copy constructor and assignment operator — C++ MCQs
  7. this pointer — C++ MCQs
  8. Static data members and member functions — C++ MCQs

9. Inheritance

  1. Types of inheritance (single, multiple, multilevel, hierarchical, hybrid) — C++ MCQs
  2. Base and derived class constructors/destructors — C++ MCQs
  3. Function overriding — C++ MCQs
  4. Virtual base classes and ambiguity resolution — C++ MCQs

10. Polymorphism

  1. Compile-time (function overloading, operator overloading) — C++ MCQs
  2. Run-time (virtual functions, pure virtual functions, abstract classes) — C++ MCQs
  3. Virtual destructors — C++ MCQs
  4. Dynamic binding and late binding — C++ MCQs

11. Operator Overloading

  1. Rules and syntax — C++ MCQs
  2. Overloading unary and binary operators — C++ MCQs
  3. Overloading using member and friend functions — C++ MCQs
  4. Limitations of operator overloading — C++ MCQs

12. Templates

  1. Function templates — C++ MCQs
  2. Class templates — C++ MCQs
  3. Template specialization (explicit and partial) — C++ MCQs

13. Exception Handling

  1. try, throw, and catch — C++ MCQs
  2. Multiple catch blocks — C++ MCQs
  3. Exception hierarchy — C++ MCQs
  4. Custom exceptions — C++ MCQs

14. File Handling

  1. File streams (ifstream, ofstream, fstream) — C++ MCQs
  2. Opening, closing, and reading/writing files — C++ MCQs
  3. Binary and text modes — C++ MCQs
  4. File pointers and random access — C++ MCQs

15. Standard Template Library (STL)

  1. Components of STL (Containers, Algorithms, Iterators) — C++ MCQs
  2. Sequence containers: vector, list, deque — C++ MCQs
  3. Associative containers: set, map, multiset, multimap — C++ MCQs
  4. Algorithms (sort, find, count, etc.) — C++ MCQs
  5. Iterators and iterator types — C++ MCQs

16. Advanced Concepts

17. Miscellaneous Topics

  1. Preprocessor directives (#define, #include, #ifdef) — C++ MCQs
  2. Command-line arguments — C++ MCQs
  3. Inline assembly (basic awareness) — C++ MCQs
  4. constexpr, mutable, volatile — C++ MCQs
  5. C++11, C++14, C++17, C++20 features overview — C++ MCQs
  6. Top 50 Programming  C++ MCQs 
  7. MCQs of introduction to programming
  8. Past Papers 2022 C++ MCQs
  9. Past Papers 2021 C++ MCQs
  1. Top 50 Programming  C++ MCQs 
  2. MCQs of introduction to programming
  3. Past Papers 2022 C++ MCQs
  4. Past Papers 2021 C++ MCQs
  5. Highly Recommended C++  Important MCQs with Explanation
  6. OOP intro & examples MCQs
  7. Classes and Inheritance MCQs
  8. Friend Function MCQs
  9. Virtual Function MCQs
  10. Polymorphism MCQs
  11. Polymorphism MCQs 2
  12. Operator overloading MCQs

Highly Recommended C++  Important MCQs with Explanaton

shamil memory table

Computer Science Repeated MCQs Book Download
Exit mobile version