CS201 Quiz-1 File By Vu Topper RM.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 File By Vu Topper RM.pdf for free?

You can preview and download "CS201 Quiz-1 File By Vu Topper RM.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-1-file-by-vu-topper-rm-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

CS-201 Introduction To Programming
Update MCQS For Quiz-1 File
Solve By Vu Topper RM
     80 To 100% Marks

If j=10 and x = ++j, then the value of x will be _____________.
A. 10
B. 11
C. 12
D. 9

__________ operator is used to pass the address of a variable in call by
reference method.
&
@
%
+

For breaking complex problems into smaller pieces we use _______.
A. Loops
B. Break statement
C. if/else
D. function

If a function has not been declared before its definition, it is a ----------.
A. Late binding error
B. run time error
C. logical error
D. syntax error

For the given function prototype, which of the given function calls is
appropriate/correct.float add(int);
A. add(int x);
B. add(&x);
C. add(x);
D. add(*x);

In if structure the block of statements executes when the condition is
_____.

   For More Help Contact What’s app 03224021365

A.    True
B.    False
C.    Contains arithmetic operator
D.    Contains logical operator

When No. of repetition is known then we use the _______ structure to
perform repetition tasks.
A. Do while loop
B. For loop
C. While loop
D. Switch

Compiler translates high level language program into _________
language code.
   A. C
   B. C#
   C. Java
   D. Machine

First step in designing a program is __________.
A. linking
B. compling
C. coding
D. analysis

x+=2 means
  A. x = x + x
  B. x = 2 + 2
  C. x = x + 2
  D. x + 2 = 2

&& is a ___________ operator.
A. Arithmetic
B. Mathematical

     For More Help Contact What’s app 03224021365

C.    Relational
D.    Logical

Modulus operator (%) is only used with ____________ type of
operands.
A. float
B. double
C. char
D. int

" < " and " > " both are _________ operators.
A. Logical
B. Mathematical
C. Relational
D. Arithmetic

Which step is not performed during a proper program design?
A. Write details about the performance of program
B. Formulate statements and comments in a precise language
C. Pay attention to detail
D. Analyze a problem statement, typically expressed as a word
problem

Find the syntax error in the following piece of code? if ( x > y);
cout<<” x is greater than y “; else cout<<”y is greater than x”;
A. Condition in the if statement is wrong
B. No error in the code
C. Braces not given for if and else blocks
D. Semicolon should not be after the if statement

The result of 4 % 3 will be
A. 1
B. 1.5
C. 2

     For More Help Contact What’s app 03224021365

D.    1.33

What will be the output of the following program?void car() {cout <<
"Honda";}int main() {Car();}
A. Car
B. Syntax Error
C. Honda car
D. Honda

Loops are _______________ Structure
Decision
Repetition
Sequential
None of the given options

While programming, how many skills should a programmer focus on?
A. 2
B. 5
C. 4
D. 3

If int a = 50; then the value of a/= 3; will be,
17
16
15
18

What will be the output of the following while loop?int counter = 0
;while(counter < 15)cout << counter << “ ”;counter++;
A. 1 2 3 4 5
B. Infinite loop
C. Compile time error
D. 1 2 3 4

     For More Help Contact What’s app 03224021365

The ASCII code of null character is___________.
000
111
010
110

What will be the output of following code segment?for (int i = 2; i<10;
i++){ if ( i == 5) continue; cout << i << "," ;}
A. 4,6,7,8,9,
B. 2,3,4,
C. 2,3,7,8,9,
D. 2,3,4,6,7,8,9

Telling a computer what to do, is called ________.
A. Designing
B. Compiling
C. Implementing
D. Programming

A while loop may execute ________or more times.
A. 0
B. 1
C. 2
D. 3

Which of the following is not the subcategory of the system software?
A. Utilities
B. Application software
C. Device drivers
D. Operating system

   For More Help Contact What’s app 03224021365

What is the output of the following code if the 2nd case is true switch
(var){case ‘a’:cout<<”apple”<<endl;case
‘b’:cout<<”banana”<<endl;case
‘m’:cout<<”mango”<<endl;default:cout<<”any fruit”<<endl;}
A. none of the above
B. banana mangoany fruit
C. bananaany fruit
D. banana

In C/C++, a variable’s name can start with the symbol ____________.
A. + Plus
B. ; Semicolon
C. _ Underscore
D. : Colon

______ Loop executes atleast one times.
For
Inner
While
Do while

X is an integer variable; what does X++ means,
None of these
Add 2 in X value
Add 1 in X value
Add 1 two times in X value

Learning to program is important because it develops _______ and
_______ abilities.
A. Analytical, Problem solving
B. Reading, Problem solving
C. Reading, Writing
D. Analytical, Writing

   For More Help Contact What’s app 03224021365

Switch statement can be used in place of _________ statement.
A. Multiple if
B. continue
C. go to
D. break

What will be the result of arithmetic expression 5+25/5*5?
A. 45
B. 6
C. 9
D. 30

Why we use "cout"?
A. To display output on the console screen
B. None of the given options
C. To read data from keyboard
D. To send data to printer

A repetition statement specifies that an action is to be continued while
some_______ remains true.
Control
Operator
Condition
Assignment

If we pass more than one arguments to a function then they are
separated by ___________.
Colon :
Comma ,
Semicolon ;
Double quotes "

   For More Help Contact What’s app 03224021365

In C++, what will be the highest index of the following array?int
array[15];
13
14
15
16

Which of the following is the right syntax to declare a variable in C++?
DataType VariableName;
VariableName Datatype;
DataType = VariableName;
(DataType) VariableName;

What will be the resultant value of this expression x = 17 % 3 ?
A. 3
B. 4
C. 1
D. 2

The most suitable data type for number 325.25 is ______.
A. char
B. float
C. int
D. short

Switch support_______________ data
Int
Char
Float
Both integer and character

___________ are used to translate the code of our program into
machine language.
A. Editors

   For More Help Contact What’s app 03224021365

B.    Debuggers
C.    Linkers
D.    Compilers

If y = 20 and z = y++, then the value of z will be ____________.
A. 20
B. 19
C. 22
D. 21

!( x > 3) means in C++ that
   A. x is equal to 3
   B. x is less than 3
   C. x is greater than 3
   D. x is less than or equal to 3

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank