Prof. (Dr. ) Harish Kumar MittalProfessor · Researcher · Educator
PBLJ eBook Course contents

Project Based Learning in Java · 24CSH-301 / 24ITH-301

Unit 1 Laboratory Worksheets

Mid Semester Test (MST) is an assessment held during the semester to check progress on the covered course material. Course Outcome (CO) states what a learner should be able to do after the course; CO1 to CO5 label the five syllabus outcomes.

Three guided experiment worksheets connect Core Java, object-oriented programming, and exception handling with graded Easy, Medium, and Hard implementation tasks. The Laboratory MST provides four balanced practical sets based on these worksheets. 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

Object-Oriented Programming (OOP) organises software around objects that combine state with behaviour.

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
1.3

Input Validation, ATM, and University Enrolment

Automated Teller Machine (ATM) is a self-service banking terminal; these exercises simulate its withdrawal and validation rules.

CO2, CO3

Use built-in and custom exceptions to keep application state valid and provide clear recovery messages.

Personal Identification Number (PIN) is a secret numeric code used to help verify a user's identity.

  • 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

  1. Review the linked prerequisite concepts before starting the task.
  2. Attempt the problem statement and algorithm independently.
  3. Compare the implementation with the explained program and sample output.
  4. Test boundary and invalid cases, not only the sample values.
  5. Complete the viva questions and submission checklist.