Syllabus – Total Marks: 10%
- Programming Fundamentals
- Data Types & Variables
- Operators & Expressions
- Control Structures
- Functions / Methods
- Input / Output Handling
- Strings & Text Processing
- Arrays & Collections
- Object-Oriented Programming (OOP)
- Memory Management Concepts
- Exception & Error Handling
- Modules, Packages & Libraries
- Advanced Programming Concepts
- Concurrency & Parallelism (Introductory)
- Debugging, Testing & Optimization
- Software Development Practices
Test is conducted by HEC and Virtual University of Pakistan and following topics will be covered for 10% marks.
More Helping MCQs for detailed preparation
1. Basics of C++
- History and features of C++ MCQs
- Low-level and high-level languages MCQs
- Procedural and non Procedural languages MCQs
- C++ STANDARD LIBRARY MCQs
- Compilation and linking process — C++ MCQs
- Tokens, keywords, identifiers, and constants — C++ MCQs
- Data types and type modifiers — C++ MCQs
- Variables and scope (local, global, static, extern) — C++ MCQs
- Input and output (cin, cout, manipulators) — C++ MCQs
- Type conversion and casting — C++ MCQs
2. Operators and Expressions MCQs C++
3. Control Structures
- if, if-else, nested if — C++ MCQs
- switch-case — C++ MCQs
- Loops: for, while, do-while — C++ MCQs
- Jump statements: break, continue, goto, return — C++ MCQs
4. Functions
- Function definition and declaration — C++ MCQs
- Function arguments (pass by value/reference) — C++ MCQs
- Inline functions — C++ MCQs
- Default arguments — C++ MCQs
- Function overloading — C++ MCQs
- Recursion — C++ MCQs
- Scope and lifetime of variables in and outside funtions — C++ MCQs
5. Arrays and Strings
- One-dimensional and multi-dimensional arrays — C++ MCQs
- Character arrays (C-style strings) — C++ MCQs
- String handling functions (strlen, strcmp, etc.) — C++ MCQs
- std::string class and its functions — C++ MCQs
- Array MCQs
- Arrays MCQs 2
6. Pointers
- Pointer declaration and initialization — C++ MCQs
- Pointer arithmetic — C++ MCQs
- Pointers and arrays — C++ MCQs
- Pointers to pointers — C++ MCQs
- Pointers to functions — C++ MCQs
- nullptr and dynamic memory management (new, delete) — C++ MCQs
- Pointers MCQs
7. Structures.
- Defining and using structures — C++ MCQs
- Nested structures — C++ MCQs
- Array of structures — C++ MCQs
- Pointer to structure — C++ MCQs
- typedef and enum — C++ MCQs