Cs_201 Mid Term 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 (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 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
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS201.

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)

Frequently asked questions

Where can I download Cs_201 Mid Term by Vu Topper RM.pdf for free?

You can preview and download "Cs_201 Mid Term by Vu Topper RM.pdf" (CS201 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs-201-mid-term-by-vu-topper-rm-pdf-cs201) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS201 file?

This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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 Important Mid Term
Mcq’s Solution 100% Correct :
  Solve By Vu-Topper RM!!

Question No:1                       (Marks:1)                    Vu-Topper RM
What will be the size of the array declared as
int array[1000];
999
1001

Question No:2                      (Marks:1)                  Vu-Topper RM
Suppose that an integer type contains a memory address 0x22f220. What will be
the new memory address if we increment this pointer by one?
0x22f223
0x22f224

Question No:3                    (Marks:1)                       Vu-Topper RM
We use __________ to open a file or stream for extraction.
in
out

Question No:4                   (Marks:1)                     Vu-Topper RM
Whenever some number is added in an array name, it will jump as many
__________ as the added number.
rows
value

Question No:5                         (Marks:1)                   Vu-Topper RM
From following; which one is the correct syntax of an array initialize: Array size
is 10 and it is of double data type to value 0?
arr[10]={0.0};
double arr[10]={0.0};

Question No:6                      (Marks:1)                    Vu-Topper RM
An object of __________ class can be created of saving the current position of
any opened file before reading from the file.
Streampos

Question No:7                       (Marks:1)                    Vu-Topper RM
What will be the size of the following character array?
char name[]="Adeel";
6

Question No:8                       (Marks:1)                     Vu-Topper RM
We can say that a pointer is a variable that hold the __________ address.
memory

For More Help Vu-Topper RM Contact What's app 03224021365

Question No:9                        (Marks:1)                   Vu-Topper RM
By default, the starting index of an array in C++ is __________.
2
0

Question No:10                     (Marks:1)                   Vu-Topper RM
A character is stored in the memory in _________
1 byte

Question No:11                      (Marks:1)                  Vu-Topper RM
dereferencing operator is represented by _______
*
+

Question No:12                        (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.
double dereference (page 175)
Single dereference

Question No:13                    (Marks:1)                    Vu-Topper RM
In_________, we try to have a precise problem statement
Analysis
Design

Question No:14                    (Marks:1)                      Vu-Topper RM
suppose we have int y[10]; To access the 4th element of the array we
write_______
y[4];
y[3];

Question No:15                     (Marks:1)                 Vu-Topper RM
From the following; which one is the range of Random number generator function
rand()?
0 – 32767
1 – 32767

Question No:16                       (Marks:1)                 Vu-Topper RM
The string in the array is terminated by a_____
null
one

For More Help Vu-Topper RM Contact What's app 03224021365

Question No:17                    (Marks:1)                    Vu-Topper RM
In C/C++; by default arguments are passed by_____to a function.
Reference
Value

Question No:18                   (Marks:1)                   Vu-Topper RM
_______Keyword is used to return some value from a function.
break
return

Question No:19                       (Marks:1)                     Vu-Topper RM
Which of the function call is call by value for the following function prototype?
float add(int);
add(&x);
add(x);

Question No:20                    (Marks:1)                     Vu-Topper RM
The increment of a pointer depends on its_________.
variable
data type

Question No:21                   (Marks:1)                      Vu-Topper RM
The ASCHI code of null character is_________
000
010

Question No:22                      (Marks:1)                 Vu-Topper RM
Pointers are a special type of __________in which a memory address is stored
variables
Location

Question No:23                      (Marks:1)                 Vu-Topper RM
Transpose of a matrix means that when we interchange rows and
columns_____________
the first row becomes the Last column
the first row becomes the first column

Question No:24                   (Marks:1)                      Vu-Topper RM
Pointers store the ____________________
value of a variable
memory address

For More Help Vu-Topper RM Contact What's app 03224021365

Question No:25                       (Marks:1)                     Vu-Topper RM
Which of the following function call is “call by reference” for the following
function prototype? int add (int *);
add(&x);
add(int x);

Question No:26                     (Marks:1)                     Vu-Topper RM
The name of the array is a constant pointer which contains the memory address of
the ____________of the array.
first element
Last element

Question No:27                   (Marks:1)                   Vu-Topper RM
array name always contains the memory address of the ___________of the array
first element
None of the given

Question No:28                   (Marks:1)                     Vu-Topper RM
At the___________, we try to break up the problem into functional units
analysis phase
design phase

Question No:29                      (Marks:1)                  Vu-Topper RM
——- is used for input file or for reading from the file
Tellg()

Question No:30                     (Marks:1)                   Vu-Topper RM
Following is the declaration a —- array int arr[2][2][2];
3-dimensional

Question No:31                      (Marks:1)                  Vu-Topper RM
!(x<3)mean in C++ that
X is greater than 3

Question No:32                     (Marks:1)                      Vu-Topper RM
Which of the following option is correct to complete the declaration of the
function —-(parameter1, parameter2) {
//code to be executed}
Void function name

Question No:33                      (Marks:1)                  Vu-Topper RM
Of stream is used for
Output file stream

For More Help Vu-Topper RM Contact What's app 03224021365

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank