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]
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.
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...
What does lifelong learning mean to you? What are your plans to build upon your nursing...
What does lifelong learning mean to you? What are your plans to build upon your nursing knowledge? Where do you see yourself professionally in five (5) years? Ten (10) years?
You are supposed to build a custom ALU that can perform the following operations: Multiplication Addition...
You are supposed to build a custom ALU that can perform the following operations: Multiplication Addition Division Logical OR Select all necessary components below, to create this ALU. Multiplexer Demultiplexer OR gate AND gate NOT gate Encoder Priority Encoder Decoder Adder Subtractor Multiplier Divider Shifter Register Register File
: If you were manager of learning and development at Rockwell Collins, where would you start...
: If you were manager of learning and development at Rockwell Collins, where would you start in your efforts to improve the availability and effectiveness of company-sponsored training efforts? What suggestions would you have concerning how training is designed and provided? Furthermore, what suggestions do you have concerning who should provide the training (i.e., in-house trainers versus outside vendors)? Finally, how would you seek to “sell” your recommendations to top management?
Assignment: Operations Make sure you have completed the Learning Activity in this unit before you start...
Assignment: Operations Make sure you have completed the Learning Activity in this unit before you start this Assignment. Using the graphic below, please discuss the inputs, processes, and outputs that pertain to your operations of the business you chose, whether it is a service or a product oriented business. Using these three steps as a reference, how will you satisfy your customers? What core competencies will you have that will set you apart from your competitors? Pick at least two...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT