473,472 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Please Help Me to do A Simple Application

1 New Member
Thanks For Help...

The application is used by college staff to allocate students to rooms when they apply for hostel accommodation and de-allocate the rooms at the end of the semester.

Room allocation is performed on a semester basis. The college have 2 semesters in each academic year. Before the start of each semester, students may apply for hostel rooms for the coming semester. All rooms in the hostel are for single occupancy and are of the same type. There are 4 floors in the hostel with 8 rooms on each floor. The floor number is from 1 to 4 and the room numbers on each floor are from 1 to 8.

Students are required to fill in their name, registration number, and year and semester of study when they apply for a hostel room. (Note that all courses in the university are of three-year duration.)

By the end of each semester, all students currently occupying the rooms in the hostel are required to vacate them. They need to apply again, if they wish, for the next semester room allocation.


*Help me to design and implement classes to represent student and hostel room objects for the hostel room management application. Classes must have at least the following operations:
checking if a room is available or occupied
allocating a student to a room
de-allocating a room
getting the student who occupies a room
Jun 24 '07 #1
1 1969
nomad
664 Recognized Expert Contributor
Thanks For Help...

The application is used by college staff to allocate students to rooms when they apply for hostel accommodation and de-allocate the rooms at the end of the semester.

Room allocation is performed on a semester basis. The college have 2 semesters in each academic year. Before the start of each semester, students may apply for hostel rooms for the coming semester. All rooms in the hostel are for single occupancy and are of the same type. There are 4 floors in the hostel with 8 rooms on each floor. The floor number is from 1 to 4 and the room numbers on each floor are from 1 to 8.

Students are required to fill in their name, registration number, and year and semester of study when they apply for a hostel room. (Note that all courses in the university are of three-year duration.)

By the end of each semester, all students currently occupying the rooms in the hostel are required to vacate them. They need to apply again, if they wish, for the next semester room allocation.


*Help me to design and implement classes to represent student and hostel room objects for the hostel room management application. Classes must have at least the following operations:
checking if a room is available or occupied
allocating a student to a room
de-allocating a room
getting the student who occupies a room
Please read the site rules and you'll see that we only help you get your code right not right all the code for you.
Guidelines (http://www.thescripts.com/forum/faq.php?faq=thescripts_faq)

nomad
Jun 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Franco, Gustavo | last post by:
Hi, I have a question, and please I need a answer. How can I finalize a thread running with Application.Run (I need the message loop!!!) without call Thread.Abort?. I want to call...
6
by: Franco, Gustavo | last post by:
Hi, I have a question, and please I need a answer. How can I finalize a thread running with Application.Run (I need the message loop!!!) without call Thread.Abort?. I want to call...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
21
by: Galen Somerville | last post by:
My application receives and displays Heart sounds and ECG's in real time. This data comes from a proprietary USB 2.0 device. Unlike most USB devices, this data comes in short bursts of about 24...
22
by: Galen Somerville | last post by:
My application receives and displays Heart sounds and ECG's in real time. This data comes from a proprietary USB 2.0 device. Unlike most USB devices, this data comes in short bursts of about 24...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.