advanced java micro
advanced java micro
Sr.
No. Characteristic to be Poor Average Good Excellent
assessed (Marks 1- (Marks 4- (Marks 6 - 8) (Marks 9-
3) 5) 10)
(A) Process and Product Assesssment (Convert above total marks out of 6 marks)
1 Relevance to the Course
Literature Survey /
2 Information
Collection
Completion of the Target as
3 per project proposal
Analysis of data and
4 Representation
5 Quality of Prototype / Model
6 Report Preparation
(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)
8 Presentation
9 Viva
Micro – Project Evaluation Sheet:
1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
SHRI H. H. J. B POLYTECHNIC,
CHANDWAD-423101 (Nashik)
MICRO PROJECT
Academic year 2024-25
TITLE OF PROJECT
Railway Reservation System
2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify Chordiya Siddhi Rajeshof 5th Semester of Diploma in Computer
Technology of Institute, SHHJB POLYTECHNIC, CHANDWAD (Code: 0079) has
completed the Micro-Project satisfactorily in Subject Advanced Java Programming for the
academic year 2024- 2025 as prescribed in the curriculum.
Place: CHANDWAD
Date: / /2024
3
INDEX
Part A
Part B
4
PART A-Plan
1.0 Brief Description: An online class test is an assessment conducted over the internet, typically as part of a
course or educational program. It can take various forms, such as multiple-choice questions, short answers, or
essays, and is designed to evaluate students' understanding of the material covered in the course.
Resources Required:
Sr.No Name of Resource/Material Specification Quantity Remarks
1. Computer (Desktop/Laptop) i3,RAM 2GB 1
2. Microsoft office word 2010 1
3. Books
4. Websites
5. Softwares Notepad,browser 1
5
PART B-Plan
1.0 Brief Description: Railway Reservation is an automated platform designed to facilitate the booking,
cancellation, and management of railway tickets. It aims to simplify the process for passengers by providing an
online system where users can easily search for trains, check seat availability, book tickets, and make payments
securely. The system also includes an administrative panel for railway authorities to manage train schedules,
reservations, and user data.
6
7
PROGRAM:
import java.awt.*;
import
java.awt.event.*;
import java.util.*;
public RailwayReservationAWT() {
// Predefined train data
trains = new
ArrayList<>();
trains.add(new Train("101", "Rajdhani Express", "Delhi", "Mumbai", "10:00 AM", "8:00
PM", 100));
trains.add(new Train("102", "Shatabdi Express", "Delhi", "Chennai", "12:00 PM",
"10:00 PM", 150));
trains.add(new Train("103", "Duronto Express", "Kolkata", "Delhi", "2:00 PM", "12:00
AM", 200));
// Add components to
Frame add(sourceLabel);
add(sourceField);
add(destinationLabel);
add(destinationField);
add(searchButton);
add(new Label("Train Number for Booking/Canceling:"));
add(trainNumberField); 8
add(bookButton);
add(cancelButton
);
add(outputArea);
@Override
public void actionPerformed(ActionEvent e)
{ Button sourceButton = (Button)
e.getSource();
if (sourceButton.getLabel().equals("Search
Trains")) { String source =
sourceField.getText().trim();
String destination =
destinationField.getText().trim(); Train
foundTrain = searchTrain(source, destination); if
(foundTrain != null) {
outputArea.setText(foundTrain.toString());
} else {
outputArea.setText("No trains found for the given route.");
}
} else if (sourceButton.getLabel().equals("Book
Ticket")) { String trainNumber =
trainNumberField.getText().trim(); boolean success
= bookTicketForTrain(trainNumber);
if (success) {
outputArea.setText("Ticket booked successfully!");
} else {
outputArea.setText("No available seats for this train.");
}
} else if (sourceButton.getLabel().equals("Cancel
Ticket")) { String trainNumber =
9
trainNumberField.getText().trim();
cancelTicketForTrain(trainNumber);
}
}
if (train.getSource().equalsIgnoreCase(source) &&
train.getDestination().equalsIgnoreCase(destination)) {
return train;
}
}
return null;
}
this.totalSeats = totalSeats;
this.availableSeats = totalSeats;
}
@Override
public String toString() {
return String.format("Train No: %s, Train Name: %s, Source: %s, Destination: %s,
Departure: %s, Arrival: %s, Available Seats: %d",
trainNumber, trainName, source, destination, departureTime, arrivalTime,
availableSeats);
}
}
}
12
13
14
OUTPUT OF THE PROGRAM:
15
16
Skill Developed:
1. Understanding complex problems (e.g., seat allocation, payment processing) and designing logical
solutions.
8.0 CONCLUSION:
This methodology is designed to be iterative, where after each phase, feedback from
stakeholders and users will be integrated into the development process to continuously
improve the Railway Reservation System. The project will follow a waterfall approach with
room for improvements during testing and maintenance, or an agile approach where iterative
development is more suitable, depending on team preferences.
17