cs201 (quiz 4th solution file)(effort by abu huraira faraz) - Copy.pdf
Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 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
- Quiz
- Coverage
- Quizzes & Objective Exam Scope
Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.
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)
- 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 4th solution file)(effort by abu huraira faraz) - Copy.pdf for free?
You can preview and download "cs201 (quiz 4th solution file)(effort by abu huraira faraz) - Copy.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-4th-solution-file-effort-by-abu-huraira-faraz-copy-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 Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, 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
CS201 QUIZ NO: 4 SOLUTION FILE
EFFORT BY: ABU HURAIRA FARAZ
What Sapp: 0344 - 6224796
1. Templates provide way of abstracting ________ information. Answer: type
2. Class is a user defined __________ Answer: data type
3. New operator is used to allocate memory from the free store during. Answer: run time
4. Which one of the following is not a possible state for a pointer? Answer: point to a type
5. Local variable are stored in an area called ________ Answer: stack
6. Types of templates in c++ language are _______ Answer: 2
7. __________ Variables are those that are defined outside of main. Answer: Global
8. The return type of operator function for << operator is __________ Answer: reference of ostream class
(ostream&)
9. The return type of operator function for >> operator is __________ Answer: reference of istream class
(istream&)
10. The first parameter of operator function for << operator ________ Answer: must be passed by reference
11. What does the following statements mean? Int (*fp) (char*) Answer: pointer to function talking a char*
argument and returns an int.
12. When an object of a class is defined inside another class then, Answer: constructor of enclosing class will
be called first
13. Ostream is an _________ operator Answer: standalone
14. What is the role of constructor in classes? Answer: to initialize the data member of an object when it is
created
15. We cannot define friends for the ________ that are already written and not in our control. Answer: functions
16. A template function must have Answer: one are more than one argument
17. Ostream class is ________ are not under our control. Answer: built in
18. :: is called _______ Answer: scope resolution operator
19. How many destructors are allowed in a class? Answer: 1
20. A variable which is defined inside a function is called Answer: none of the given option
21. The first parameter of operator function for << operator _________ Answer: must be object of class
22. _______ Variables are defined in the main. Answer: local
23. Which value can we not assign to reference? Answer: null
24. Court << i << “ “;Court << d << “ “; Court << f ;
25. Above statement can be written within statement of one line as: Answer: cout << I << “ “cout << d << “
“Cout << f ;
26. When a variable is defined as static in a class than____________ Answer: only one copy is created for all
objects of this class
27. What is the use of function get operator? Answer: overloading the objects
28. What will happen when the function call operator is overloaded? Answer: it will not modify the functions
29. When an objects of a class is defined inside another class then, Answer: destructor of inner object will be
called first
30. Endl is a parameter-less __________ manipulator that insert the new line besides flushing the buffer. Answer:
built – in
31. The stream insertion and extraction operators are not already overloaded for _________Answer: built – in
data types
32. Variable are those that are defined outside of main. Answer: global
33. Ostream class is _______ and not under our control. Answer: built – in
34. Automatic variable are created on __________ Answer: stack
35. Templates provide way of abstracting _________ information. Answer: type
36. Which of the following is an example of static memory allocation? Answer: array
37. Variable are defined in a main. Answer: local
38. Variable are used to maintain state. Answer: static
39. Local variable are stored in an area called ________ Answer: stack
40. :: is called Answer: scope resolution operator
41. Variable has a single copy for the whole class. Answer: local
42. Static variable which is defined in a function is initialized ________ Answer: only once during its life time
43. The operator used for dereferencing or indirection is __________ Answer: *
44. What does STL stand for? Answer: standard template library
45. Local variable are stored in an area called _______ Answer: free memory
46. The stream insertion and extraction operators are not already overloaded for ________ Answer: user –
defined data types
47. What is stl constructor? Answer: a constructor to initialize an object with the values of another object.
48. In the member initializer list the data members are initialized. Answer: in the order in which they are
defined within class
49. Which one of the following is not a possible state for a pointer? Answer: hold the address of the specific
object
50. Local variable are stored in an area called __________ Answer: stack
51. The first parameter of operator function for << operator __________ Answer: must be passed by reference
52. Static data members of a class can be _____________ Answer: public and private
53. In statement Matrix m2 = m1; Answer: Assignment operator is being used
54. The operator function for << (stream insertion) >> and stream extraction must be Answer: non-member
function of class
55. Choose the right option. String* x, y; Answer: x is a pointer to a string, y is a string
56. Which one of the following is not a possible state for a pointer? Answer: point to a type
57. Class is a user defined ____________ Answer: data type
58. What does the following statement mean? Answer: pointer to a pointer
59. Automatic variable are created on __________ Answer: stat storage
60. New operator allocates memory from free state and return ___________ Answer: a pointer/ a float
number/an integer number
61. When an object of a class is defined inside another class then, Answer: none of the given option
62. What is role of a constructor in classes? Answer: to initialize the data members of an object when it is
created
63. To get the memory address of a variable we use _______ Answer: &
64. When a variable is defined as static in a class than____________ Answer: a copy of this variable is created
for only static objects.
65. Variable has a single copy for the whole class. Answer: static
66. We cannot define friends for the ________ that are already written and not in our control. Answer: classesMore CS201 files
- .trashed-1665071865-cs201p Lab quiz 13.pdf (PDF · Quiz)
- .trashed-1665071865-cs201p Lab quiz 13.pdf (PDF · Quiz)
- CS201 1st Quiz 10 MCQs.docx (DOC · Quiz)
- CS201 2nd Quiz By Qalb-e-Momin.pdf (PDF · Quiz)
- CS201 GRAND QUIZ FILE (NEW) BY NIMRA KHAN.pdf (PDF · Quiz)
- CS201 GRAND QUIZ FILE (NEW) BY NIMRA KHAN.pdf (PDF · Quiz)
- CS201 Grand QUIZ Solved BY Sonu.pdf (PDF · Quiz)
- CS201 Grand QUIZ Solved BY Sonu.pdf (PDF · Quiz)