CS201-Current-Midterm-Papers-Fall-2019-14-December-2019-To-26-December-2019.docx
Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This DOC 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
- DOC
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- CURRENT, 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-Current-Midterm-Papers-Fall-2019-14-December-2019-To-26-December-2019.docx for free?
You can preview and download "CS201-Current-Midterm-Papers-Fall-2019-14-December-2019-To-26-December-2019.docx" (CS201 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-current-midterm-papers-fall-2019-14-december-2019-to-26-december-2019-docx) 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
CS201 Midterm Papers Fall 2019 (14 To 26 December 2019)
Cs201 Midterm current paper 14 December 2019 Time:8:30am
Q no.1
Convert the following while loop into a for loop
Int I=1;
While(i<=h)
{
Couti*I;
I++;
}
Q no.2
Given below is the code segment of a file handling program. What is the purpose of the condition given in the while loop
While(! Infile.eof())
{
Infile>> name>>sal>>dept;
Cout name"\ t" saal"\ t" dept endl;
}
Q no.3
Write a function definition which takes three arguments: retail price, sales taxes, incom tax and returns the net price of a book.
Note: the net price of the book can be calculated by the formula
Net price= retail price + sales tax + incom tax
Q no.4
Write a program which defines two string " Hello" and "Pakistan", merges both the strings using manipulation function and display on the screen.
Q no.5
What will be the output from the following program?
#include<iostream>
#include<conio.h>
Int main ( )
{
for int i=1; i<6;i++
If( i%2==0)
Couti+1endl;
else
Coutiendl;
System("pause");
}
Cs201 Midterm current paper 15 December 2019 Time:8:30am
Finally I attempt my paper CS201
Total questions 1 to 23
1 to 19 only MCqs (mostly from previous papers)
2 shorts (one and two dimentonal array , file data on disk)
2 programs ( interger from user and display product with formula , and 1 long program kilogram weight ponds like this)
ALHMADULILLAH
Cs201 Midterm current paper 15 December 2019 Time:8:30am
Cs201 15/12 4pm
program(marks 3): make a 2d array of 3x3
2nd question(marks 3) find the mistakes in following
If(num%2==o);
Cout"the number is even";
else()
Cout"the number is odd";
3rd question(marks 5) define the function of following
outfile.open
4rth question(marks 5) find the perimeter of a circle by taking value of radius from user. You just have to declare 2 variables peri and radius and formula is
Perimeter of circle=2*3.14*radius
5th question(marks 5) make a program which converts the weight in kgs to pounds by defining function..
Mcqs were easy if u read handouts just 2 or 3 mcqs came from past papers.. But it was easy.
Cs201 Midterm current paper 17 December 2019 Time:8:30am
Cs201 15/12 4pm
program(marks 3): make a 2d array of 3x3
2nd question(marks 3) find the mistakes in following
If(num%2==o);
Cout"the number is even";
else()
Cout"the number is odd";
3rd question(marks 5) define the function of following
outfile.open
4rth question(marks 5) find the perimeter of a circle by taking value of radius from user. You just have to declare 2 variables peri and radius and formula is
Perimeter of circle=2*3.14*radius
5th question(marks 5) make a program which converts the weight in kgs to pounds by defining function..
Mcqs were easy if u read handouts just 2 or 3 mcqs came from past papers.. But it was easy.
Cs201 Midterm current paper 26 December 2019 Time:8:30am
What happens if the file 'myfile.txt' does not exist and we still try to open it using the function file.open(“myfile.txt”, ios:out)?
Would the open() function create a new file and open it OR it will generate an error?
èDetermine the output of the given code segment.
int x = 2;
switch(x){
case 1:
x += 1 ;
break ;
case 2:
x += 2 ;
case 3:
x +=3 ;
break ;
case 4:
x += 4 ;
break ;
}
cout x ;
èTransform the following If-else statement into switch statement.
if (x == 5)
...
else if (x == 10 || x == 11)
...
else if (x == 8)
...
else if (x == 9)
...
else
...
èWrite a C++ program which calculates the Net price of a book and displays it on the screen. The Net price of book can be calculated by the following formula:
Net price = Retail Price + Sales Tax + Income Tax
Retail Price, Sale Tax and Income Tax are taken as input from the user.
èWrite a program which opens a file named "writeFile.txt" and moves the file pointer 100 characters forward starting from the beginning of the file and then writes the message "Reached at position 101" at the new position in the file.
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)