Question

In: Computer Science

A boarding school in your area has asked you to design a simple system so that...

A boarding school in your area has asked you to design a simple system so that they could easily identify the students who are staying in the hostel rooms as well as the wardens who are in charge of each student blocks.

Each staff may be in charge of guarding a hostel block. This is not permanent because after certain duration the staff will change blocks. The guarding duty is rotational and not all the staff are required to do this duty. So it is important to keep track of the staff number, staff name and staff contact number as well as the start date and end dates of their guarding duties. The block name and location must also be recorded.

Each hostel block will have many rooms. The room details will be room number and room level. A student can occupy a room but might change rooms in different school terms. A room can be occupied by many students but in different terms. Not all rooms in a hostel block is used for student occupancy. Some rooms are used as store rooms and pantry.

There are many clubs in the school. The clubs are important so that students can enroll in extra co-curricular activities. The school has made it a rule that each student must enroll in at least one club. A club will have many students enrolled as members. The club details will be club name, club established date and the club fee. When a student registers in a club, the date of enrollment must be recorded.

Each student in the school will be assigned under one academic staff. A staff may be in charge of looking after many students. Not all staff are assigned students. The administrative staff will not be assigned any students. Once a student is assigned under the care of a staff, it will be permanent until the day they end their studies in the school. It is very important to know which staff is assigned to which student. Student’s details such as student number, name, name of their guardian as well as the guardian’s contact number must be recorded in case they need to be contacted.

Based on the situation given above, draw a complete Entity Relationship Diagram using the Crow’s Foot notation which includes:

(i)

All entities and attributes

(ii)

Relationships

(iii)

Connectivity and relationship participation

(iv)

Primary and foreign keys

Solutions

Expert Solution

Entity- Entity is anything like person, place which has attributes that describes the entity.

Entities for given scenario with primary keys underlined.

Students(st-name, st_num, st-guardian, g-contact)

Rooms( r-level, r-num)

club(c_name, c_date, c_fee)

staff(s_no,s_name,s_contact,s_start_date,s_end_date)

Block(b_name,b_location)

Assumptions

Block and rooms , students and club have total participation.

Foreign keys

Student- c_name, r_num,s_no

Room- b_name, st_num

Cardinalities

​​​​​​One-to-many

Student and room- one room can have two or more students and many students can be accommodated in one room.

Rooms and block- each block have multiple rooms while one room will be located only in one block.

Mandatory many

between club and student as each student must enroll in a club and club can have many students enrolled in it.

Between block and staff as block will definitely have staff and staff can be incharge of multiple blocks.

Block and staff


Related Solutions

For a coastal area, you are asked as the responsible sanitary engineer to design a waste...
For a coastal area, you are asked as the responsible sanitary engineer to design a waste treatment plant. Briefly select the following and give a sound engineering justification: Effluent treatment train, Sludge treatment train, Effluent reuse/recycle/reclamation or ultimate disposal, Treated sludge usage or final disposal, Location of your suggested wastewater treatment plant, and Methods to be used for unit engineering design please solve this question with a clear hand writing
You are asked to design a relational database for a simple course registration software application for...
You are asked to design a relational database for a simple course registration software application for your school. The relational database must have the following information about the student, the course, and the registration, respectively StudentID, FirstName, LastName, DataOfJoining, and Major CourseNumber, CourseName,InstructorName, StartDate, EndDate, NumberOfCredits ReferenceID, StudentID,CourseID, DateOfRegistration Apply the following constrains while designing the database Each student in the database must be uniquely identifiable Each course listed in the database must be have unique CourseNumber Each course registration...
Your supervisor asked you to design a diode that has a total junction capacitance at 0V...
Your supervisor asked you to design a diode that has a total junction capacitance at 0V of 1pF. You are asked to start with an n-type GaAs wafer with a doping of 1x1017 cm-3, then create the p-type layer by doping the substrate with accepters. The substrate manufacturer told you that the GaAs substrate has trap centers equal to 2x1014 cm-3 and capture cross-sections for electrons and holes was of 1.0x10-12 cm2. After designing the diode, you are asked to...
In regards to modern operating systems If you are asked to design a hotel check-in system...
In regards to modern operating systems If you are asked to design a hotel check-in system that has three steps, what would you like to propose? If you are asked to detail your previous design so that it has five steps, how would you update it and why? If you are asked to propose a hotel check-in system without any limitation in steps, what would it be and why?
You are asked to design a piping system to fill an Olympic size swimming pool. The...
You are asked to design a piping system to fill an Olympic size swimming pool. The nominal dimensions of the pool are 164 ft long, 82 ft wide and 6 ft deep, and the filling is to take place in 6 hours. The 60 F water supply is contained in a reservoir 75 ft below the nominal elevation of the pool and contains 500 feet of 6-inch diameter cast iron pipe with 4 standard 90° elbows and 1 (fully open)...
You are working as an assistant in a design office. A developer in your local area...
You are working as an assistant in a design office. A developer in your local area has contacted your company looking for advice as to what would be a suitable project to meet the needs of the local community but also be a profitable investment. The developer is considering a number of different sites in the area. please research your local area(Hong Kong) and select an appropriate construction-based project. Topic:Minimising risk through design and specification P8 Utilise appropriate forms of...
Develop a simple MIS (Management Information System) for High School Student that consists of a simple...
Develop a simple MIS (Management Information System) for High School Student that consists of a simple database (a text file). The system manages to dynamically input record/data into the database. The data from the database can be sorted, searched and updated. User also should be able to add new records/data, remove any data and etc. The system that will be developed must use a linked list structure. Use any sorting techniques to sort your data. Use any searching techniques to...
Your employer has asked you to design a digital, programmable guitar effects pedal. The pedal processes...
Your employer has asked you to design a digital, programmable guitar effects pedal. The pedal processes audio from an electric guitar to change the way it sounds. The user can configure the pedal using software on a PC to download a new configuration to the pedal. You plan to market this as a high-quality product for expert musicians. You expect to sell a few thousand units each year for around $600 dollars each. What kind of part (or parts) would...
You have been asked to design an elevator system. The functions of an elevator includes moving...
You have been asked to design an elevator system. The functions of an elevator includes moving up and down, open and close doors, and pick up passengers. The elevator is supposed to be used in a building having floors numbered from 1 to MaxFloor, where the first floor is the lobby. There are car call buttons in the car corresponding to each floor. For every floor except for the top floor and the lobby, there are two hall call buttons...
You and your classmates are boarding a lifeboat from a ship sinking in the middle of...
You and your classmates are boarding a lifeboat from a ship sinking in the middle of the ocean. You each are guaranteed a seat. Unfortunately, there are 10 others seeking a seat, as well, with only three seats remaining. As a group, you must decide which three people from the following list you will bring in your lifeboat and why? Restaurant manager, 67, married with two kids Croatian first-year medical student, 23, speaks little English Single mother, 34, has 3...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT