CS201 GRAND QUIZ FILE (NEW) BY NIMRA KHAN.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
PDF
Type
Quiz
Coverage
Quizzes & Objective Exam Scope
Tags
GRAND-QUIZ

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

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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 GRAND QUIZ FILE (NEW) BY NIMRA KHAN.pdf for free?

You can preview and download "CS201 GRAND QUIZ FILE (NEW) BY NIMRA KHAN.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-grand-quiz-file-new-by-nimra-khan-pdf-2) 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
          GRAND QUIZ FILE (NEW)
              ALMOST 800 + MCQS
                    BY NIMRA KHAN

1. ------ is used for input file or for reading from the file.
Tellg()

2. Following is the declaration a ------- array. Int arr[2][2][2]
3-demensional

3. ! ( x < 3 ) means in c++ that
X is greater than 3

4. Which of the following option is correct to compare the
declaration of the function?
---------- (parameter1, parameter2)
{
// code to be executed

}
Void functionNAME

5. Ofstream is ued for --------
Output file stream

6. By default, the starting index of an arrar in c++ is ____
0

7. How we declare an array of integer data whose size is 20 with
array name “count”.
Int count [20];

8. Which of the following is a reserve word for data types in c/c++?
Int

9. C was developed with the help of ----------- language
BCPL and B

10. An object of ----- class can be created for saving the
current position of any opened file before reading from the file.
Streampos

11. C ++ is a ----- language.
High level

12. In while loop, the loop counter is initialized at -----
Before entering the loop

13. What is the output of thw following code if the 3rd case is
true
Switch (var)
{Case ‘a’;
Cout<<”apple”<<endl;
Mango

14. ----------- character is used to indicate the end of the
string.
Null

15. Which of the following is used to perform bit-wise
exclusive OR operation?
|

16. If x = 11, and x % = 3, then value of x will be----
2

17. A variable of character data type occupies ---- bytes in
memory.
1

18. Null character is represented by ---- in c ++?
\0

19. In computer system there are mainly ---- type of
softwares.
2

20. There is pointer variable named ptr of type float. Which
type of variable address can be store by ptr?
Float

21. A character is stored in the memory in -----
Byte

22. X is an integer variable; what does x++ means,
Add 1 in x value

23. When we call a function, its control--------
Transfers to its definition

24. ‘\0’ takes ---- space in the memory.
1 byte

25. -------- will be used for enclosing function statements into
a block?
{}

26. How can we declare an array of characters whose size is
12 with array name “country”?
Char country[12];

27. Following is the declaration of a 2d array, how many
columns are declared for this array.
Int arr[3][2];
2

28. If we assign 2.06721 to an integer variable x, what will be
the output if we print x using cout<< statement?
2

29. We can access a global variable ----
From anywhere in the program

30. We use ---- to include all those functions which are
located in different files.
Linker

31. A character is stored in the memory in ----
Byte

32. Which is not true regarding structure?
We can declare array of structure

33. Mr. ahmad sleeps thirty hours every day. This sentence
is ----
Grammatically correct but illogical

34. ----- will explain the function of a program.
Comments

35. Char **argv can be read as ----
Pointer to pointer to char

36. What will be output of the following code?
String name [4] = {“ali”, “bilal”,“omer”, Ayesha”};
Cout<< name [0];
Ali

37. The data type before a function name represents its,
Return type

37. The expression ((a+b) = = 10) || ((x+y) = = 20) is true only if?

Either ((a+b) = =) OR ((x + y) = =20) is true

38. = operator is used for ----
Assigning values to varaibles

39. What is the use of ios::trunc mode?
To truncate an existing file to zero

40. X is an integer variable; what does x ++ means,
Add 1 in x value

41. Structures use ---- allocation.
Heap

42. What will be the size of the following character array?
Char name[] = “adeel”;
6

43. A ---- is an array of characters that can store number of
character specified.
String

44. ----- statement is used to terminate the processing of a
particular case and exit from switch structure.

Break

45. If y = 20 and z = y ++, then the valye of z will be------
2146. If
Int a = 17;
int b = 3;
double c = a/b;
what will be value of variable c?
5

47. What will be the output of the following code?
String grade [3] = {“a’, “b”, “c”};
Grade[2] = “f”;
Cout<< grade[2];
F

48. Declaration of two-dimensional array of integers having 3
rows and 5 columns is following?
Int arr [3][5];

49. A = a + 1; can be written as ----
A+ = 1;

50. A record is a group of related

Fields

51. What will be the result of arithmetic expression
6+48/4*3?
42

52. ---------- construct is used to execute a set of instructions
when a condition is true and other set when it is false?
If\else

53. If an array has 50 elements, what is allowable range of
subscripts?
0 – 49

54. If int a = 50; then the value of a/= 3; will be?
16

55. Which of the following option is/are correct about array?
Only one type of elements can store in an array

56. Whenever some number is added in an array name, it will
jump as many --- as the added number?
Rows

57. --------- returns true if c is a digit or a letter and false otherwise.
Int isalnum(int c)

58. which of the following is the default mode of the opening using of
ofstream class?
Ios::trunc

59. In which language the compiler of c language is written?
C

60. While loop executes at least?
One time

61. String are accessed by variable of type----
Char

62. Which of the following is the correct operator to compare the values of
two variables?
==

63. Not operator is a -----
Single input operator

64. Pointer points to a particular-----
Memory address

65. A function is a block of statements that can be defined once and used-
---in the program.
As many times as user wants

66. -------- function is used to find the number of characters in a string?
Strlen()

67. ! = operator is used to check whether the operand on the left-hand side
is------to the operand on the right-hand-side.
Not equal

68. A while loop may execute ----- or more times.
0

69. How we declare an array of integer data whose size is 20 with array
name “count”.
Int count[20];

70. A variable declared within a code block becomes ---- variable for that
block.
Local

71. If a file is opened with ios::out mode, then -------
We can write in this file

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank