Skip to content
VUBuddy

CS304 Final Term Past Papers

Object Oriented Programming PDF 146 KBUpdated 23 Oct 2026
Final term past paper CS304 Final Term Past Papers PDF 146 KB
vubuddy.com
Type
Final term past paper
Course
CS304 Object Oriented Programming
Size
PDF 146 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 146 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 1, 2, 3 of 19. Download the file for all 19 pages.

Come and join us at WebLyceum

For Past Papers, Quiz, Assignments, GDBs, Video Lectures etc

Go to and click Register · In Case of any Problem Contact Administrators · Rana Muhammad Safdar (rana.sfdr ) · Bilal Farooq (bilal.zaheem ) · Come and join us at VU Social · For Non-Study Material Sharing, Chatting, etc, · Go to and click Register · (Weblyceum is not responsible for any solved content) · FINALTERM EXAMINATION · Fall 2009 · CS304- Object Oriented Programming (Session - 1)

Q1. Which one of the following terms must relate to polymorphism? (1 marks)

  1. Static allocation
  2. Static typing
  3. Dynamic binding
  4. Dynamic allocation

Correct answer: Dynamic binding

Q2. Multiple inheritance can be of type (1 marks)

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

Correct answer: All of the given

Q3. When a subclass specifies an alternative definition for an attribute or method of its superclass, it is _______ the definition in the superclass. (1 marks)

  1. overload
  2. overriding
  3. copy riding
  4. none of given

Correct answer: overriding

Q4. Like template functions, a class template may not handle all the types successfully. (1 marks)

  1. True
  2. False

Correct answer: True

Q5. It is sometimes useful to specify a class from which no objects will ever be created. (1 marks)

  1. True
  2. False

Correct answer: False

Q6. Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access (1 marks)

  1. public members of Derv.
  2. protected members of Derv.
  3. private members of Derv.
  4. protected members of Base.

Correct answer: protected members of Base.

Q7. A pointer to a base class can point to objects of a derived class. (1 marks)

  1. True
  2. False

Correct answer: True

Q8. A copy constructor is invoked when (1 marks)

  1. a function do not returns by value.
  2. an argument is passed by value.
  3. a function returns by reference.
  4. an argument is passed by reference.

Correct answer: a function returns by reference.

Q9. A function call is resolved at run-time in___________ (1 marks)

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

Correct answer: virtual member function.

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.