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

You can preview and download "CS201 Quiz-2 By Vu Topper RM.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-2-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-2 File
Solve By Vu Topper RM
     80 To 100% Marks

Question No:1               (Marks:1)               Vu-Topper RM
To read command line argument the main() function itself must be
given—
   A. 1
   B. 2
   C. 3
   D. 4

Question No:2                   (Marks:1)               Vu-Topper RM
eof is used to check for the ________ of file when a file is being read.
   A. Start
   B. End
   C. Middle
   D. Name

Question No:3                (Marks:1)                 Vu-Topper RM
The ASCHI code of null character is __________.
  A. 000
  B. 010
  C. 111
  D. 110

Question No:4             (Marks:1)              Vu-Topper RM
_______________________ contains functions for manipulations of
character data.
  A. Ctype.h
  B. Iostream.h
  C. String.h
  D. None of the given

Question No:5                   (Marks:1)              Vu-Topper RM
At the design phase, we try to break up the problem into __________.
   A. Small units
   B. Functional units

   For More Help Contact What’s app 03224021365

  C. Non-functional units
  D. None of the given

Question No:6                     (Marks:1)             Vu-Topper RM
From the following; hich one is the correct syntax of an array
declaration: array size 5 and it is of float data type?
  A. float [5] name;
  B. name [5] float;
  C. float name[5];
  D. None of the given options

Question No:7                 (Marks:1)            Vu-Topper RM
char name [] ="Hello World";
In the above statement, a memory of __________ charaters will be
allocated.
   A. 13
   B. 11
   C. 12
   D. 10

Question No:8                    (Marks:1)            Vu-Topper RM
Each array declaration must provide the information about all these
things except __________.
   A. Name of the array
   B. Type of data stored in the array
   C. The location of the first element to be stored
   D. Number of elements of the array

Question No:9               (Marks:1)                Vu-Topper RM
When we access a multidimensional array, each array index is
surrounded by __________.
   A. Single quotes ''
   B. Double quotes ""
   C. Brackets []

   For More Help Contact What’s app 03224021365

  D. Commas ,,

Question No:10                   (Marks:1)              Vu-Topper RM
In the case of pointer to pointer or __________, the first pointer
contains the address of the second pointer, which contains the address
of the variable, which contains the desired value.
   A. Different
   B. Float and double
   C. Single dereference
   D. Double dereference             Page 175

Question No:11              (Marks:1)               Vu-Topper RM
Whenever some number is added in an array name, it will jump as
many __________ as the added number.
  A. Rows
  B. Value
  C. Column
  D. None of the given

Question No:12                 (Marks:1)            Vu-Topper RM
The statement cout << yptr will show the __________the yptr points to.
  A. Value
  B. Variable
  C. None of given
  D. Memory Address

Question No:13                (Marks:1)              Vu-Topper RM
char **argv can be read as__________________.

  A. Pointer to Pimter
  B. Pointer to Char
  C. Pointer to Pointer to Char           Page 177
  D. None of given

   For More Help Contact What’s app 03224021365

Question No:14               (Marks:1)             Vu-Topper RM
______are conventional names of the command line parameters of the
‘main()’ function.
  A. ‘argb’ and ‘argv’
  B. ‘argc’ and ‘argv’
  C. ‘argc’ and ‘argu’
  D. None of Given

Question No:15                 (Marks:1)                Vu-Topper RM
___________ Returns true if c is a digit and false otherwise.
  A. int isalpha( int c )
  B. int isalnum( int c )
  C. int isxdigit( int c )
  D. int isdigit( int c )

Question No:16                  (Marks:1)           Vu-Topper RM
dereferencing operator is represented by _______
   A. +
   B. *
   C. –
   D. None

Question No:17                (Marks:1)              Vu-Topper RM
In_________, we try to have a precise problem statement
   A. Analysis
   B. Design
   C. Coding
   D. None of the given

Question No:18               (Marks:1)              Vu-Topper RM
To read command-line arguments, the main() function itself must be
given ___________ arguments.
   A. 2

   For More Help Contact What’s app 03224021365

  B. 3
  C. 1
  D. 4

Question No:19                 (Marks:1)           Vu-Topper RM
For the following statement, how much memory will be allocated to
myarray[0] Char*myarray[] = {“arif”,”sadia”}
  A. 5 bytes
  B. 4 bytes
  C. 3 bytes
  D. 1 bytes

Question No:20                  (Marks:1)              Vu-Topper RM
Following is the declaration of a __________ array. int arr[2][2];
  1. 1 dimensional
  2. 2 dimensional
  3. 4 dimensional
  4. 3 dimensional

Question No:21                 (Marks:1)              Vu-Topper RM
A file opened with ____ is used for input and cannot be used for output.
  A. Ifstream                Page 220
  B. Ostream
  C. Istream
  D. Fstream

Question No:22                   (Marks:1)            Vu-Topper RM
A structure is a collection of _____________under a single name.
  A. Array
  B. Pointer
  C. Datatype
  D. Variables

   For More Help Contact What’s app 03224021365

Question No:23                 (Marks:1)            Vu-Topper RM
Following is an array of ____ rows and _____ columns. int num[3][4];
  A. 4 and 4
  B. 3 and 4
  C. 4 and 3
  D. 3 and 3

Question No:24                  (Marks:1)           Vu-Topper RM
What is output of following code?
Int data [10] = {10,20,30,40,50,60,70,80,90,100};
Int*xptr=&data[4];
Int *xptr =&data [6];
Cout< < xptr+yptr++;?
   A. 120
   B. 110
   C. 115
   D. 125

Question No:25                  (Marks:1)           Vu-Topper RM
What will be the output of following program?
Int data[10]=[10,20,30,40,50,60,70,80,90,100];
Int*yptr=&data[5];
Cout<<++yptr
   A. 61
   B. 51
   C. 60
   D. 52

Question No:26                  (Marks:1)            Vu-Topper RM
What will be the output of the following code segment?
Char myName[]=”student ID”;
Int n=sizeof(myName);
Cout<<n;

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank