Skip to content
VUBuddy

CS304P Graded Quiz 3 Jan 2026

Object Oriented Programming (Practical) PDF 31 KBUpdated 23 Oct 2026
Quiz CS304P Graded Quiz 3 Jan 2026 PDF 31 KB
vubuddy.com
Type
Quiz
Course
CS304P Object Oriented Programming (Practical)
Size
PDF 31 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 31 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, 5 of 8. Download the file for all 8 pages.

Quiz 1 - CS304

Question:

"cin" is an object of ____ class.

A. istream

B. instream C. ostream D. fstream Copied: 1/1/2026, 11:50:52 AM

Quiz 2 - CS304

Question:

In the case of public inheritance, private members of the base class will be _____________ in the derived class.

A. Protected

B. Hidden

C. Private D. Public Copied: 1/1/2026, 11:51:04 AM

Quiz 3 - CS304

Question:

Consider the code below,

class class1{ public: void func1(); };

class class2 : public class1 { };

Function func()1 of class1 is ______ in class2.

A. Public

B. Hidden C. Protected D. Private Copied: 1/1/2026, 11:51:14 AM

Quiz 4 - CS304

Question:

Which of the following is correct symbol of stream extraction operator?

  1. <<
  2. >
  3. <
  4. >>

Correct answer: >>

Copied: 1/1/2026, 11:51:25 AM

Quiz 5 - CS304

Question:

What will be the output of the following program?

Quiz's Gdb

A. 30

B. 40 C. 10 D. 20 Copied: 1/1/2026, 11:51:34 AM

Quiz 6 - CS304

Question:

Which of the following members of base class can be accessed in the derived class?

  1. Both Protected and Public
  2. Both Protected and Private
  3. All (Public, Protected, and Private)
  4. Both Public and Private

Correct answer: Both Protected and Public

Copied: 1/1/2026, 11:51:48 AM

Quiz 7 - CS304

Question:

What will be the output of the following program?

class House{

private:

All CS304P files →
CS304P Object Oriented Programming (Practical) All CS304P 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.