CS201 Final Term MCQs Set 2 by VU Topper RM
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 554 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 18. Download the file for all 18 pages.
Q1. Vu-Topper RM (1 marks)
The statement cin.get (); is used to________. A. Read a string from file B. Read a character from file C. Read a string from keyboard
D. Read a character from keyboard Page 426
Q2. Vu-Topper RM (1 marks)
Ostream is a _______________ operator. A. None B. Member C. Dependent
D. Standalone
Q3. Vu-Topper RM (1 marks)
Overloaded member operator function is always called by ___ A. Class B. Object C. Compiler D. Primitive data types
Q4. Vu-Topper RM (1 marks)
The second parameter of operator function for >> operator must always be passed A. By value
B. By reference
C. None of the given option D. Function takes no argument
Q5. Vu-Topper RM (1 marks)
If text is a pointer of type String, then what will be the functionality of following statement?text = new string [5]; A. Creates a string object B. Creates array of of pointer to string C. Creates array of 5 objects statistically
D. Creates array of 5 objects dynamically
Q6. Vu-Topper RM (1 marks)
When operator function is implemented as member function then return type of function ____.
A. Can be any data type
B. Must be built – in data type C. Must be user defined data type D. Must be an object of same class
Q7. Vu-Topper RM (1 marks)
Which of the following syntax is best used to delete an array of 5 objects named ‘string’ allocated using new operator. A. Delete string; B. Delete [] string; C. Delete string [1];
D. Delete string [5];
Q8. Vu-Topper RM (1 marks)
What is the difference between cout and cerr?
Correct answer: Cout is standard output and cerr is not a standard output
Q9. Vu-Topper RM (1 marks)
We cannot define friends for the _____ that are already written and not in our control.
A. Classes
B. Functions C. Destructor D. Constructors
Q10. Vu-Topper RM (1 marks)
With user data type variables (Objects) self assignment can produce A. Link error B. Syntax error
C. Logical error
D. Run time error
Q11. Vu-Topper RM (1 marks)
When an operator function is defined as member function for a binary Plus (+) operator then the number of extra arguments it takes is/are.
A. One
B. Five C. Zero D. N arguments
Related CS201 files
All CS201 files →- CS201 Final Term MCQs and Short Notes 2023 by Learning Zone Final term PDF 279 KB
- CS201 Final Term Quiz Spring 2026 Final term PDF 683 KB
- CS201 Final Term MCQs File 2 Final term PDF 451 KB
- CS201 Final Term Solved Subjective by Junaid Final term PDF 1.1 MB
- CS201 Highlighted Handouts by Mickey Ch Highlighted PDF 5.1 MB
- CS201 Quiz 3 by VU Topper RM Quiz PDF 614 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.