CMS COLLEGE OF ENGINEERING AND TECHNOLOGY
(An Autonomous Institution)
(Affiliated to Anna University, Chennai | Approved by AICTE, New Delhi
Accredited by NAAC – ‘A’ Grade )
Appachigoundenpathy, Kummittipathi (PO), Coimbatore – 641 032.
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
CONTINUOUS INTERNAL ASSESSMENT –I SET 1
Sub. Code : CS25C09 Date & Sess. : 13.08.2026 &FN
Subject : Java Programming Max. Marks : 60
Department : B.E. AIML Duration : 90 min
Year : II Semester : III
COURSE OUTCOMES:
CO1 Describe the object-oriented features of Java programming for developing robust applications
CO2 Analyze object-oriented constructs to understand program flownand exception management.
CO3 Evaluate appropriate Java programming constructs in different scenarios
Part A (Answer all Questions) 5 x 2 = 10 Marks
[Link] Questions CO# BT
1 State the purpose of the static keyword in Java. Give one example. CO1 K1
2 Distinguish between method overloading and method overriding. CO1 K1
3 Define annotations in Java. Mention any two commonly used annotations. CO2 K1
4 State the purpose of Generics in Java? State any two advantages. CO2 K1
5 List any four commonly used methods of the String class. CO3 K1
Part B (Answer all Questions) 5×10=50 Marks
[Link] Questions Marks CO# BT
Describe the concepts of classes and objects. Develop a Java program to
6 a 10 CO1 K3
demonstrate object creation and method invocation.
(or)
b Discuss various operators in Java with suitable examples. 10 CO1 K2
Explain the different types of constructors in Java. Write a Java program
7 a 10 CO1 K3
using default and parameterized constructors.
(or)
b Discuss the types of inheritance supported in Java with suitable examples. 10 CO1 K3
8 a Discuss different ways of creating threads with suitable Java programs. 10 CO2 K2
(or)
b Explain thread life cycle with suitable examples. 10 CO2 K3
9 a Discuss constructors, methods, and applications of enums with examples. 10 CO2 K3
(or)
b Explain autoboxing with suitable programs. 10 CO2 K3
10 a Compare String, StringBuffer, and StringBuilder with suitable examples 10 CO3 K3
(or)
b Explain the concepts of immutable strings, mutable strings. 10 CO3 K2
Faculty-in-Charge Approved by
CMS COLLEGE OF ENGINEERING AND TECHNOLOGY
(An Autonomous Institution)
(Affiliated to Anna University, Chennai | Approved by AICTE, New Delhi
Accredited by NAAC – ‘A’ Grade )
Appachigoundenpathy, Kummittipathi (PO), Coimbatore – 641 032.
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
CONTINUOUS INTERNAL ASSESSMENT –I SET 2
Sub. Code : CS25C09 Date & Sess. : 13.08.2026 &FN
Subject : Java Programming Max. Marks : 60
Department : B.E. AIML Duration : 90 min
Year : II Semester : III
COURSE OUTCOMES:
CO1 Describe the object-oriented features of Java programming for developing robust applications
CO2 Analyze object-oriented constructs to understand program flownand exception management.
CO3 Evaluate appropriate Java programming constructs in different scenarios
Part A (Answer all Questions) 5 x 2 = 10 Marks
[Link] Questions CO# BT
1 Define a class. How does it differ from an object? CO1 K1
2 Define inheritance. List any two types of inheritance supported in Java CO1 K1
3 What is the purpose of the finally block in exception handling? CO2 K1
4 Differentiate between a process and a thread? CO2 K1
5 Differentiate between the String, StringBuffer, and StringBuilder classes CO3 K1
Part B (Answer all Questions) 5×10=50 Marks
[Link] Questions Marks CO# BT
Explain the features and principles of Object-Oriented Programming with
6 a 10 CO1 K2
suitable examples.
(or)
b Explain the JDK, JRE and JVM. 10 CO1 K2
7 a Write a Java program to demonstrate the use of control statements. 10 CO1 K3
(or)
b Explain the role of constructors and methods in the program. 10 CO1 K2
8 a Explain the steps involved in creating a package with a suitable example. 10 CO2 K2
(or)
b Explain thread life cycle with suitable examples. 10 CO2 K3
9 a Discuss constructors, methods, and applications of enums with examples. 10 CO2 K3
(or)
b Explain autoboxing with suitable programs. 10 CO2 K3
10 a Explain the commonly used String methods in java. 10 CO3 K3
(or)
b Develop a Java program to perform string manipulation operations 10 CO3 K3
Faculty-in-Charge Approved by