CS201 Mrged Quiz file finl trm-1.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 Mrged Quiz file finl trm-1.pdf for free?

You can preview and download "CS201 Mrged Quiz file finl trm-1.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-mrged-quiz-file-finl-trm-1-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-Introduction to
                             Programming
                               (Solved Macq’s)
                           LECTURE FROM
                              (23 to 45)
Junaidfazal08@gmail.com       FOR MORE VISIT      JUNAID MALIK
Bc190202640@vu.edu.pk
                             VULMSHELP.COME       0304-1659294

   AL-JUNAID INSTITUTE GROUP
\\Introduction to
Question no.1
        Which of the following function call is “call by Reference” for the
        following function prototype?
      a. Func(&num)
      b. Func(name)

      c. A&b

      d. None of the given option

     Question no.2
          When break statement is encountered in switch
          statement,it
       a. Exits from switch statement
       b. enter from switches statement
       c. both a&b
       d. none of the given option

     Question no.3
     The operator ++ and – used to increment or decrement the value of
     a variable by
         a.3
        b.2
        c. 1
        d.4

     Question no.4

   AL-JUNAID INSTITUTE GROUP
Which of the following operator is used to access the value of
variable pointed by a pointer?
    a. *operator
    b.->operator
   c. &&operator
   d. & operator

Question no.5
In case of single dereferencing the value of the_     is the address of
the

  a. Pointer ,variable
  b. pointer, constant
  c. variable, pointer
  d. constant, pointer

Question no.5
The remainder(%) operator is a _          operator.
 a. logical
 b. Arithmetic
 c. Relational
 d. Conditional

Question no.6
What will be the output of the following code?
Intx=10;
Cout<<”x=”<<x;
  a. x=10
  b. 10
   c. 10=x

Question no.7
The perpose of using cout<<is to

AL-JUNAID INSTITUTE GROUP
 a. Read the data from keyboard
 b. Read the data from file
 c. Write into a file
 d. Display information on the screen

Question no.8
When an array element is passed to function, it is passed by _   _
 a.reference
 b. data type
 c. value
 d. data

Question no.9
.C is a/an  _language.
Ans.function oriented

Question no.10
      of a function is also known as signature of a function.
  a.
  b. Declaration
  c.
   d.

Question no.11
While programming,it is good to provide an easy to understand and
easy to use interface; this programming skill is called  _
  a. Scalability
  b. Reliability
  c. sustainability
  d. usability

Question no.12
How many dimensions does n-dimensional array has?

   AL-JUNAID INSTITUTE GROUP
  a. 2n dimension
  b. (n+1) dimension
  c. (n-1) dimension
  d. n dimensions

Question no.13
Which of the following function call is”call by reference” for the
following function protocol?
Void func(int*)
 a. func(int&num)
 b. func(&num)
 c. func(*num)
 d. func(num)

    Question no.14
    The loop which is most suitable to be used when the number of
    iteration is known is called
    a. for
    b. while
    c. do-while
    d. all looping processes require that the iterations be known

Question no.15
 In C/C++, the string constant is enclosed in_    _
 a. curly braces()
 b. parentheses()
 c. single quotes’ ’
 d. double quotes” “

Question no.16
 In order to get the right most digit of a number, we divide this
number by 10 and take        _
   a. Its remainder

AL-JUNAID INSTITUTE GROUP
  b. Its quotient
  c. Its divisor
  d. The number

Question no.17
 What is the correct syntax to declare an array of size 10 of int data
type?
      int[10] name;
      name[10] int;
   c. int name[10];
   d. int name[];

Question no.18
How many bytes of memory are occupied by array’star’?
 Char str[]=”programming”;
 a. 10
 b. 11
 c. 12
 d. 13

Question no.19
When the if statement consist more than one statement then
enclosing these statement in curly braces is,
    Not required
    Good programming
    Relevant
 d. Must

Question no.20
Suppose that an integer type pointer contains a memory address
0x22f230. What will be the new memory address if we increment
this pointer by one?
 a. 0x22f231

   AL-JUNAID INSTITUTE GROUP
b. 0x22f234
c. 0x22f226
d. 0x22f238

Question no.21
Which of the following if missing would result in infinite recursion in
case of recursive function?
 a. Recursive call
 b. Base case
 c. Function parameters
 d. Local variables

Question no.22
Whenever we use a library function or a predefined object or macro,
we need to use a_   _
  a. Source file
  b. Object file
  c. header file
  d. exe file

Question no.23
Switch statement deals with _ _type of data
  a. Integer
  b. Float
  c. Character
  d. Both Integer and Character

Question no.24
All a template function must have at least        _ generic dats tyoe?
   a. Zero
   b. One
   c. Two
   d. Three

AL-JUNAID INSTITUTE GROUP
Question no.25
Which one of the following is the declaration of overloaded pre-
increment operator implemented as number of function?
   a. Class-name operator+()
   b. Class-name operator+(int)
   c. Class-name operator++()
   d. Class-name++operator++(int)

Question no.26
Class is a user defined   _.
   a. Data type
   b. Memory reference
   c. Value
   d. None of the given option

Question no.27
How many bytes will the pointer intPtr of type int move in the
following statement? intPtr+=3;
   a. 3 bytes
   b. 6 bytes
   c. 12 bytes
   d. 24 bytes

Question no.28
Which of the following is the correct C++ syntax to allocate space
dynamically for an array 10 int?
  a. new int(10);
  b. new int[10];
  c. int new(10);
  d. int new[10];

Question no.29

   AL-JUNAID INSTITUTE GROUP
A pointer is a special variable that contain
   a. Data values
   b. Memory address
   c. Both data and value
   d. None of the given option

Question no.30
Reference Value Type Data the code is written to
  a. Implement
  b. Design
  c. Analysis
  d. None of the given option

Question no.31
Operator overloading can be performed through
  a. Classes
  b. Operator
  c. Function
  d. Reference

Question no.32
When a value is referred by a normal variable then it is known as,
  a. Direct reference
  b. Indirect reference
  c. Partial reference
  d. Proper reference

Question no.33

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank