Number of Printed pages:01
Paper ID: 0204202 Paper Code: 24MCA202
HRIT UNIVERSITY, G.Z.B
First Sessional Examination,
Even Semester Session - (2024-25)
Name of Paper: Object Oriented programming
Time: - 1 Hr. 30min M. Marks-30
Note: - Attempt all of the following sections.
Section A
Q.1 Attempt all of the following parts: (1*6=6) C.O
.
a. What is java? what are the features of java? 1
b. What is a class? 1
c. What are the oops concepts? 1
d. What is inheritance? explain its types. 1
e. What is meant by multithreading? Explain. 1
f. Explain the Object-Oriented Programming Principles. 1
Section B
Q.2 Attempt any three of the following parts: (3*3=9) C.O
.
a. What is an array in Java? Explain with Example. 1
b. What is type casting? Explain its types with proper syntax and example. 1
c. Explain OOP’s Concept. 1
d. Why java became platform independent language? Explain. 1
e. Write a program to check weather given number is prime or not. 1
Section C
Q.3. Attempt all of the following parts: (5*3=15) C.O
a. What is the difference between Abstraction and Encapsulation? Explain with 1
example.
b. Explain any two relational operators in Java with example. 1
c. What is a Constructor? Explain types of Constructors in Java? 1