Name………………………….
[Link] ……………………….
Institute of Engineering and Technology University of Calicut
Fourth Semester B. Tech Computer Science & Engineering (2024 Scheme)
Third Series Examination May - 2026
CS24 405 – OBJECT ORIENTED PROGRAMMING USING JAVA
Time: 1 Hour 30 Min. Maximum: 30 marks
Part A - Answer any two questions
(Each question carries 5 marks)
1. What is debugging? List the benefits of debugging in java.
2. What is a constructor? Illustrate the types of constructors in java with example.
3. What is a variable? Explain the three types of variable in java.
4. Write a java program to print odd and even numbers from an array.
(2 x 5 marks = 10 marks)
Part B - Answer all questions.
(Each question carries 10 marks)
5. Illustrate the usage of loop statements in java with example programs.
Or
6. Describe the decision making statements used in java with example programs.
7. Explain the mechanism of exception handling in java with example.
Or
8. Define polymorphism. Demonstrate the types of polymorphism in java with example.
(2 x 10 marks = 20 marks)