CS201-MidTerm-By_Rana_Abubakar_Khan.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 compiled by Rana Abubakar Khan) 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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Compiled by
- Rana Abubakar Khan
- 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
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- 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 CS201-MidTerm-By_Rana_Abubakar_Khan.pdf for free?
You can preview and download "CS201-MidTerm-By_Rana_Abubakar_Khan.pdf" (CS201 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-midterm-by-rana-abubakar-khan-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 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
Rana Abubakar Khan
If you want to learn computer programming then contact with me
truefriendlion@gmail.com
JOIN FB GROUP FOR VU HELP
www.facebook.com/groups/vu1234/
CS201 MIDTERM PAPER SHARED BY STUDENT
REPLY BY BY_RANA_ABUBAKAR_KHAN ON JUNE 23, 2018 AT 9:44PM
CS201 Mid term paper 23 June 2018 2:30 PM By Kashaf Mushtaq
Today's Paper was sooooo easy.
MCQs were very easy also subjective was just like chewing bubble.
MCQs were 18
3 Marks Q = 2
5 Marks Q = 3
1
Q.1 Write the code of the following arrays; Marks(3)
1. float array length 8
2. float array length 8 to pointer
Q.2 Find the error in the following. Marks(3)
{
int number;
if(number/2==0)
cout"The number is even:";
else()
cout"The number is odd:";
getch();
2
}
Q.3 Write a program in C++ to calculate the Average Price of the book. Marks(5)
calculations given the. Inputs ly kr display krwana tha.
Q.4 Give the output of the following
{
int It=1 nt=o s;
int number=8;
if(nt<number/2)
{
coutIt"\t";
s=nt+It
3
nt=It
s=It
}
Q.5 Write a code to find the product.
product= number *2^5
input ly kr output show krwani the.
CS201 MIDTERM PAPER SHARED BY STUDENT
REPLY BY BY_RANA_ABUBAKAR_KHAN ON JUNE 23, 2018 AT 10:19PM
current papr cs201 file 1 23 june spring 2018
Today cs201 paper
1.General syntax of switch statement
2. Applications softwares with examples
4
3. Output of program having arrays
4. To write a program arrays of 10 elements. Sorting. Find minimum and maximum numbr
For mcqs just study past papers and read handouts once
CS201 MIDTERM PAPER SHARED BY STUDENT
REPLY BY BY_RANA_ABUBAKAR_KHAN ON DECEMBER 9, 2017 AT 12:50PM
Today cs201 paper.z
How many dimensions in n dimension array.
Loop is also called..reptative...Structure
access array in random which approach is best
=< ,<= ,>= are called ..relational... operators
#include is called.. preprocessor directive..
Not example of int data ..-4.0..
All element of data must be of .... same type..
Analysis is the .. first..step
Array are ..call by reference...
Move to next iteration of loop .. continue statement...is used
A hierchy of classes which are used to deal with console and disk file.. iOS..
.. functions..are good for code reusability.
Bitwise and work same like.. logical.. and but on bits
SUBJECTIVE.
5
Write 2d array with five rows and six column and also write pointer to above array.?
Why we comment liberally in programs does they affect on performance...?
A do while loop executive ho many times at least and a while loop?
Then 2 program likhi thy inline output likhi thy ak array main say tha aur doses open file...
CS201 MIDTERM PAPER SHARED BY STUDENT
CS201 9/12/2017 _ 2:30PM PAPER
cs201 aj 2:30 ka mera paper
MCQS mostly moaz ki file sy thy
r long q
main(){
int x = 10
const int *ptr = &x ;
*ptr = 5 ;
}
dosra Q aesy tha
Write down the output of the code given below :
6
Hint:
Size of char is 1 byte
Size of int is 2 byte
Size of float is 4 byte
#include <iostream.h>
union mytypes_t {
char c;
int i;
float f;
} mytypes;
int main(){
mytypes.c = 'H';
mytypes.i = 15;
cout sizeof(mytypes)endl;
mytypes.i = 15;
mytypes.c = 'H';
cout sizeof(mytypes)endl;
system("PAUSE");
return 0;
}
r baqi yad nahi
7
CS201 MIDTERM PAPER SHARED BY STUDENT
REPLY BY BY_RANA_ABUBAKAR_KHAN ON DECEMBER 10, 2017 AT 9:51PM
cs201 mera ajka paper MCQS 90% Moaz ki file sy thy
short Q: Write down the output of the code given below :
Hint:
Size of char is 1 byte
Size of int is 2 byte
Size of float is 4 byte
#include <iostream.h>
union mytypes_t {
char c;
int i;
float f;
} mytypes;
int main(){
mytypes.c = 'H';
mytypes.i = 15;
cout sizeof(mytypes)endl;
mytypes.i = 15;
mytypes.c = 'H';
cout sizeof(mytypes)endl;
8
system("PAUSE");
return 0;
}
r 1 or Q: JO 3 marks ka tha wo ye
Identify the errors in the following code segment and give the reason of errors.
main(){
int x = 10
const int *ptr = &x ;
*ptr = 5 ;
}
baqi 1 programme likhta tha convert weight wala sai sy baqi yad na
CS201 MIDTERM PAPER SHARED BY STUDENT
ON JUNE 3, 2017 AT 6:21PM
***CS201***
Aik program likhen jismai aik item ka 15% tax display krwana hai. Program mai pehle user sy input lyn phr uska
15% tax display krwana hai
***CS201***
Aik program bnayen jismai user sy input lyn radius ki or switch statement sy 2 case likhen
1. Enter A or a to find area of circle.
2. Enter C or c to find Circumference of circle
Formula given thy ....
****CS201****
9
Aik 2D array bnayen jismai 4 rows hn or 2 cols or phr usko display krwayen(mene rand() use kia) phr usmai 1st
row ky elements display krwayen msln agr aik array hai
23 43. 5. 84.
54. 42. 1. 75
To display ho
23 43 5 84
CS201 MIDTERM PAPER SHARED BY STUDENT
ON JUNE 3, 2017 AT 7:06PM
By amna mughal
todat my cs201 paper
mcqs mostly from moaaz collection (18 marks)
do while loop pe program likhna tha(5 marks)
& | operators ke bre me likhna tha(3 marks)
program me highlight lines ko explain krna tha (5 marks)
aik or program e likhna tha wo yad ni( 5marks)
program ka out put btana tha(3 marks)
CS201 MIDTERM PAPER SHARED BY STUDENT
ON JUNE 4, 2017 AT 11:48AM
5 marks
More CS201 files
- 1_CS201 MID TERM SOLVED PAPER.docx (DOC · Midterm)
- 1_CS201 MID TERM SOLVED PAPER.pdf (PDF · Midterm)
- 23.-Download_CS201-Midterm-Solved-MCQs-with-Reference-Sadia- (PDF · Midterm)
- CS201 GRAND QUIZ MIDTERM 2020.pdf (PDF · Midterm)
- CS201 Grand Quiz for Mid Term Prepration by VU Stars.pdf (PDF · Midterm)
- CS201 MID TERM SOLVED PAPER-1.doc (DOC · Midterm)
- CS201 MID TERM SOLVED PAPER.doc (DOC · Midterm)
- CS201 MID Term Solved MCQs Mega File.pdf (PDF · Midterm)