Skip to content
VUBuddy

CS304P Quiz 10 by Shahid and Ziddi

Object Oriented Programming (Practical) PDF 843 KBUpdated 23 Oct 2026
Quiz CS304P Quiz 10 by Shahid and Ziddi PDF 843 KB
vubuddy.com
Type
Quiz
Course
CS304P Object Oriented Programming (Practical)
Size
PDF 843 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 843 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 page 1 of 1. Download the file for all 1 page.

CS304P - Quiz No.10

Date: 03 July 2025

Q1. Virtual functions can be used in ________ ways.

  1. 2
  2. 8
  3. 6
  4. 0

Correct answer: 2

Q2. A class with pure virtual function is called ________ class.

  1. solid
  2. concrete
  3. normal
  4. abstract

Correct answer: abstract

Q3. Which keyword is used to achieve polymorphism?

  1. polymorphism
  2. poly
  3. virtual
  4. pure virtual

Correct answer: virtual

Q4. virtual void print(); is an example of_________________.

  1. virtual function
  2. pure virtual function
  3. template function
  4. simple function

Correct answer: virtual function

Q5. Suppose you have a function: void sum(); Choose correct syntax from the given options which will make this function pure virtual function.

  1. sum()=0;
  2. virtual void sum()=0;
  3. void sum() virtual=0;
  4. void sum()=0;

Correct answer: virtual void sum()=0;

VU TOOLKIT BY PARADOXCIAL

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.