CS201 quiz 1 2021.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS201 – Introduction to Programming
Faculty
Computer Science
Format
PDF
Type
Quiz
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

What this file covers — CS201 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS201 quiz 1 2021.pdf for free?

You can preview and download "CS201 quiz 1 2021.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-1-2021-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS201 file?

This document covers Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS201 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS201 solved past papers and handouts verified for 2026 exams?

Yes. All CS201 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                   CS201 updated quiz 2021
                   Searching file for quiz 1
                     ORANGE MONKEY TEAM

                                            98% confirm
1. Special name which is substituted in code by its definition and as a result we get an
   expanded code is called

                     Macro

2. A=a+1, can be written as ______________

           A+=1

3. The compiler generates ___________ automatically.

               Constructors

4. The data members of the class are initialized _____

              At runtime

           Explicitly write keyword private in the class definition
           Separate the interface and implementation
           The default constructor has no arguments
           Constructor has the same name as of class
           Initializing the data members in the definition of the class is a syntax error

5. ___________ for parameters is also done for inline functions.

                  Automatic type checking

6. An instance of a class is called ______________.

                Object
7. With the use of dynamic allocation of memory, the system resources can be ______.

                             Used efficiently

8. When we include the header file in the angle brackets the compiler searches for it in
   ___________.

                      Specific directory

9. ____________ is a special type of pointer we have to cast it before we use it.

                   Void

10. Multiplicative, additive and assignment operators are _________ operators
                             Binary

11. The memory allocation functions return a chunk of memory with a pointer of type
    __________.

                    Void

12. Default constructor takes __________.

                  No parameters

13. In a class we can have ____________ constructor(s).

                   Only one

14. Which one of the following is mandatory preprocessor directive for c++?

                    #include <isotream?

15. Header files provide ________ so the program running on one operating system can run
    without an error on the other system

              Accessibility

16. We should not use such variable names that are starting with _________ because in C++
    these are lots of internal constants and symbolic names that start with it.

                      Double underscore

17. Which of the following code segment represents a left shift operator?

                Result= number<<1

18. Which of the following code segment represent a bitwise And operator?

                          &

19. Which of the following code segment represent a bitwise OR operator?

                           I

20. Which of the following code segment represent a Bitwise Exclusive OR operator

                      ^

21. Which of the following code segment represent a NOT operator

                      ~

22. C++ was developed by _____________.

                Bejame stroustrup

23. For converting a void type pointer ptr into integer type, the correct syntax is:

                      int* ptr

24. A pointer with value NULL is defined in the header files ___________ and ________.

               Stdlib.h stddef.h

25. Constructor is a special function, called whenever we __________.

                          Instantiate an object of a class

26. Constructor is itself a _________ of C++ and _________.

               Function, can be overloaded

27. What is the other name of a variable?

                  Identifier
28. In shifting operations if zero is inserted at the left most bit, the negative number will become
    a _________ number.

                     Positive

29. A class is _________.

             User defined Data type

30. Bugs can occur due to _______.

             Uninitialized data

31. The heap memory structure _______.

      Constantly changes in size

32. How many bits from a byte?

            8

33. The function calloc takes two arguments, first argument is the _______ and the second
    argument is the ________.
                  Required space in terms of numbers, size of space

34. The main advantage of function overloading is that ________.

           The program becomes more readable

35. Marco are categorized into ______ type(S)

            Two

36. When we include the header file in the angle brackets the compiler searches for it in
    _______.

                      Specific directory

37. Class can be defined as

         A class includes both data members as well as functions to manipulate that data

38. ________ operator uses the sign ^

            Exclusive OR

39. For console input and output we use _______.

                conio.h header file

40. Header file provide _______ so the program running on one operating system can run
    without an error on the other system

             Portability

41. Constructor has _________.

            The same name as of class

42. The object code of our program is combined with the ______.

                Object code of the library functions

43. The malloc functions takes ________ argument(s)

            Two

44. The function overloading requires _______.

          The argument list to be different
45. Bugs can occur due to _________.

                Uninitialized data

46. The name of the destructor is the same as that of a class proceeding with a _______.

            ~sign

47. The main advantage of function overloading is that ________.

         The program becomes more reliable

48. Which function is used to delete the allocated memory space?
            Free

49. Symbolic constant PI can be defined as

            #define PI3, 14

50. Windows operating system may itself takes memory from _______.

                 Heap

51. All the preprocessors directive starts with _______.

                #

52. Which one of the following is used to perform bit-wise OR operator

            I

53. Constructor is itself a _______ of C++ and _______.

           Funtion, can be overloaded

54. RAID stands for ______.

        Redundant array of inexpensive devices

55. Object code is machine code but it is not ______ and _______.

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank