0% found this document useful (0 votes)
55 views

Oops

This document outlines the topics and questions for the CS8392 Object Oriented Programming exam. The exam has two parts: Part A consists of 10 short answer questions worth 2 marks each, covering topics like the definition of OOP, comparing classes and objects, OOP concepts, differences between C++ and Java, abstraction, inheritance, constructors, and class modifiers. Part B consists of 5 long answer questions worth 16 marks each, requiring explanations and code examples. Questions cover OOP features and constructors, defining classes and inheritance in Java, polymorphism and variables, access control, passing objects as parameters and returning objects from methods, the Object class, and inheritance and an inheritance example program.

Uploaded by

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

Oops

This document outlines the topics and questions for the CS8392 Object Oriented Programming exam. The exam has two parts: Part A consists of 10 short answer questions worth 2 marks each, covering topics like the definition of OOP, comparing classes and objects, OOP concepts, differences between C++ and Java, abstraction, inheritance, constructors, and class modifiers. Part B consists of 5 long answer questions worth 16 marks each, requiring explanations and code examples. Questions cover OOP features and constructors, defining classes and inheritance in Java, polymorphism and variables, access control, passing objects as parameters and returning objects from methods, the Object class, and inheritance and an inheritance example program.

Uploaded by

5016 V.Gayathri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Reg. No.

:
DMI COLLEGE OF ENGINEERING
DEPADEPARTMENT OF INFORMATION TECHNOLOGY
Mo- II (2021-2022: ODD Semester)
II Year / III Semester
Sub Code & Name: CS8392 -OBJECT ORIENTED PROGRAMMING
Max. : 100 Marks

PART-A (10×2 = 20 Marks)

1) Express what is meant by Object Oriented Programming.


2) Compare class and object.
3) List the core OOP’s concepts.
4) Tabulate the difference between C++ and Java.
5) Discuss what is meant by abstraction.
6) Examine the importance of inheritance.
7) Summarize the characteristics of constructor function.
8) What is a default constructor? Illustrate.
9) Identify what are the two ways of using super keyword.
10) What modifiers may be used with top-level class?

PART – B(16*5=80)

1) i.Explain OOPS and its features.


ii.Summarize about the usage of constructor with an
example using Java.
2) i.What is class? How do you define a class in Java?
ii.Examine the use of inheritance and class hierarchy.
3) i.Define polymorphism.
ii.Describe variables and operators in Java.
4) Examine how to control top level and member level access
for the members of the class.
5) Design with an example how passing objects as
parameters to methods and returning objects from
methods in Java.
6) Describe in brief about object class and its methods in Java
with suitable example.
7) i.Describe in detail about inheritance.
ii.Write a program for inheriting a class.

You might also like