0% found this document useful (0 votes)
37 views

OOP Micro Project

Uploaded by

shambhupawar293
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

OOP Micro Project

Uploaded by

shambhupawar293
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

JSPM’s

RAJARSHI SHAHU COLLEGE OF


ENGINEERING,POLYTECHNIC

Department of Computer Engineering

Academic Year: 2024-25

CLASS- CO3K Subject- OBJECT ORIENTED PROGRAMMING USING C++ (313304)

Micro-Project Report

TITLE OF MICROPROJECT : Hostel Management System

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

This is to certify that Mr/Mrs

Shambhuraje Shivaji Pawar of Diploma In Computer Engineering of JSPM’s Rajarshi


Shahu College of Engineering Polytechnic (Code: 1620) has completed Micro projects of the
course OBJECT ORIENTED PROGRAMMING USING C++ (313304) as prescribed in the curriculum
for the academic year 2024 to 2025.

Place: Tathwade, Pune Enrollment No: 1. 23213360231

Date:_____________________

S.U.PURI Mrs. V.T. Thakare

(Course Incharge) (Head of Department)

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.

3. Course Outcome Addressed :


i) Understanding of Programming Concepts:
• Outcome: Demonstrate proficiency in programming languages, particularly C++.
• Addressed: By implementing the hostel management system using C++, students will apply core
programming concepts such as data types, control structures, functions, and object-oriented
programming (OOP).

ii) Application of Data Structures:


• Outcome: Utilize appropriate data structures to solve problems effectively.
• Addressed: The project employs data structures like structs and vectors to manage student
records and room allocations efficiently, reinforcing the importance of selecting suitable data
structures for specific applications

iii) Software Development Methodologies:

• Outcome: Apply software development methodologies in building functional applications.

• Addressed: Students engage in the software development lifecycle, including requirements


analysis, design, implementation, testing, and debugging, culminating in a functional application.

iv) Problem-Solving Skills:

• Outcome: Develop problem-solving and critical-thinking skills to address real-world challenges.

• Addressed: By creating a system that manages student accommodations, students enhance their
ability to analyze problems, design solutions, and implement them effectively.

v) Documentation and Presentation Skills:

• Outcome: Document and present project work clearly and concisely.

• 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) Action Plan: 9-16 weeks


Name of the
Sr. No. Details of activity Start date Finish responsible team
date member.

9. Proof Reading of Content


10. Editing of Content
11. Editing of Content
Shambhu Pawar
12. Completion of Report
13. Completion of Presentation
14. Viva
15. Presentation
16. Final Submission
5. Resources used

Sr.no Name of Resources Specifications Quan Remark


tity

1. Laptop HP Victus Gaming Laptop 1

16GB ram,144HZ,512 GB ssd

2. Internat

3. Reference Book 2
6.Micro project Program and Output:
#include <iostream>

#include <vector>

#include <string>

using namespace std;

struct Student {

string name;

string rollNumber;

int roomNumber;

bool paymentStatus; // true for paid, false for unpaid

};

class HostelManagementSystem {

private:

vector<Student> students;

int totalRooms;

int availableRooms;

public:

HostelManagementSystem(int totalRooms) : totalRooms(totalRooms), availableRooms(totalRooms) {}

void registerStudent() {

if (availableRooms == 0) {

cout << "No available rooms for registration." << endl;

return;

Student newStudent;

cout << "Enter student name: ";

getline(cin >> ws, newStudent.name);

cout << "Enter roll number: ";


getline(cin >> ws, newStudent.rollNumber);

newStudent.roomNumber = totalRooms - availableRooms + 1; // Assign next available room

newStudent.paymentStatus = false; // Initially unpaid

students.push_back(newStudent);

availableRooms--;

cout << "Student registered successfully! Room number: " << newStudent.roomNumber << endl;

void viewStudents() {

if (students.empty()) {

cout << "No students registered." << endl;

return;

cout << "\nRegistered Students:\n";

for (const auto& student : students) {

cout << "Name: " << student.name

<< ", Roll Number: " << student.rollNumber

<< ", Room Number: " << student.roomNumber

<< ", Payment Status: " << (student.paymentStatus ? "Paid" : "Unpaid") << endl;

void recordPayment() {

string rollNumber;

cout << "Enter roll number for payment: ";

getline(cin >> ws, rollNumber);

for (auto& student : students) {

if (student.rollNumber == rollNumber) {

student.paymentStatus = true;

cout << "Payment recorded for " << student.name << "!" << endl;
return;

cout << "Student not found!" << endl;

void displayAvailableRooms() {

cout << "Available Rooms: " << availableRooms << endl;

};

int main() {

HostelManagementSystem hms(10); // Example with 10 total rooms

int choice;

do {

cout << "\nHostel Management System Menu:\n";

cout << "1. Register Student\n";

cout << "2. View Students\n";

cout << "3. Record Payment\n";

cout << "4. View Available Rooms\n";

cout << "5. Exit\n";

cout << "Enter your choice: ";

cin >> choice;

switch (choice) {

case 1:

hms.registerStudent();

break;

case 2:

hms.viewStudents();

break;

case 3:

hms.recordPayment();
break;

case 4:

hms.displayAvailableRooms();

break;

case 5:

cout << "Exiting the system. Goodbye!" << endl;

break;

default:

cout << "Invalid choice! Please try again." << endl;

} while (choice != 5);

return 0;

OUTPUT:

Hostel Management System Menu:

1. Register Student

2. View Students

3. Record Payment

4. View Available Rooms

5. Exit

Enter your choice: 1

Enter student name: SHAMBHU PAWAR

Enter roll number: 52

Student registered successfully! Room number: 1


Hostel Management System Menu:

1. Register Student

2. View Students

3. Record Payment

4. View Available Rooms

5. Exit

Enter your choice: 2

Registered Students:

Name: SHAMBHU PAWAR, Roll Number: 52, Room Number: 1, Payment Status: Unpaid

Hostel Management System Menu:

1. Register Student

2. View Students

3. Record Payment

4. View Available Rooms

5. Exit

Enter your choice: 3

Enter roll number for payment: 52

Payment recorded for SHAMBHU PAWAR!


Hostel Management System Menu:

1. Register Student

2. View Students

3. Record Payment

4. View Available Rooms

5. Exit

Enter your choice: 4

Available Rooms: 9

Hostel Management System Menu:

1. Register Student

2. View Students

3. Record Payment

4. View Available Rooms

5. Exit

Enter your choice: 5

Exiting the system. Goodbye!

=== Code Execution Successful ===

You might also like