0% found this document useful (0 votes)
18 views13 pages

Adj HMS

Uploaded by

maniyarsohanaz24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views13 pages

Adj HMS

Uploaded by

maniyarsohanaz24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Sr. No. Contents Page No.

Annexure I– Micro Project Proposal 1-2

1.Aims/Benefits of the Micro-Project 1

2. Course Outcome Addressed 1

1 3.Proposed Methodology 1

4. Action Plan 2

5. Resources Required 2

6. Name of Team Members with Roll No.’s 2

Annexure II – Micro Project Report 3-8

1.Rationale 3

2.Aims/Benefits of the Micro-Project 3

3.Course Outcome Achieved 3

4. Literature Review 3

2 5.Actual Methodology Followed 4

5.1 Flow chart 5

5.2 Source code 4-6

6.Actual Resources Used 7

7.Outputs of Micro-Projects 8
8. Skill developed / Learning out of this Micro-
8
Project
9. Applications of this Micro-Project 8
Annexure – I

Hostel Management
System

1. Aim of the Micro-Project:


The aim of a micro project in a hostel management system is to develop a small, focused
application that automates a specific task or process within hostel operations, typically aiming to
improve efficiency, streamline data management, and reduce manual work involved in areas like
student registration, room allocation, fee payments, attendance tracking, or visitor management,
depending on the chosen micro-functionality.
2. Course Outcome Addressed:

1. Develop Programs Using GUI Framework (AWT and Swing)

2. Handle events of AWT and Swings components.

3. Develop Programs to handle events in Java Programming

3. Proposed Methodology
1. System Design and Requirements Gathering
2. Database Design
3. System Architecture
4. Development and Implementation
4. Action Plan

Sr. Planned Start Planned Name of


Details of Activity
No. date Finish date Responsible
Member
1 Search the topic 12/07/2024 19/07/2024

2 Choosing the topic for 26/07/2024 02/08/2024


microproject
3 Search the information 09/08/2024 16/08/2024

4 Collect the valid 23/08/2024 30/08/2024


All Team
information about project
Members
5 Develop a code with 6/09/2024 13/09/2024
Module
6 Taking screenshot 20/09/2024 27/09/2024
of project output
7 Making index and 04/10/2024 11/10/2024
certificate of project
8 Finalizing Project with its 25/10/2024 07/11/2024
report

5. Resources Required:
Sr.
No. Name of resource / material Specification Quantity Remarks

1 Computer WINDOWS 11, 64GB 1


RAM,
2 Operating System WINDOWS 7 1

3 Browser Chrome 1

6.Name of Team Members with Rollno’s

Rollno Name
14 Ladkhan Jahad
21 Abdul Muqeet
Annexure –
II
1. Rationale
A hostel management system is rational because it centralizes student information, automates
routine tasks, improves communication, enhances security, and allows for data-driven decision
making, ultimately leading to more efficient hostel operations and improved student experience
while minimizing manual work for staff.
2. Aim of the Micro-Project:
This software is developed to help computer science students to learn about the Web application
designing using JSP and HTML from their basic capabilities to build a complete working application
from 5 scratch. Further, it gives insight about how GUI interacts with server-side language, Java, and
finally with the Oracle database.

3. Course Outcomes Achieved:


1. Develop Programs Using GUI Framework (AWT and Swing)

2. Handle events of AWT and Swings components.

3. Develop Programs to handle events in Java Programming

4. Literature Review:
This is a design and implementation of an online Hostel Management System. “ ONLINE
HOSTEL MANAGEMENT SYSTEM ” is software developed for managing various activities in the
hostel. For the past few years the number of educational institutions is increasing rapidly. Thereby
the number of hostels is also increasing for the accommodation of the students studying in this
institution. And hence there is a lot of strain on the person who are running the hostel and software’s
are not usually used in this context. This particular project deals with the problems on managing a
hostel and avoids the problems which occur when carried manually. Identification of the drawbacks
of the existing system leads to the designing of computerized system that will be compatible to the
existing system with the system which is more user friendly and more GUI oriented. We can improve
the efficiency of the system, thus overcome the drawbacks of the existing system

5.Actual Methodology Followed:


A hostel management system typically operates by digitally recording and managing all student
details, including personal information, room assignments, fees, attendance, leave requests, and
visitor logs, allowing for streamlined administration through features like online applications, room
allocation based on availability and student preferences, automated fee calculations, real-time
updates on room occupancy, and the ability to generate reports on various aspects of hostel
operations, ultimately aiming to reduce manual work and improve efficiency in managing student
accommodation.
5.1 Flow Chart
5.2 Source Code

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.ArrayList;

// Hostel Management System Class


public class HostelManagementSystem {
// ArrayList to hold student data
private ArrayList<Student> students = new ArrayList<>();

public static void main(String[] args) {


SwingUtilities.invokeLater(() -> new HostelManagementSystem().createGUI());
}

// Create the GUI


public void createGUI() {
JFrame frame = new JFrame("Hostel Management System");
frame.setSize(600, 400);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLayout(new BorderLayout());

// Header
JLabel headerLabel = new JLabel("Hostel Management System", JLabel.CENTER);
headerLabel.setFont(new Font("Arial", Font.BOLD, 24));
frame.add(headerLabel, BorderLayout.NORTH);

// Buttons Panel
JPanel buttonPanel = new JPanel();
JButton addButton = new JButton("Add Student");
JButton viewButton = new JButton("View Students");
JButton exitButton = new JButton("Exit");

buttonPanel.add(addButton);
buttonPanel.add(viewButton);
buttonPanel.add(exitButton);
frame.add(buttonPanel, BorderLayout.SOUTH);
// Button Actions
addButton.addActionListener(e -> addStudent());
viewButton.addActionListener(e -> viewStudents());
exitButton.addActionListener(e -> System.exit(0));

frame.setVisible(true);
}

// Add Student Method


private void addStudent() {
JFrame addFrame = new JFrame("Add Student");
addFrame.setSize(400, 300);
addFrame.setLayout(new GridLayout(6, 2));

JTextField nameField = new JTextField();


JTextField ageField = new JTextField();
JTextField roomField = new JTextField();
JTextField feesField = new JTextField();
JTextField dateField = new JTextField();

addFrame.add(new JLabel("Name:"));
addFrame.add(nameField);
addFrame.add(new JLabel("Age:"));
addFrame.add(ageField);
addFrame.add(new JLabel("Room Number:"));
addFrame.add(roomField);
addFrame.add(new JLabel("Fees Paid:"));
addFrame.add(feesField);
addFrame.add(new JLabel("Join Date (YYYY-MM-DD):"));
addFrame.add(dateField);

JButton saveButton = new JButton("Save");


addFrame.add(saveButton);
addFrame.setVisible(true);

saveButton.addActionListener(e -> {
String name = nameField.getText();
int age = Integer.parseInt(ageField.getText());
int roomNumber = Integer.parseInt(roomField.getText());
double feesPaid = Double.parseDouble(feesField.getText());
String joinDate = dateField.getText();

// Add student to the ArrayList


students.add(new Student(name, age, roomNumber, feesPaid, joinDate));
JOptionPane.showMessageDialog(addFrame, "Student added successfully!");
addFrame.dispose();
});
}

// View Students Method


private void viewStudents() {
JFrame viewFrame = new JFrame("View Students");
viewFrame.setSize(600,700);

String[] columns = {"Name", "Age", "Room", "Fees Paid", "Join Date"};


String[][] data = new String[students.size()][5];

for (int i = 0; i < students.size(); i++) {


Student s = students.get(i);
data[i][0] = s.getName();
data[i][1] = String.valueOf(s.getAge());
data[i][2] = String.valueOf(s.getRoomNumber());
data[i][3] = String.valueOf(s.getFeesPaid());
data[i][4] = s.getJoinDate();
}

JTable table = new JTable(data, columns);


JScrollPane scrollPane = new JScrollPane(table);
viewFrame.add(scrollPane, BorderLayout.CENTER);

viewFrame.setVisible(true);
}
}

// Student Class to Hold Data


class Student {
private String name;
private int age;
private int roomNumber;
private double feesPaid;
private String joinDate;

public Student(String name, int age, int roomNumber, double feesPaid, String joinDate) {
this.name = name;
this.age = age;
this.roomNumber = roomNumber;
this.feesPaid = feesPaid;
this.joinDate = joinDate;
}

public String getName() {


return name;
}

public int getAge() {


return age;
}

public int getRoomNumber() {


return roomNumber;
}

public double getFeesPaid() {


return feesPaid;
}

public String getJoinDate() {


return joinDate;
}
}

6.Actual Resources Used:

Sr.
No. Name of resource / material Specification Quantity Remarks

1 Computer WINDOWS 11, 64GB 1


RAM,
2 Operating System WINDOWS 7 1

3 Browser Chrome 1
7.Outputs of Micro-Projects
8. Skill developed / Learning out of the Micro-Project
 We learn how to make the project of menu-driven programming in Java
 We learn how to make the coding and program.
 We learn how to edit the program and how to do the presentation for the project.
 We learn how to make the report for the project.
 These are all things we learn from the project.
9.Software Applications:-
 A user-friendly

 Easy to use

 Best for seamless property management

********

You might also like