cs201 quiz file-converted.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 file-converted.pdf for free?

You can preview and download "cs201 quiz file-converted.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-file-converted-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

Searching file for quiz Create
by Orange Monkey team first
file 99% correct
For console input and output we use               ?

???

a = a + 1; can be written as:

a += 1;

The compiler generates                 automatically

Constractors

The data members of the class are initialized            .

At runtime

      For parameters is also done for inline functions

Automatic type checking

An instance of class is called:

Object

With the use of dynamic allocation of memory, the system resources can
be

Use efficiently

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

Specific directory

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

Void

Multiplicative, Additive and assignment operators are             operators.

Binary

Special name which is substituted in code by its definition and as a result
we get an expanded code is

Called Macro

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

int" ptr

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

???

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

stdlib.h stddef h

for parameters is also done for inline functions.

Automatic type checking

melloc function returns       to the   from the available memory

???

Constructor is a special function, called whenever we        ?

Instantiate an object of a class

We should not use such variable names that are starting with because
in C++, there are lots of internal constants and symbolic names that start
with it

Double underscore

Constructor is itself a       of C++ and

Function, can be overloaded

What is the other name for a variable?

Identifier

< and > both are _________ operators.

Logical

Find out the logical error in following lines of code. If (x = 10) cout “x
is 10”;

Assignment operator should not be used for Comparison

What will be the result of the expression j = i++; if initially j = 0 and i =
5?

5

Default mechanism of calling a function by passing it array is call by
________ and in case of passing variable is call by ________.
Reference, value

When the break statement is encountered in a loop’s body, it transfers
the control ________from the current loop.

Outside

________statement is used to terminate the processing of a particular
case and exit from switch structure.

Break

If we pass more than one arguments to a function then they are separated
by____ .

Comma,

What will be the value of the variable output in the given piece of code?
double output = 0; output = (2 + 2) * 4 + 2 / (4 – 2);

17

Window operating system may itself takes memory from______.

Heap

Initializing the data member within the class________.

Not an error

Constructer has_____.

The same name as of class

The complier generates_________.

Constructor

What is the storage space of double data type?

8bytes

The dynamic allocation ____ whereas static memory allocation
uses________
Heap, stack

Which one of is the correct example of a unary operator?

.

Array indexes start from_______.

0

C++ was developed by_____.

Bejame stroustrup

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

Positive

The compiler generates_______ automatically.

Constructors

A class is____-

A member function

Bugs can occur due to _______.

Uninitiated data

The heap memory structure ________.

Constantly change in size

How many bits from a byte?

8

The function calloc takes two arguments, first argument is the
________and the second argument is the________.

Required space in term of numbers, size of space

The main advantage of function overloading is that______.

The program become more readable

A pointer with value null is defined IN THE header
files________and________.

Stdlib.h, stddef.h

The increment operator in c++

++

The memory allocation functions return a chunk of memory whit a
pointer of type_______.

Void

The constructor contains ______.

No return types

Multiplication, additive and assignment operators are _____operators.

Binary

For accessing data members we use _________ operators

Dot

In a class we can have _______constructor(s).

Only one

Object code is machine code but it is not _______and________.

Relocatable, executable

With the use of dynamic allocation of memory the system resources can
be_____.

Used efficiently

The main advantage of function overloading is that ----------------------

The fogram becomes more readable

For accessing data members we use ____________operator.

Dot .

Object code is machine code but it is not _____and______.
Reloadable, executable

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

Void

The _____ is the increment operator in c++.

++

The constructor contains _____________.

No return type

A class is ___________

A user defined data type

In a class we can have _____ constructor(s).

Many

When we include the header file in the angle brackets the compiler
searches _____________.

Specific directory

What is the other name of a variable?

Identifiers

An instance of a class is called _____

Object

______is a special type of pointer we here to cast it before we use it.

Void

A=a+1 ; can be written as

A+ =1;

With the use of dynamic allocation memory, the system resources can
be__________

Use efficiently

It shifting operations if zero is inserted at the left mast bit , the negative
number will become will become a ___________ number

Positive

What will be the output of following c++ code?
#include <isotream.h>
#define max 100

Main ()
{
#ifdefmax
cout<<”hellow;
}

Error

We should not use such variable name that are starting with
____because in c++ , there are lots of internal contents and symbolic
names that start with it.
Double underscore

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

Accessibility

Bugs can occur due to _______________

Uninitialized data

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank