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

Second Series S4 CSEJava

This document outlines the examination structure for the CS24 405 - Object Oriented Programming using Java course at the Institute of Engineering and Technology, University of Calicut. It includes two parts: Part A with four questions on Java concepts worth 10 marks total, and Part B with four questions focusing on inheritance, interfaces, multithreading, and synchronization, worth 20 marks total. The exam duration is 1 hour and 30 minutes, with a maximum score of 30 marks.
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

Second Series S4 CSEJava

This document outlines the examination structure for the CS24 405 - Object Oriented Programming using Java course at the Institute of Engineering and Technology, University of Calicut. It includes two parts: Part A with four questions on Java concepts worth 10 marks total, and Part B with four questions focusing on inheritance, interfaces, multithreading, and synchronization, worth 20 marks total. The exam duration is 1 hour and 30 minutes, with a maximum score of 30 marks.
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)
Second 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. Specify the different access specifiers in Java.


2. Explain inner class in java with example.
3. Explain the usage of final keyword in java.
4. Differentiate start() and run() method in multithreaded programming.
(2 x 5 marks = 10 marks)

Part B - Answer all questions.


(Each question carries 10 marks)

5. A) Explain Inheritance in Java. What are the different types of inheritance in java? (5 Marks)
B) Write a java program to implement arithmetic calculator using inheritance. (5 Marks)
Or
6. A) What is an Interface? Mention the rules to create an interface. (5 Marks)
B) Write a java program to implement arithmetic calculator using Interface. (5 Marks)

7. A) Define multithreading. Specify the benefits of multithreaded programming in java. (5 Marks)


B) Write a Java program that implements a multi-threaded program which has three threads. First
thread generates a random integer every 1 second. If the value is even, second thread computes
the square of the number and prints. If the value is odd the third thread will print the value of
cube of the number. (5 Marks)
Or
8. A) Write briefly about Java thread synchronization. (5 Marks)

B) Write a Java program that implements thread synchronization in a multi-threaded environment.


(5 Marks)

(2 x 10 marks = 20 marks)

You might also like