CS201 Midterm Past Papers Solved by vu expert.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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SOLVED, PAST-PAPER, 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 Past Papers Solved by vu expert.pdf for free?
You can preview and download "CS201 Midterm Past Papers Solved by vu expert.pdf" (CS201 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-midterm-past-papers-solved-by-vu-expert-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
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
CS201 Midterm Past Papers Solved
Subscribe Our YouTube Channel: VU EXPERT
Remembers Us In Your Prayers
VU EXPERT
Lesson 1 to 23
1. In C-language the string "AZMAT" is equal to.
AZMAT
2. How many bytes an integer type pointer intPtr will jump in
memory if the statement below is executed? intPtr += 2 ;
8
3. These functions seekg() and seekp() requires an argument of type
____ to let them how many bytes to move forward or backward.
long
4. ___________ function give the position of the next character to be read
from that file.
tellg()
5. "multi [3][3]" element can also be accessed by '___________'.
*(*(multi+3)+3)
6. The name of the array is a constant pointer which contains the
memory address of the ________of the array.
first element
7. At the desing phase, we try to break up the problem into________.
functional units
8. If an array has 50 elements what is allowable range of subscripts?
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
0-49
9. In___________ we try to have a precise problem statement.
Analysis
10. Which header file must be included to use the functions
tolower() an toupper()?
ctype.h
11. We can define a matrix as__________array.
Single dimensional
12. eof is used to check for the___________of file when a file is being
read.
End
13. To get the value stored at a memory address, we use the
_________.
dereferencing operator
14. dereferencing operator is represented by _________.
*
15. Transpose of a matrix means that when we interchange rows
and columns___________.
the first row becomes the first column
16. What is the other name of the variable?
Identifier
17. When No. of repetition is know then we use the ________
structure to perform repetition tasks.
For loop
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
18. Shifting the binary number is similar to shifting the ____________
number.
Decimal
19. We can read, write and manipulate the same file using________.
Fsteram. h
20. In do while loop the , condition is checked_______one execution
of loop.
After
21. < , <=, >, >= are called operators.
Relational
22. For breaking complex problem into smaller pieces we use
___________.
Functions
23. In three – dimensional array. We use------- ‘for loop(s)’ to
populate the array.
3
24. a = a +1: can be written as ---------------
a+=1
25. Continue statement usually force the
immediate________iteration of the loop .
next
26. If a file is opened with ios: : out mode then__________.
A new file is created
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
27. ----------------------- operator is used to pass the address of
variable in call by reference method.
&
28. C++ is a_________ language.
High Level
29. Pointer points to a particular__________.
Memory address
30. If function has not been, declared before it is a ____________.
Syntax error
31. ---------------- statement is used to terminate the processing of
a particular case and exit from switch structure.
Break
32. Which one of the following is used to perform bit- wise OR
operation?
|
33. In the following nested For Loop, which loop will run most
number of times? For ( int I = 0 : k : 5 K++)
{
For (int k = 0 : k <: 5: k++)
{
…………………….
}
Inner Loop
34. We can access a global variable__________.
From anywhere in the program
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
35. Structures are syntactically defined with the word _________.
Struct
36. If y= 20 and z = y++. Then the value of z will be_____________.
20
37. The structure which can execute zero or more times is called
_____.
While structure
38. Which of the following is the correct way to write a
compound assignment operator?
X+=4
39. Suppose we have a file with name “my file .txt”. What will be
the correct syntax of file opening for the input.
myFile. open(“myfile. txt”. Ios : :in):
40. Which one of the following languages has been used to write
the compiler of “C ”language?
C
41. Char name []= “Hello world” :
In the above statement. A memory of__________characters will be
allocated.
12
42. What will be output of following code segment?
For (int I =2, i< 10: i++){
If (i==5)
Continue: Cout <<i<<”.”:
}
2,3,4,6,7,8,9
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
Subscribe Our YouTube Channel: VU EXPERT | File Created By VU EXPERT
43. The function will be return a reference to the global variable
that exist throughout the program and thus there will be no danger
of________.
Dangling reference
44. The friend function are __________.
Not member of class of group
45. The function of call takes two arguments, the first argument
is the and the second argument is the_____________.
Required space in terms of number , size of space
46. With the use of dynamic allocation of memory, the system
resource can be ________.
Used efficiently
47. An instance of a class is called____________.
Object
48. Initializing the data member within the class is __________.
A Syntax error
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)