Roll No.
Dr. Mahalingam College of Engineering and Technology Bloom’s
(An Autonomous Institution, Affiliated to Anna Cognitive
University, Chennai.) Q. CO
Continuous Comprehensive Evaluation Test-I Question Level
No No.
(2023 Regulations) Quest
Name of the Programme(s): B.E Electronics & Communication CO
ion
Engineering
Design and implement a Java program for a
Course Code & Course Title: 23ECE037 & Java Programming
7 Hotel Room Booking System using Object
Course Category: Major
(a) Oriented Programming concepts such as class, CO1 AP AP
Level of Course: Intermediate
(i) object, inheritance, and polymorphism.
QP is common to: ECE &ACT
(8 Marks)
Date of Exam: 09.03.2026
Construct a Java program to demonstrate the
use of any two operators in Java, such as
Part- A Short Answer Questions (6X2=12 Marks) 7 arithmetic and relational operators, by
(a) accepting input values from the user, CO1 AP AP
Bloom’s
(ii) performing the required operations, and
Cognitive displaying the results with suitable messages.
Q. CO
Question Level (8 Marks)
No No.
Quest Or
CO
ion 7
Design a Java application to calculate salaries CO1 AP AP
(b)
for Permanent and Contract employees using
1 Define method overloading and method CO1 U AP (i)
inheritance and method overriding. (8 Marks)
overriding. State any two differences.
7 Implement a Java program to demonstrate
2 Write a Java program to demonstrate arithmetic CO1 AP AP
(b) constructor overloading with suitable output. CO1 AP AP
and relational operators with sample output.
3 CO1 U AP (ii) (8 Marks)
Mention the uses of the final keyword in Java.
4 Write a Java program to print numbers from 1 CO2 AP AP 8 Develop a Java program to calculate electricity
to 10 using a for loop. (a) CO2 AP AP
bill using conditional statements. (8 Marks)
(i)
5 Illustrate with example the use of switch case CO2 U AP
statement. Construct a Student Result Management
8
6 List Java Built-in Exception and write the CO2 U AP (a)
System using arrays and conditional CO2 AP AP
importance of finally block. statements to compute total, average, grade,
(ii)
Part- B Descriptive questions (2X16=32 Marks) and rank. (8 Marks)
Version. 2
Or b. Issue and return books
8 Examine the thread life cycle by creating c. Display available books
(b) multiple threads and analyzing their state CO2 AP AP
(i) transitions d. Use arrays or Array List and exception
8 Develop a Java program to handle user-defined handling Provide class structure and
(b) CO2 AP AP sample output.
exceptions for invalid age in a voting system.
(ii)
(8 Marks)
(16 Marks)
Part- C Scenario Based Question (1X16=16 Marks)
Bloom’s
Cognitive
Q. CO Level
Question
No No.
Quest
CO
ion
Design and implement a Banking Management
System using Java that includes:
a. Account creation
b. Deposit and withdrawal
9 CO1 AP AP
c. Balance enquiry
(a)
d. Exception handling for insufficient
balance
Explain the class design and provide sample
output (16 Marks)
Or
9 Develop a Mini Library Management System CO2 AP AP
(b) using Java with the following features:
a. Add books
Version. 2
Version. 2