Question

In: Computer Science

A private kindergarten, Happy Learning, wants to build a database to manage their operations. You were...

A private kindergarten, Happy Learning, wants to build a database to manage their operations. You were assigned to create an initial design based on the following customer description of their operations.

There are 3 age levels in the kindergarten (turtles, foxes and monkeys). At each level there 3 classes (red, blue and green). For a class we keep a code based on the initial of group color and level (e.g. RT for red turtles, GF for green foxes). Each class has a room number and a phone number. Also, each class has a maximum capacity (between 25 and 31). Also, we will keep brief directions to the class location in the building.

For a student we will keep the name, any nickname, date of birth, address, and the class in which the student is currently enrolled. We will process students based on their first and last name, or nickname, if present. We will process the address based on the city, zipcode and street to identify recruiting areas.

For each student we will keep information about one or more parents (or caretakers). A parent may have several students enrolled in the kindergarted. For a parent (or caretaker) we will keep the name, home phone number, mobile phone number, work phone number, the personal email and relationship to the child (e.g. father, mother, grandfather). At least one type of phone is required, but some parents may not provide all types of phone numbers. Some parents do not provide emails. We will process parents based on their last name.

Each class has a teacher assigned. A teacher is assigned to a single class. For a teacher we keep the name, home phone number, work email, personal email, the graduated college and their major. All the teachers must have a bachelor degree. We will process teachers based on their first and last name.

Solutions

Expert Solution

Exp: First operation create Database

Create Database Kindergarten

Exp : Next operation create table

1 Create table turtles(Primarykey Room number int(),   Phone number int() website of Kindergarten location of class  )

2 Create table foxes(Primarykey  Room number int(), Phone number int() website of Kindergarten location of class  )

3 Create table monkeys(Primarykey Room number int(), Phone number int () website of Kindergartenlocation of class  )

Exp: Next operation Create table Subtables

Create table Red turtles( Primarykey Room number int(), Serial number int(), primarykey Firstname Varchar(), lastname Varchar(), nickname Varchar(), Date of birth dateyy/mm/dd, address Varchar(), City char(), ZipCode int(), Street location identify)

Create Table Green Foxes  ( Primarykey Room number int(), Serial number int(), primarykey Firstname Varchar(), lastname Varchar(), nickname Varchar(), Date of birth date yy/mm/dd, address Varchar(), City char(), ZipCode int(), Street location identify)

Create table Blue Monkeys ( Primarykey Room number int(), Serial number int(),primarykey Firstname Varchar(), lastname Varchar(), nickname Varchar(), Date of birth dateyy/mm/dd, address Varchar(), City char(), ZipCode int(), Street location identify)

Exp: Next operation create table teachers table and parents or caretaker table

Create Table Teachers(Serial number int(), Foreignkey Assigned Roomnumber int() firstname Varchar() lastname varchar(), phonenumber int(), email, education Qualification varchar())

Create table Parents

( foreignkey Student name Varchar() firstname Varchar(), Lastname Varchar(), Phonenumber int(), email , Guardan relation varchar())

Procedure

In Database the operation between tables defined by  Primarykey it describe the link of table and particular data information. For two or more table the operation link for foreignkey it describe attached table records to particular data information


Related Solutions

A private neighborhood health clinic wants to automate management of their operations by implementing an interactive...
A private neighborhood health clinic wants to automate management of their operations by implementing an interactive web-based software system using the html5 standard, which should make the system run on tablets and smart phones as well as desktop and laptop machines. The Clinic Management System (CMS) is to be used by both patients and the clinic personnel (doctors, nurses, and administrative staff). A patient will be able to make on-line appointments for an examination, cancel an existing appointment, inspect lab...
What examples of learning by "happy accident" or just by chance have you experienced in your...
What examples of learning by "happy accident" or just by chance have you experienced in your own life? What do you think it means for a person (especially a scientist) to have a "prepared mind," as Pasteur describes? How can a person prepare his or her mind to be open to chance within a particular discipline? What roles might education, job experience, and life experience play in creating a prepared mind? Often researchers must try many things that don't work...
1. Your study found that 72% of participants in your study were happy. If you were...
1. Your study found that 72% of participants in your study were happy. If you were to interview 20 people, what is the probability that 14 are happy? [4 marks] 2. Your study found that annual income is normally distributed with a mean of 1600 hours and standard deviation of 250 hours. What is the probability that a participant will work at least 1400 hours in a year? [4 marks]
You have decided to build the database for John’s system. This question centres around the development...
You have decided to build the database for John’s system. This question centres around the development of John’s database. Q.3.1 Draw any three tables you will include in John’s database. For each table, provide the following: a. Three fields. b. One record in each table. c. One primary key for each table. d. One foreign key. (20) Q.3.2 Design a logical view for the tables you have specified in Q.3.1. Note: You may use any software tool to create your...
Imagine you are tasked with designing a database that encompasses the Florida Tech Learning Management System...
Imagine you are tasked with designing a database that encompasses the Florida Tech Learning Management System (LMS) that you use on a daily basis. The following requirements hold: Typical online student enrollment is 3,000 annually Access is password protected There should be a feature to create new accounts with different roles A role (faculty, student, staff) may have access to only certain features Students can be enrolled in multiple courses Faculty can teach multiple courses/sections Student records must be kept...
During this learning plan, you completed an research on your competitors in general through Hoovers database...
During this learning plan, you completed an research on your competitors in general through Hoovers database in the NAU Online Library. Based on the results of your competitor search, give a recap of your Competitor Profile for your business.
You company wants to build a new small plant that will cost $90,000,000 to construct. You...
You company wants to build a new small plant that will cost $90,000,000 to construct. You will pay the construction engineering firm $45,000,000 today and another $45,000,000 at the end of the first year of construction. The plant will be finished 24 months from the start of construction. Each year of operation, the plant will take charges of $5,000,000 per year at the beginning of the year for raw materials, labor, and maintenance. Each year of operation, the plant will...
You company wants to build a new small plant that will cost $90,000,000 to construct. You...
You company wants to build a new small plant that will cost $90,000,000 to construct. You will pay the construction engineering firm $45,000,000 today and another $45,000,000 at the end of the first year of construction. The plant will be finished 24 months from the start of construction. Each year of operation, the plant will take charges of $5,000,000 per year at the beginning of the year for raw materials, labor, and maintenance. Each year of operation, the plant will...
If you were going to build a dashboard or a balanced scorecard for a nursing home,...
If you were going to build a dashboard or a balanced scorecard for a nursing home, what key performance indicators might you use? Explain and elaborate on why your suggested key performance indicators are crucial to effective financial management of a nursing home organization. Think what you would be held accountable for as a manager and develop some easy to read ratios to show history and progress to support your management objectives. Consider if this dashboard would be different if...
After graduating from college, you landed a $75,000 job and were happy with it until your...
After graduating from college, you landed a $75,000 job and were happy with it until your friends started going back to school. Now the MBA is on your mind as well. The cost of a good MBA program is $40,000 a year and such programs require that your are a full-time student. It will take you two years to graduate and you will have to leave your job, while attending school. You expect that the starting salary for an MBA...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT