49192415-Almost-300-Solved-MCQs-of-CS201-Introduction-To-Programing.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum 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
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ, SOLVED

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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 49192415-Almost-300-Solved-MCQs-of-CS201-Introduction-To-Programing.pdf for free?

You can preview and download "49192415-Almost-300-Solved-MCQs-of-CS201-Introduction-To-Programing.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/49192415-almost-300-solved-mcqs-of-cs201-introduction-to-programing-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 Full Course Curriculum 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

                      http://vujannat.ning.com
                      Best Website To Help VUStudents

     Almost 300 Solved MCQs of CS201
                                           By

Default constructor takes _________.

one parameter
two parameters
no parameters
character type parameter

All the preprocessors directives start with ________.

$
&
#
_

The members of a class declared with the keyword struct are _____________by default.

static
private
protected
public

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

We cannot use ______________ pointer for storing and reading data from it.

NULL
integer
double
zero

                                                                                       1
                      http://vujannat.ning.com
                      Best Website To Help VUStudents

                       http://vujannat.ning.com
                       Best Website To Help VUStudents

When an object of a class is defined inside another class then,

Destructor of enclosing class will be called first
Destructor of inner object will be called first
Constructor and Destructor will be called simultaneously
None of the given options
Consider the following code segment. Which of the following will be called while
executing code at line 2? String s1 , s2; s1 = s2 ;

Copy constructor
Default constructor
Assignment operator
Parameterized constructor

We cannot increment ________________.

pointers
arrays
references
variables

In statement Matrix m2 = m1 ;

Assignment operator is being used
Copy constructor is being used.
Statement has syntax error
None of the given options

From the following; which on is the correct syntax of an array declaration: array size is 5
and it is of float data type?

float [5] name;
name[5] float;
float name[5];
None of the given options

If an array has 50 elements, what is allowable range of subscripts?
0 – 49
1 – 49
0 – 50
1 – 50

                                                                                          2
                       http://vujannat.ning.com
                       Best Website To Help VUStudents

                        http://vujannat.ning.com
                        Best Website To Help VUStudents

A structure is a collection of _____________under a single name.

values
variables
data
None of the given

If a function has not been declared before its definition, It is a

logical error
syntax error
run time error
None of these

When the if statement consists more than one statement then enclosing these statement in
curly braces is,

Not required
Good programming
Relevant
Must

__________ allow us to have a memory location and use it as int or char interchangeably

structures
union
construct
None of the given

In Analysis, we try to have a______________

Determined the inputs
Break up of problem
Precise problem statement
None of the given

_______________function give the position of the next character to be read from that
file.

tellp()
tellg()
seekg()
seekp()

                                                                                       3
                        http://vujannat.ning.com
                        Best Website To Help VUStudents

                        http://vujannat.ning.com
                        Best Website To Help VUStudents

Pointers store the ____________________

value of a variable
memory address
characters
None of the given

In order to get the right most digit of a number, we divide this number by 10 and take its

Remainder
Quotient
Divisor
None of the given options

___________ Returns true if c is a digit and false otherwise.

int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )

If int a = 50; then the value of a/= 3; will be,

15
18
16
17

_______________________ contains functions for manipulations of character data.

ctype.h
iostream.h
string.h
None of the given
____________________ Returns true if c is a digit or a letter and false otherwise.

int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )

                                                                                             4
                        http://vujannat.ning.com
                        Best Website To Help VUStudents

                         http://vujannat.ning.com
                         Best Website To Help VUStudents

If int sum = 54; Then the value of the following statement is sum = sum - 3 ;

52
50
51
57

To get the value stored at a memory address, we use the________________

referencing operator
dereferencing operator
simple operator
None of the given

In C/C++; by default arguments are passed by _______ to a function.

Reference
Value
Type
Data

The string in the array is terminated by a _______

zero
nil
null
one

Structures are syntactically defined with the word_____________.

struc
struct
structure
None of the given

C is widely known as development language of _______ operating system.

Linux
Unix
Windows
Mac OS

                                                                                5
                         http://vujannat.ning.com
                         Best Website To Help VUStudents

                       http://vujannat.ning.com
                       Best Website To Help VUStudents

 http://vustudents.ning.com

At the___________, we try to break up the problem into functional units

analysis phase
design phase
Implementation phase
None of the given

While developing a program; should we think about the user interface?

Yes
No

What will be the result of arithmetic expression 5+25/5*5?

45
6
30
9

Why we use "cin"?

To send data to printer
To read data from keyboard
To display message
To display output on the screen

_________operator uses the sign ^.

Bit-wise OR
Exclusive OR
AND Operator
NOT operator

                                                                          6
                       http://vujannat.ning.com
                       Best Website To Help VUStudents

                       http://vujannat.ning.com
                       Best Website To Help VUStudents

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank