T4Tutorials .PK

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
Exit mobile version