Skip to content
VUBuddy

CS304 Midterm Past Paper 3

Object Oriented Programming PDF 67 KBUpdated 23 Oct 2026
Midterm past paper CS304 Midterm Past Paper 3 PDF 67 KB
vubuddy.com
Type
Midterm past paper
Course
CS304 Object Oriented Programming
Size
PDF 67 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 67 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 5. Download the file for all 5 pages.

MIDTERM EXAMINATION

SPRING 2007 CS304 - OBJECT ORIENTED PROGRAMMING (Session - 4 ) Marks: 40 Time: 90min

Student Name: Center Name/Code: Exam Date: Thursday, May 03, 2007

d. All coding questions should be answered using the C ++ syntax.

  1. 3. You are not allowed to use IDE (Dev-C++ or any) in your paper.
  2. This paper is closed handouts.

Question Marks Total

Q1. ( Marks: 1 )

The main function of scope resolution operator (::) is, To define an object

To define a data member

  1. To link the definition of an identifier to its declaration

All of the given

Q2. ( Marks: 1 )

What is a class?

  1. A class is a section of computer memory containing objects.
  2. A class is a section of the hard disk reserved for object oriented programs
  3. A class is the part of an object that contains the variables.
  4. A class is a description of a kind of object.

Q3. ( Marks: 1 )

Which of the following features of OOP is used to derive a class from another?

  1. Encapsulation
  2. Polymorphism
  3. Data hiding
  4. Inheritance

Q4. ( Marks: 1 )

Which of the following is an advantage of OOP?

  1. OOP makes it easy to re-use the code
  2. It provides an ability to create one user defined data type by extending the other
  3. It provides the facility of defining Abstract data types through which real world entities can be defined better
  4. All of the given options

Q5. ( Marks: 1 )

Objects having identical characteristics belong to

  1. Same class
  2. Two different classes
  3. Any number of different classes
  4. Objects can not have identical characteristics

Q6. ( Marks: 5 )

Write any two advantage(s) of declaring a member function as const?

Q7. ( Marks: 10 )

Write the code for Deep copy constructor for the given class. class MidTerm

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.