OOP Micro Project
OOP Micro Project
Micro-Project Report
GROUP NO. –
GROUP MEMBER:
ROLL NO NAME
52 SHAMBHURAJE SHIVAJI PAWAR
Maharashtra State
Board of Technical Education, Mumbai
(Autonomous) (ISO-9001-2008) (ISO/IEC 27001:2013)
CERTIFICATE
Date:_____________________
Seal Of Institute
1. Brief Description : The Hostel Management System Micro Project is a simplified software
application designed to facilitate the management of hostel accommodations for students. This
project aims to automate various administrative tasks, making the process of managing student
information and room assignments more efficient and organized.
2. Aim Of The Micro-Project: The aim of the Hostel Management Micro Project is to develop a
user-friendly software application that automates and streamlines the management of student
accommodations within a hostel. By implementing this project in C++, the goal is to create a practical
tool that addresses common administrative challenges faced by hostel managers.
• Addressed: By creating a system that manages student accommodations, students enhance their
ability to analyze problems, design solutions, and implement them effectively.
• Addressed: Students are encouraged to document their code, write user manuals, and present
their project, honing their communication skills and ability to articulate technical information.
4. Conclusion: The Hostel Management System serves as a practical tool for hostel
administration, simplifying operations and providing a better experience for both staff and students.
It can be further enhanced with additional functionalities based on specific needs and requirements.
1) Action Plan: 1-8 weeks
Name of the
Sr. No. Details of activity Start date Finish responsible team
date member.
1. Discussion of topic
2. Finalization of topic
3. Preparation of Abstract
Shambhu Pawar
4. Submission of abstract
5. Literature survey
6. Collection of data
7. Collection of data
8. Discussion of content
2. Internat
3. Reference Book 2
6.Micro project Program and Output:
#include <iostream>
#include <vector>
#include <string>
struct Student {
string name;
string rollNumber;
int roomNumber;
};
class HostelManagementSystem {
private:
vector<Student> students;
int totalRooms;
int availableRooms;
public:
void registerStudent() {
if (availableRooms == 0) {
return;
Student newStudent;
students.push_back(newStudent);
availableRooms--;
cout << "Student registered successfully! Room number: " << newStudent.roomNumber << endl;
void viewStudents() {
if (students.empty()) {
return;
<< ", Payment Status: " << (student.paymentStatus ? "Paid" : "Unpaid") << endl;
void recordPayment() {
string rollNumber;
if (student.rollNumber == rollNumber) {
student.paymentStatus = true;
cout << "Payment recorded for " << student.name << "!" << endl;
return;
void displayAvailableRooms() {
};
int main() {
int choice;
do {
switch (choice) {
case 1:
hms.registerStudent();
break;
case 2:
hms.viewStudents();
break;
case 3:
hms.recordPayment();
break;
case 4:
hms.displayAvailableRooms();
break;
case 5:
break;
default:
return 0;
OUTPUT:
1. Register Student
2. View Students
3. Record Payment
5. Exit
1. Register Student
2. View Students
3. Record Payment
5. Exit
Registered Students:
Name: SHAMBHU PAWAR, Roll Number: 52, Room Number: 1, Payment Status: Unpaid
1. Register Student
2. View Students
3. Record Payment
5. Exit
1. Register Student
2. View Students
3. Record Payment
5. Exit
Available Rooms: 9
1. Register Student
2. View Students
3. Record Payment
5. Exit