cs201-midterm-solved-mcqs-with-reference-by-aniqa.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
- MCQ, 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-mcqs-with-reference-by-aniqa.pdf for free?
You can preview and download "cs201-midterm-solved-mcqs-with-reference-by-aniqa.pdf" (CS201 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-midterm-solved-mcqs-with-reference-by-aniqa-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
MIDTERM CS201-Introduction to
EXAMINATION Programming
By vuZs Team (Aniqa MAlik shinestar.star86@gmail.com Five(5) Papers Solved with
Tanzeela Naz) mc120201969@gmail.com References
CS201 - Introduction to Programming Midterm Paper(1) 2010
Question No.: 1 ( M a r k s: 1 )
Compiler is a
System software
Application Software
Driver
Editor
http://books.google.com.pk/books?id=AJt4O4AoCtgC&pg=PA1&lpg=PA1&dq=%22compiler+is+
a+system+software%22&source=bl&ots=iSKObzG2h5&sig=S_IlDilOXTgnIKvxdSOJN0lZZ8o&hl
=en&sa=X&ei=dtB2UOqdFeWK4gSsrIDQCQ&ved=0CEoQ6AEwBw#v=onepage&q=%22compil
er%20is%20a%20system%20software%22&f=false
Question No.: 2 ( M a r k s: 1 )
If Num is an integer variable then Num++ means,
Add 1 two times with Num
Add 1 with Num
Add 2 with Num
Subtract 2 from Num
Question No.: 3 ( M a r k s: 1 )
For one byte there are _____ combinations of values that can be stored in computer.
26
27
28
24
Each bit is capable of holding two possible values, the number of possible different
combinations of
values that can be stored in n bits is 2n. For example:
1 bit can hold 2 = 2^1 = 2 possible values (0 or 1)
2 bits can hold 2 × 2 = 2^2 = 4 possible values
so 8 bits(one byte) = 2^8 = 256
Question No.: 4 ( M a r k s: 1 )
In C/C++ language the header file which is used to perform useful task and manipulation
of character data is
cplext.h
ctype.h pg 188
stdio.h
delay.h
Question No.: 5 ( M a r k s: 1 )
Default case in switch statement is,
MIDTERM CS201-Introduction to
EXAMINATION Programming
By vuZs Team (Aniqa MAlik Shinestar.star86@gmail.com Five(5) Papers Solved with
Tanzeela Naz) mc120201969@gmail.com References
Must
Optional
syntax error
Necessary
http://www.arduino.cc/en/Reference/SwitchCase
Question No.: 6 ( M a r k s: 1 )
When break statement is encountered in switch statement, it
Stops the entire program
Stops the execution of current statement
Exits from switch statement
None of the given options
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html
Question No.: 7 ( M a r k s: 1 )
What will be the result of arithmetic expression 6+27/3*3?
33
45
9
30
Question No.: 8 ( M a r k s: 1 )
What is the correct syntax to declare an array of size 10 of int data type?
int [10] name ;
name[10] int ;
int name[10] ;
int name[] ;
Question No.: 9 ( M a r k s: 1 )
How many dimensions does n-dimensional array has?
n dimensions
2n dimensions
(n+1) dimensions
(n-1) dimensions (Array starts from 0th element)
Question No.: 10 ( M a r k s: 1 )
What will be the correct syntax to access the value of fourth element of an array using
pointer ptr?
ptr[3]
(ptr+3)
*(ptr+3)
Both 1and 3
MIDTERM CS201-Introduction to
EXAMINATION Programming
By vuZs Team (Aniqa MAlik Shinestar.star86@gmail.com Five(5) Papers Solved with
Tanzeela Naz) mc120201969@gmail.com References
Question No.: 11 ( M a r k s: 1 )
Which of the following values C++ use to represent true and false?
1 and 0
1 and -1
11 and 00
Any numerical value
Question No.: 12 ( M a r k s: 1 )
Declaring structures does not mean that memory is allocated.
True
False
http://www.exforsys.com/tutorials/c-plus-plus/c-structures.html
Question No.: 13 ( M a r k s: 1 )
For which array, the size of the array should be one more than the number of elements
in an array?
Int
double
float
char Pg113
Question No.: 14 ( M a r k s: 1 )
If a variable is passed by value to a function and the function makes some changes to
that variable then it
Does not affect the original variable pg 83
affects the original variable
causes syntax error
None of the given options
Question No.: 15 ( M a r k s: 1 )
In C/C++ the #include is called,
Header file
Preprocessor Directive pg 269
Statement
Function
Question No.: 16 ( M a r k s: 1 )
Loops are ------------------------ Structure.
Decision
Repetition pg 560
Sequential
Hierarchical
MIDTERM CS201-Introduction to
EXAMINATION Programming
By vuZs Team (Aniqa MAlik Shinestar.star86@gmail.com Five(5) Papers Solved with
Tanzeela Naz) mc120201969@gmail.com References
Question No.: 17 ( M a r k s: 2 )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)