Skip to content
VUBuddy

CS201 Final Term MCQs Set 2 by VU Topper RM

Introduction to Programming PDF 554 KBUpdated 23 Oct 2026
Final term past paper CS201 Final Term MCQs Set 2 by VU Topper RM PDF 554 KB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 554 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 554 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

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?

  1. Cout is unbuffered output and cerr is a buffered output
  2. Cout is not standard output and cerr is a standard output
  3. Cout is buffered output and cerr is not a unbuffered output
  4. Cout is standard output and cerr is not a standard output

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

All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.