0% found this document useful (0 votes)
8 views1 page

Object Oriented Programming Exam Paper

Uploaded by

jyotiyadav0412
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Object Oriented Programming Exam Paper

Uploaded by

jyotiyadav0412
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Roll No...............

DRONACHARYA COLLEGE OF ENGINEERING, GURUGRAM


First Sessional Examination March, 2025
(Gurugram University, Gurugram)

Semester: VI Branch: ECE/EEE


QUESTION PAPER
Subject with Code: OBJECT ORIENTED PROGRAMMING
Time: 2 hours Max. Marks: 50
Note: All Questions are compulsory. Each question carries 10 marks.
Q. 1. Objective type / Short-answer type questions. (2.5x4=10)
i. Explain the term data abstraction. [CO1]
ii. Define polymorphism with example. [CO1]
iii. Write short notes on friend function. [CO1]
iv. Explain the structure of a class. [CO1]

Q. 2 (a) With the help of a program explain the concept of data encapsulation. [CO3]
(b) Differentiate between procedural and object oriented programming. [CO2]

Q. 3 (a) WAP to illustrate static data member of a class. [CO3]


(b) Explain Call by value with example. [CO2]

Q. 4 (a) How to access members of a class? Explain with program. [CO3]


(b) Explain basics data types used in object oriented programming. [CO2]

Q. 5(a) How to use constant keyword in OOPs? Illustrate with example. [CO3]
(b) What do you mean by recursion? Explain with program. [CO3]

You might also like