Project Based Learning in Java ยท 24CSH-301 / 24ITH-301
Unit 1 Laboratory Worksheets
Three guided experiment worksheets connect Core Java, object-oriented programming,
and exception handling with graded Easy, Medium, and Hard implementation tasks.
Collections and multithreading are covered in the Unit 2 laboratory.
Available
Experiments 1.1, 1.2, and 1.3
Learning evidence
Programs, sample output, viva, and submission checklist
Mapped outcomes
CO1, CO2, and CO3
Available
Core Java, OOP, and Exception Handling
Develop programs that apply control flow, strings, arrays, matrices, classes, and validation.
- Easy: Count vowels, consonants, digits, spaces, and special characters.
- Medium: Add, subtract, and multiply matrices after dimension checks.
- Hard: Implement account creation, deposit, withdrawal, and balance display.
Open worksheet
Apply classes, constructors, encapsulation, inheritance, abstraction, and runtime polymorphism.
- Easy: Build a Product class with constructors and a display method.
- Medium: Model a library with a Book base class and specialised subclasses.
- Hard: Develop a student-teacher system through an abstract Person class.
Open worksheet
Use built-in and custom exceptions to keep application state valid and provide clear recovery messages.
- Easy: Validate input for a square-root calculation.
- Medium: Simulate ATM withdrawal with PIN and balance exceptions.
- Hard: Manage university enrolment through custom exceptions.
Open worksheet
Recommended workflow
How to use each worksheet
- Review the linked prerequisite concepts before starting the task.
- Attempt the problem statement and algorithm independently.
- Compare the implementation with the explained program and sample output.
- Test boundary and invalid cases, not only the sample values.
- Complete the viva questions and submission checklist.