cs201-midterm-mcqs-solved-with-references-by-moaaz-vustudy.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 Moaaz Siddhu) 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
- Moaaz Siddhu
- 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-mcqs-solved-with-references-by-moaaz-vustudy.pdf for free?
You can preview and download "cs201-midterm-mcqs-solved-with-references-by-moaaz-vustudy.pdf" (CS201 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-midterm-mcqs-solved-with-references-by-moaaz-vustudy-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
lOMoARcPSD|26797817
CS201 Midterm MCQS Solved With References By Moaaz
vustudy
Computer science (Virtual University of Pakistan)
Studocu is not sponsored or endorsed by any college or university
Downloaded by bc200411412 HUSNAIN RAZA (bc200411412@vu.edu.pk)
lOMoARcPSD|26797817
CS201- Introduction to Programming
Latest Solved Mcqs from Midterm Papers May 07,2011
Mc100401285 moaaz.pk@gmail.com Moaaz Siddiq
Lectures 1-22 Bc100400662 bc100400662asad@gmail.com Asad Ali Latest Mcqs
MIDTERM EXAMINATION
Spring 2010
Question No: 1 ( Marks: 1 ) - Please choose one
In order to get 256 from the number 2568 we divide this number by 10 and take,
¿ Its remainder
¿ The number
¿ Its quotient
¿ Its divisor
Question No: 2 ( Marks: 1 ) - Please choose one
The correct syntax of do-while loop is,
¿ (condition ) while; do { statements; };
¿ { statements; } do-while ();
¿ while(condition); do { statements; };
¿ do { statements; } while (condition);
Question No: 3 ( Marks: 1 ) - Please choose one
Which of the following function(s) is/are included in stdlib.h header file?
¿ double atof(const char *nptr)
¿ int atoi(const char *nptr)
¿ char *strcpy ( char *s1, const char *s2)
¿ 1 and 2 only (Pg 191)
Question No: 4 ( Marks: 1 ) - Please choose one
If the break statement is missed in switch statement then,
¿ The compiler will give error
¿ This may cause a logical error (Pg 76)
¿ No effect on program
¿ Program stops its execution
Mc100401285 Bc100400662
moaaz.pk@gmail.com bc100400662asad@gmail.com
Downloaded by bc200411412 HUSNAIN RAZA (bc200411412@vu.edu.pk)
lOMoARcPSD|26797817
Question No: 5 ( Marks: 1 ) - Please choose one
The data type before a function name represents its,
¿ Return Type ( Pg 499)
¿ Function data
¿ Function arguments
¿ Function name
Question No: 6 ( Marks: 1 ) - Please choose one
Member function tellg() returns the current location of the _____________ pointer.
¿ tellptr()
¿ write()
¿ seekg()
¿ get() (Pg 215)
Question No: 7 ( Marks: 1 ) - Please choose one
What does 5 | 6 , evaluate to in decimal where 8|9 is bitwise OR operator?
ð¿ð3
ð¿ð4
ð¿ð5
ð¿ð7
5|6=
0101
0110
--------
0111=7
Question No: 8 ( Marks: 1 ) - Please choose one
C is widely
known as development language of _______ operating system.
¿ Linux
¿ Windows
¿ Unix (Pg 12)
¿ Mac OS
Question No: 9 ( Marks: 1 ) - Please choose one
What will be
the result of arithmetic expression 6+27/3*3?
¿ 33
¿ 45
¿9
Mc100401285 Bc100400662
moaaz.pk@gmail.com bc100400662asad@gmail.com
Downloaded by bc200411412 HUSNAIN RAZA (bc200411412@vu.edu.pk)
lOMoARcPSD|26797817
¿ 30
Question No: 10 ( Marks: 1 ) - Please choose one
How many
bytes are occupied by declaring following array of characters?
char str[] = <programming=;
¿ 10
¿ 11
¿ 12
¿ 13
Question No: 11 ( Marks: 1 ) - Please choose one
What will be
the correct syntax for initialization of pointer with string "programming"?
¿ char ptr = 9programming9 ;
¿ char *ptr = <programming= ;
¿ char *ptr = 8programming9 ;
¿ *ptr = <programming= ;
pg 166
array element in each array initialized with a single character enclosed in single quote.
pg 21
While assigning a character value to a char type variable single quotes are used around the character
as 8a9.
Question No: 12 ( Marks: 1 ) - Please choose one
What will be the result of expression x%= 2, if x = 7?
ð¿ðx = 1
ð¿ðx = 3
ð¿ðx = 7
ð¿ðx = 2
Question No: 13 ( Marks: 1 ) - Please choose one
UNIX has been developed in ________ language.
ð¿ðJAVA
ð¿ðB
ð¿ðC (pg 12)
ð¿ðFORTRAN
Question No: 14 ( Marks: 1 ) - Please choose one
Declaring structures does not mean that memory is allocated.
ð¿ðTrue (Pg 229)
ð¿ðFalse
Mc100401285 Bc100400662
moaaz.pk@gmail.com bc100400662asad@gmail.com
Downloaded by bc200411412 HUSNAIN RAZA (bc200411412@vu.edu.pk)
lOMoARcPSD|26797817
http://www.exforsys.com/tutorials/c-plus-plus/c-structures.html
Question No: 15 ( Marks: 1 ) - Please choose one
What will be the value of i and j in the following code segment?
int i, j ;
int x[5] = {2, 3, 4, 8, 9} ;
int *ptr =&x[2];
i = (*ptr)++ ;
j = *ptr++ ;
ð¿ði = 5, j = 5
ð¿ði = 5, j = 8
ð¿ði = 4, j = 8
ð¿ði = 5, j = 9
Question No: 16 ( Marks: 1 ) - Please choose one
When an array element is passed to a function, it is passed by ----------------.
ð¿ð reference (Pg 266)
ð¿ð data type
ð¿ð value
ð¿ð data
When we pass ordinary variables to functions, they are passed by value because of the defaultMore 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)