0% found this document useful (0 votes)
254 views4 pages

ER Airline Reservation

This document outlines the requirements for designing an entity-relationship (ER) schema for a university database system. It describes the key entities like Students, Departments, Courses, Sections, and Grade Reports. It lists the attributes for each entity and describes the relationships between them. For example, a Section connects an Instructor, Course, Semester, and Year. Students can have Majors and Minors. The task is to design an ER schema and diagram based on these requirements, specifying key attributes and structural constraints.

Uploaded by

vai27
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
254 views4 pages

ER Airline Reservation

This document outlines the requirements for designing an entity-relationship (ER) schema for a university database system. It describes the key entities like Students, Departments, Courses, Sections, and Grade Reports. It lists the attributes for each entity and describes the relationships between them. For example, a Section connects an Instructor, Course, Semester, and Year. Students can have Majors and Minors. The task is to design an ER schema and diagram based on these requirements, specifying key attributes and structural constraints.

Uploaded by

vai27
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Purdue University Department of Computer Science CS 348: Information Systems (Spring 2005) Prof: Walid G.

Aref TAs: Otoniel Venezuela Yasin Laura Homework 1 Due Wednesday Feb. 2nd, 2005, in class, before class starts (45 Points) 1. Consider the following set of requirements for a university database that is used to
keep track of students' transcripts. (a) The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the student's last name. Both social security number and student number have unique values for each student. (b) Each department is described by a name, department code, office number, office phone, and college. Both name and code have unique values for each department. (c) Each course has a course name, description, course number, number of semester hours, level, and offering department. The value of course number is unique for each course. (d) Each section has an instructor, semester, year, course, and section number. The section number distinguishes different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3, ...; up to the number of sections taught during each semester. (e) A grade report has a student, section, letter grade, and numeric grade (0, 1, 2, 3, 4 for F, D, C, B, A, respectively). Design an ER schema for this application, and draw an ER diagram for that schema. Specify key attributes of each entity type and structural constraints on each relationship type. Note any unspecified requirements, and make appropriate assumptions to make the specification complete.

Figure: HW1-1 (25 points) Exercise 2:


Consider the ER diagram of Figure HW1-1, which shows a simplified schema for an

airline reservations system. Extract from the ER diagram the requirements and
constraints that resulted in this schema. Try to be as precise as possible in your requirements and constraints specification.

(30 Points) Exercise 3:

FIGURE: HW1-2 Consider the ER diagram in Figure HW1-2. Assume that a course may or may not use a textbook, but that a text by definition is a book that is used in some course. A course may not use more than five books. Instructors teach from two to four courses. Supply (min, max) constraints on this diagram. State clearly any additional assumptions you make. If we add the relationship ADOPTS between INSTRUCTOR and TEXT, what (min, max) constraints would you put on it? Why?

university database

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy