Object Oriented Programming - 2025
Mahatma Gandhi Central University, Bihar
B.Tech Computer Science & Engineering
Semester 5 Examination, 2025
Object Oriented Programming (CSET3136)
Assessment Questions
Object Oriented Programming (CSET3136) - 2025
Section A (MCQ)
Attempt all questions. Each question carries one mark.
- 1
Which statement is true about Java?
- 2
Which of the following language was developed as the first purely object programming language?
- 3
Which of the following is not a keyword in java?
- 4
To get a java source program running, it is first translated into
- 5
Which component is used to compile, debug and execute the java programs?
Section B (Short Answer)
Write briefly in 150 words (Short Answer Questions- 5 Marks). Attempt ANY TWO questions out of the followings. Each question carries 2.5 Marks.
- 1
What do you mean by type conversion and casting in java with example?
- 2
Differentiate between break and continue statement with a suitable example.
- 3
Explain different types of iterative construct used in java with an example.
Section C (Long Answer)
Write in 300 Words (Long Answer Questions – 10 Marks). Attempt ALL questions having internal choices. The question carries 5 marks.
- 1
Answer any ONE of the following
(a) What are the features of OOP? Explain each feature with a suitable example.
OR
(b) What is the difference between interface and abstract class?
- 2
Answer any ONE of the following
(a) Define method overloading and method overriding, what are the advantages of it? Explain with example.
OR
(b) Explain inheritance and it’s types with an example