NSCT – Programming (C++/Java/Python) MCQs

Syllabus – Total Marks: 10%

  1. Programming Fundamentals
  2. Data Types & Variables
  3. Operators & Expressions
  4. Control Structures
  5. Functions / Methods
  6. Input / Output Handling
  7. Strings & Text Processing
  8. Arrays & Collections
  9. Object-Oriented Programming (OOP)
  10. Memory Management Concepts
  11. Exception & Error Handling
  12. Modules, Packages & Libraries
  13. Advanced Programming Concepts
  14. Concurrency & Parallelism (Introductory)
  15. Debugging, Testing & Optimization
  16. 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++

  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
All Copyrights Reserved 2025 Reserved by T4Tutorials