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?
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 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...
A) You want to estimate what percent of a school has a dog so you survey...
A) You want to estimate what percent of a school has a dog so you survey 50 people. 20 tell you they have a dog at home. What is your best guess at the true proportion of people who have a dog at home? What is your 95% confidence interval? Your 90% confidence interval? How many people would you need to survey to have a 95% confidence interval of 5% in length. B) You ask the 20 people with dogs...
a) You went on spring vacation and missed school so you need to make up your...
a) You went on spring vacation and missed school so you need to make up your homework. You are missing 4 math assignments and 2 science assignments and 3 social studies assignments. What is the probability that the assignments from each class will be completed together (i.e. all of one class, then all of another class, then all of another class)? Round to 4 decimals. b) A family is planning on having 5 children. A baby food company told the...
1. You want to design a pendulum for a grandfather clock so that it has a...
1. You want to design a pendulum for a grandfather clock so that it has a period of 2.00 seconds (so that one “tick” plus one “tock” occur during one complete period). The pendulum has a heavy 8.00-kg bob. (Throughout this problem, assume an ideal simple pendulum: the pendulum’s arm has negligible mass, the bob can be approximated as a point-mass, the initial angle of displacement is small, and there is negligible friction.) a.) If you want the clock to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT