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