cs201-midterm-solved-quizs-1-2015.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
- SOLVED, 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-solved-quizs-1-2015.docx for free?
You can preview and download "cs201-midterm-solved-quizs-1-2015.docx" (CS201 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-midterm-solved-quizs-1-2015-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 Solved Quiz No-1 December 13, 2015
1. We use _________ to open a file or stream for extraction
in
2. Null character is represented by _________ in C++.
/0
3. An object of _________ class can be created for saving the current position of any opened file before reading from the file.
Streampos
pg215
4. ____________________ Returns true if c is a digit or a letter and false otherwise.
int isalnum( int c )
5. We use _________ to open a file or stream for insertion.
out
6. Base address is the memory address of _______ element of an array.
1st
7. __________ allow us to have a memory location and use it as int or char interchangeably
union
8. To read command-line arguments, the main() function itself must be given ___________ arguments.
2
9. Individual characters in a string stored in an array can be accessed directly using array _______.
subscript
10. To manipulate n-dimensional array ___________ nested loops are required.
n-1
=========================================
Inno latest CS201 Solved Quizz No-1 Fall2015
1. A character is stored in the memory in _________
string
2. What will be the size of following array?
int arr[29];
29
3. An object of _________ class can be created for saving the current position of any opened file before reading from the file.
Streampos
pg215
4. We use _________ to open a file or stream for extraction.
in
5. We use _________ to open a file or stream for insertion.
out
6. _______________are conventional names of the command line parameters of the ‘main()’ function.
‘argc’ and ‘argv’
7. In_____________, we have different data members and all of these have their own memory space.
structures
8. How we declare an array of integer data whose size is 20 with array name “count”.
int count[20];
9. A ________is an array of characters that can store number of character specified.
String
File. seekg (-10L, ios:cur)
backword direction
CS201 FIRST QUIZ 2015
A function is a block of statements that can be defined once and used ________ in the program.
One time
Two times
Three times
As many times as user wants
What will be the output of the following while loop? int counter = 0 ; while(counter < 15) cout << counter << “ ”; counter++;
1 2 3 4
1 2 3 4 5
Compile time error
Infinite loop
We can access a global variable ___________
From the functions only
From the loops only
From the main() function only
From anywhere in the program
A repetition statement specifies that an action is to be continued while some_______ remains true.
Condition
Control
Asignment
Operator
Loops are _______________ Structure.
Decision
Sequential
Repetition
None of the given options
_________ operator is used to pass the address of a variable in call by reference method.
%
+
@
&
How many times the following do-while loop will execute? int k = 10; do { cout << "Statements" << endl; k -= 2; } while(k>0);
4
5
6
7
What is the output of the following code if the 3rd case is true switch (var) { case ‘a’: cout<<”apple”<<endl; case ‘b’: cout<<”banana”<<endl; case ‘m’: cout<<”mango”<<endl; default: cout<<”any fruit”<<endl; }
mango
mango any fruit
Apple
none of the above
By default, the starting index of an array in C++ is _______.
2
-1
0
1
A variable declared within a code block becomes ________ variable for that block
Static
Integer
Local
Global
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)