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

Third Series Java

This document is an examination paper for the Fourth Semester B. Tech Computer Science & Engineering students at the University of Calicut, focusing on Object Oriented Programming using Java. It consists of two parts: Part A requires answers to two questions worth 5 marks each, and Part B consists of four questions worth 10 marks each. Topics include debugging, constructors, variable types, loop statements, decision-making statements, exception handling, and polymorphism.
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)
2 views1 page

Third Series Java

This document is an examination paper for the Fourth Semester B. Tech Computer Science & Engineering students at the University of Calicut, focusing on Object Oriented Programming using Java. It consists of two parts: Part A requires answers to two questions worth 5 marks each, and Part B consists of four questions worth 10 marks each. Topics include debugging, constructors, variable types, loop statements, decision-making statements, exception handling, and polymorphism.
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

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)

You might also like