Skip to content
VUBuddy

CS304 Quiz 3 by Sunrise Zeeshan

Object Oriented Programming PDF 2.5 MBUpdated 23 Oct 2026
Quiz CS304 Quiz 3 by Sunrise Zeeshan PDF 2.5 MB
vubuddy.com
Type
Quiz
Course
CS304 Object Oriented Programming
Size
PDF 2.5 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 2.5 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 73. Download the file for all 73 pages.

Cs304 Quiz no. 3 · All MCqs 100% Confirm · Sunrise Zeeshan · Contact For Quiz

Q1. A function call is resolved at run time in

  1. Non virtual members function
  2. Virtual member function
  3. Both non-virtual and virtual member function
  4. None of given

Q2. If the user does not specify the type if inheritance, then the default type of inheritance is

  1. Public inheritance
  2. Private inheritance
  3. Protected inheritance
  4. None of given

Q3. In case of private inheritance, private members of base class will be in derived class?

  1. Private
  2. Public
  3. Protected
  4. Hidden

Q4. Then int member i of base class is accessible in class,

  1. derived 1 only
  2. derived 2 only
  3. both derived 1 derived

Q5. In case of public inheritance, protected members of base class will be in derived class?

  1. Private
  2. Public
  3. Protected
  4. Hidden

Q6. By default assignment operator (=) performs,

  1. Shallow copy
  2. Deep copy
  3. Both of these
  4. None of these

Q7. In protected inheritance the public members of base class become _ in derived class.

  1. Public
  2. Private
  3. Protected
  4. None of the given

Q8. Compiler can automatically generates the following constructor/s for a class,

  1. Default constructor
  2. Copy constructor
  3. Both of these
  4. None of these

Q9. Friend’s functions of class are _ members of that class.

  1. Public
  2. Private
  3. Protected
  4. None of the given

Q10. Methodologies to the development of reusable software relate to.

  1. Structure programming
  2. Procedural programming
  3. Generic programming
  4. None of the given

Q11. Function overriding is done in context of,

  1. Single class
  2. Single derived class
  3. Single base class
  4. Derived and base classes

Q12. Which of the following is not type of inheritance in c++?

  1. Public
  2. Protected
  3. Restricted
  4. Private

Q13. If there is a pointer ,p, to objects of a base class and it contains the address of an object of a derived class and both classes contain a virtual member function, ding(),then the statement p- >ding(); will cause the version of ding in the class to be executed.

  1. Base
  2. Derived
  3. Virtual
All CS304 files →
CS304 Object Oriented Programming All CS304 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.