Skip to content
VUBuddy

CS201 Final Term MCQs by Miss Mehwish

Introduction to Programming PDF 3.1 MBUpdated 23 Oct 2026
Final term past paper CS201 Final Term MCQs by Miss Mehwish PDF 3.1 MB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 3.1 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 3.1 MB

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 1, 2, 3 of 72. Download the file for all 72 pages.

CS201 · Introduction to Programming · Final Term (Live Quiz) · Past Papers for Mids./Finals are also Available

Q1. One ✔️

Zero

Two

Q2. Identify the correct method of adding two strings, s1 and s2.

s1, s2+

strcat(s1, s2);

s1+s2 ✔️

s1+s2 and strcat(s1,s2)

Q3. *this is a pointer that always points to

A Value of data member

Current pointer of the class

Current object of the class ✔️

Current function of the class

Q4. Let suppose

int a, b, c, d, e; a = b = c = d = e = 42; This can be interpreted by the compiler as:

(a = b = (c = (d = (e = 42)))); ✔️

a = b = (c = (d = (e = 42)));

a = (b = (c = (d = (e = 42))));

(a = b) = (c = d) = (e = 42);

Q5. When the compiler overloads the assignment (=) operator by default, then:

Compiler does member wise assignment. ✔️

Compiler does not do member wise assignment.

Compiler does not allow default assignment operator

Class members are not assigned properly

Q6. What is the function of the following statement to delete an array of 5 objects named ‘arr’ allocated using the new operator?

delete arr;

Results in syntax error ✔️

Deletes only one object of array

Deletes all the objects of array

Do not delete any object

Q7. The only operator that the compiler overloads for user-defined data types by default is:

Minus (-) operator

Q8. a member function?

Q9. What is the meaning of a bad bit in I/O operation:

Lost data

Wrong data

Bad data

Error in data ✔️

Q10. Overloaded member operator function is always called by _______.

Primitive data type

Object ✔️

Compiler

Class

Q1. What is meant by the following statement?

String str[5] = {String(“Programming”), String(“CS201”)};

Default constructor will be called for all objects of array

Parameterized constructor will call for first 2 objects and default constructor for remaining objects

Default constructor will call for first 2 objects and parameterized constructor for remaining objects

Parameterized constructor will be called for all objects of array

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.