Cs201p LAB 1 and 2 quiz 1.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 Cs201p LAB 1 and 2 quiz 1.pdf for free?
You can preview and download "Cs201p LAB 1 and 2 quiz 1.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201p-lab-1-and-2-quiz-1-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
Cs201p Quiz 1 Spring 2022
LAB1 and 2 MCQs
Orange Monkey Team
NOTE:~
SUBJECT mera na hony key natey maine kisi v mcqs key anser confirm
nhe kiye hein but try maine apni best ke hey comment sey dekh ker
correction krli hey but phir bhe koi wrong mily to us mistake ko lazmi
mere video key description main or apny apny groups main inform
krdijiye ga …JAZAKALLAH
1. Identify the invalid option
Int* pi = 0;
2. Word processor is
Application software
3. Each pass through a loop is called a/an
Iteration
4. What is the correct syntax to declare an array of size 10 of int data type?
Int name[10];
5. Which of the following operator is used to access the value of variable pointer to by
a pointer
& operator
6. Analysis is the ____ step in designing a program
ORANGE MONKEY TEAM Page 1
First
7. Paying attention to detail in designing a program is _________.
Necessary
8. Statement in curly braces is
Must
9. The while loop becomes infinite.
When the condition is always true
10. Which of the following function(s) is/are included in stdlib.h header file?
Double atof(const char*nptr), int atol(const char*nptr) ….. 1 and 2 only both
11. If we want to store a string abc in an array str then the size of this array must be at
least
2
12. Char name[ ]= “Hello world”;
In the above statement a memory of ____ characters will be allocated to the array
name
11
13. Suppose we have declared a two dimensional array multi. To access elements using
pointer we should use referencing like ________.
*multi
14. Which of the following is the correct method to declare an array?
Data,type,array,name,[size]
15. What will be the output of the following code?
INt main(){
Int a(4)={1,2,3,4};
Cout<<a{2};
}
3
ORANGE MONKEY TEAM Page 2
16. Which of the following two arrays are copy able?
Int a[5]. Int b[5]
17. What will be the output of the following code?
Int main (){
Char str1{} = “Hello”;
Char str2{}=”World!”;
Cout<<strcat (str1,str2);
}
HelloWorld!
18. In C++ using if statement if we want to execute more than one statement then we
have to enclose all statement in ____________
{}
19. What is the output of the following statement?
Int I = 2.5;
Do (cout i*2;)
While (I > 3 && I < 10);
Error
20. Searching is easier when an array is already sorted.
True
21. If an array has 100 elements what is allowable range of subscripts?
0 – 99
22. What will be the value of a and b after executing the following statements?
A = 3; b = a++;
4,3
23. Which of the following function returns the size of a string variable?
ORANGE MONKEY TEAM Page 3
Strlen ( )
24. Computer can understand only machine language code.
True
25. If the file is not properly closed in the program, the program _______.
Terminate normally
26. Which of the following header file include string conversion functions?
String.h
27. The function of cin is
To read data from keyboard
28. IN C/C++ language the header file which is used to perform useful task and
manipulation
Ctype.h
29. The coding of a program is translated into machine language by ________.
Compiler
30. In C/C++ the algebraic expression (b2-4ac)/2a can be written as;
(b*b-4*a*c)/(2*a)
31. The coding of a program is translated into machine language by
Compiler
32. Which of the following expression is correct in C/C++ language?
X=X+3
33. __________ character is used to terminate a string
Null
34. In C++ atoi () function is used to convert __________.
Character string to integer
ORANGE MONKEY TEAM Page 4
35. Which of the following is an example of repetition structure?
While
36. Function declaration is a one-line statement in which we write the return type,
_____ of the function and the ______ of arguments.
Name, Data type
37. What will be the output of the following code?
Int main (){
Int a[4]={1,2,3,4};
Cout<<a[2];}
3
38. If the condition is not mode false in while loop, what will happen?
Local will become infinte
39. In C++ cout is known as ________.
Output stream
40. What will be the output of the following piece of code?
int square(int number){
int result = 0;
result = number *number;
return result;}
int main()
{
Cout<<square(9);
}
81
41. What will be the output of the following code?
Int main(){
Int number[5] = {10,20,30,40,50};
Cout<<(number+3)}
40
42. Which of the following is not a file opening mode?
Ios::trune
ORANGE MONKEY TEAM Page 5
43. Function declaration is a one-line statement in which we write the return type ____
of the function and the __ of argument
Name, Data type
44. In C++, the precise way to declare a pointer is.
Int*ptr;
More 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)