CS201 quiz 2 2022 final term-converted.pdf
Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- FINALTERM
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS201, regardless of midterm scores.
What this file covers — CS201 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download CS201 quiz 2 2022 final term-converted.pdf for free?
You can preview and download "CS201 quiz 2 2022 final term-converted.pdf" (CS201 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-2-2022-final-term-converted-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), 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
Quiz No 2 will be opened from
15th February,2022 to 17th February, 2022.
Syllabus of Quiz No 2 is from Lecture 23 to 33.
ORANGE MONKEY TEAM
1. What will be the output of the given code? #include<iostream> using namespace std;
#define MAX (A, B)((A)>(B)) int main () { int I, x, y; x=23; y=45; I = MAX(x++, y++);
Side effect; ?? larger value incremented twice cout << x =<<x<< y=<<\n}
X= 24, y=46
2. if (day == daysOfMonth ( *this ) ) { // this is the last day of the month // process accordingly }
In the above condition, we have checked that day is equal to the number of days in the month
or not. If the condition returns true it means loop will make its _______ iteration with
_______ day of the month.
Last, Last
3. Default constructor generated by ________ does __________ for us.
Compiler initialization…..confirm from net
4. Friend function are used in cases where one class is to another class
Independent
5. For casting, we normally declare a pointer of type .
We are going to use…….confirm
6. Constructor is special type of function
Which has no return type…..confirm from net
7. Class can be defined as
A class includes both objects and structures
8. The object code of our program is combined with the _.
Object code of the library function….confirm
9. I+=2 is equivalent to .
I= i+2….confirm
10. For accessing data members we use operator.
ORANGE MONKEY TEAM Page 1
(Dot.)….confirm
11. The is called automatically when an object destroys
destructor
12. The function overloading requires .
The argument list to be the same….confirm
13. With user data type variables (objects) self assignment can produce
Logical error……confirm from net
14. Constructor is a special type of function
Which has no return type……confirm from net
ORANGE MONKEY TEAM Page 2
15. Look at the statement given below int & a; and tell what will happen
Compiler will generate an error: a declared as reference but not
initialized….confirm from net
16. Macros are categorized into type(s)
Two…..confrim
17. If the memory in the free store is not sufficient .
Malloc function returns NULL pointer…confirm from net
18. A reference cannot be Null it has to point a data type
True…..confirm
19. The friend function of a class can have access _ .
To the private data members….confirm
20. #define CIRCUMFERENCE(X) (2*PI*R) is a.
Definition of a macro…..confirm from net
21. Which of the following is unary operator
i--, i++, ++i…..all options…confirm
22. For overloading a void type pointer ptr into integer type, the correct syntax is
(int*)ptr……confirm
23. Ternary operator is shown as .
?;
24. If we do not write our own assignment operator then which of the following problem
may occur?
Dangling pointer
25. Getche() is a _ function and defined in header file.
Built in function, conio.h……confirm from net
26. Core must be taken about the correct _ of operator while overloading.
Both semantic and complexity
27. Which function is used to delete the allocated memory space?
Free()……confirm from net
28. Friend functions are .
Private……confirm
29. Which one of the following is the correct statement about operator overloading?
ORANGE MONKEY TEAM Page 3
Arithmetic operators can be overloaded only
30. Once we have defined a symbolic constant value using #define, that value
during program execution.
Cannot be changed……confirm from net
31. Consider the following code segment. Which of the following will be called while
executing code at line 2? String s1, s2; s1 = s2
Assignment Operator
32. The concept of allows us to separate the interface from the implementation
of the class.
Encapsulation…….confirm
33. In overloading the assignment (=) operator, which object will be passed as an
argument(s) in the operator function?
Left object of the assignment operator
34. In overloading the assignment (=) operator, which object(s) will call operator
function?
Left object of the assignment……confirm from net
35. Class can be defined as:
A class includes both data members as well as functions to manipulate
that data
36. Constructor has .
The same name as of class…….confirm
37. We can pointer
Reassign, decrement, increment…….All options correct
38. The constructor contains .
No return type
39. will return the number of bytes reserved for a variable or data type
Sizeof operator…….confirm from net
40. In C++ the region of available memory is called .
Free store
41. The only operator that the compiler overloads for user define data type by default is
ORANGE MONKEY TEAM Page 4
More CS201 files
- CS201 (Final term Notes) Important Topics Covered 2025.pdf (PDF · Final-Term)
- CS201 2 Quiz#3 6 July2023 FINALS by MISS MEHWISH.pdf (PDF · Final-Term)
- CS201 2 Quiz#3 6 July2023 FINALS by MISS MEHWISH.pdf (PDF · Final-Term)
- CS201 2020 Final Paper Current by VU Answer-1.pdf (PDF · Final-Term)
- CS201 2020 Final Paper Current by VU Answer-1.pdf (PDF · Final-Term)
- CS201 2020 Final Paper Current by VU Answer.pdf (PDF · Final-Term)
- CS201 2020 Final Paper Current by VU Answer.pdf (PDF · Final-Term)
- CS201 2020 Final Paper Current by VU Answer.pdf (PDF · Final-Term)