Diploma in Computer Engineering – 5th Semester
Course Title: Java Programming Practice
Type of Course: OEC Level of Course: 4.5 Delivery Sub Type of the course: Practical
Course code: CSE-3-507-P No. of credits: 2 T-P-S (in Hrs) : 0-4-0 Learning hours: 60
Pre-requisite and Co-requisite of Course: Basic understanding of Computer Fundamentals,
Programming Concepts, Object-Oriented Programming concepts, Problem-Solving Techniques, and
Operating System concepts
Department: Computer Engineering
Course objectives:
1. To understand the practical implementation of Java programming language and object-oriented
programming concepts.
2. To develop Java programs using classes, objects, methods, constructors, arrays, strings, and
packages.
3. To implement inheritance, polymorphism, abstraction, exception handling, and file handling
concepts in Java applications.
4. To develop console-based, GUI-based, and database-connected applications using Java
programming.
5. To develop problem-solving and debugging skills for designing and implementing real-world Java
applications
Course Content
[Link]. Experiment / Program Statement Hrs.
1 Install JDK and configure Java programming environment. Write a Java program to 2
display personal details and formatted text output.
2 Write Java programs using variables, data types, and operators to perform arithmetic 3
calculations such as percentage and salary calculation.
3 Develop Java programs using input statements and conditional statements to find 3
largest number, grade calculation, and eligibility checking.
4 Write Java programs using loops to generate multiplication tables, factorials, prime 3
numbers, and Fibonacci series.
5 Develop Java programs using one-dimensional arrays for searching and sorting 3
operations.
6 Write Java programs using two-dimensional arrays for matrix addition and matrix 3
multiplication.
7 Create Java programs using classes and objects for Student Record Management or 4
Employee Management applications.
8 Develop Java programs using constructors and method overloading concepts. 3
9 Implement inheritance concepts in Java for applications such as bank accounts, vehicles, 4
or library systems.
10 Write Java programs to demonstrate method overriding and runtime polymorphism. 3
11 Develop Java programs using abstract classes and interfaces for real-world applications. 3
12 Write Java programs using String methods for concatenation, comparison, substring 2
extraction, and string reversal.
13 Create Java programs using Vector class to add, remove, search, and display records 2
dynamically.
14 Write Java programs using exception handling concepts such as try-catch, finally, throw, 3
and throws.
Course Content
[Link]. Experiment / Program Statement Hrs.
15 Develop Java programs to create, read, and write text files using file handling classes. 3
16 Create GUI applications using Swing components such as JFrame, JLabel, JButton, 4
JTextField, and JCheckBox.
17 Develop event-driven Java applications such as calculator, login form, or feedback form 4
using Swing and event handling.
18 Create Java applications using JDBC to connect with MySQL database and perform insert 3
and display operations.
19 Develop Java applications using JDBC to perform update and delete operations on 3
database tables.
20 Develop a mini project such as Student Record System, Library Management System, or 5
Inventory Management System using Java and database connectivity.
Scheme of Examination Maximum Marks Weightage
End of Semester Examination (EOSE) 100 70%
Continuous Assessment (CA) 100 30%
Total — 100%
Note: Learners shall obtain a minimum of 40% marks separately in both the End of Semester
Examination (EoSE) and Continuous Assessment (CA) components
Software and Application Recommended for Development
1. Java Development Kit (JDK 17 or above)
2. Apache NetBeans IDE / Eclipse IDE / IntelliJ IDEA Community Edition
3. MySQL Community Server and MySQL Workbench
Learning Outcomes:
Upon completion of the course, the learner will be able to:
1. Develop Java programs using object-oriented programming concepts such as classes, objects,
inheritance, polymorphism, abstraction, and interfaces.
2. Apply arrays, strings, vectors, exception handling, and file handling concepts in Java
applications.
3. Develop console-based and GUI-based Java applications using Swing components and event
handling techniques.
4. Create database-driven Java applications using JDBC and SQL queries.
5. Analyse, debug, and implement Java programs for real-world problem-solving applications.
Pedagogical approach
1. Ask learners to predict the output of programs, identify logical errors, and debug incorrect
programs before execution to strengthen analytical and problem-solving skills.
2. Conduct hands-on activities for developing console-based, GUI-based, and database-connected
Java applications such as billing systems, student management systems, and online registration
forms.
3. Encourage learners to redesign existing applications by adding new features, improving user
interface, or optimizing program logic to develop creativity and practical programming skills.
Additional information (if any)