Preview

programming basics

Good Essays
Open Document
Open Document
2603 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
programming basics
CHAPTER 7: DATA MODELING USING THE ENTITY-RELATIONSHIP (ER) MODEL

Answers to Selected Exercises

7.16 - Consider the following set of requirements for a UNIVERSITY database that is used to keep track of students' transcripts. This is similar but not identical to the database shown in Figure 1.2:

(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.

Answer:

7.17 - Composite and multi-valued attributes can be nested to any number of levels.
Suppose we want to

You May Also Find These Documents Helpful

  • Good Essays

    An entity relationship diagram (ERD) is a graphical documentation technique used in the designing of database within organizations to describe the entities and their direct relationships (Bagranoff, Simkin, & Strand, 2008). The ERD diagram consists of entities, attributes, and relationship. The entity represents a rectangular; the diamond is symbolized by describing the relationship of the entities, oval shape describes the attributes, and the lines connect all three to describe their relationship. Attached is an ERD of Kudler Fine Foods showing their existing data tables.…

    • 496 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The Entity Relationship Diagram, also known as (ERD) demonstrates the relationship between data in the new database. ERD shows the logical path that the data follows. The data model gives one understanding and the visual representation to observe the different phases of the database and determine the path the information is pulled or stored from. Learning Team D demonstrate linking the different tables in the Fleet Truck Maintenance database. The creation of the logical path predicts the flow of the data entered and the tables relationship to other tables in the database.…

    • 553 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    The following diagram (1-1) is entity relationship (E-R) diagram and it illustrates the existing data tables.…

    • 851 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    2. Look at your latest grade report. Identify the fields and entities represented in the report.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Databases are used for record keeping and tracking of information institutions like colleges or organizations (Coronel & Morris, 2015). In this case, the database will be used to keep track of the students・attendance, performance and the courses they are supposed to be taking. This will help the college analyze how the students perform and which classes they least or most attend. The database will also help the college keep track of all the subjects which the student is taking or is expected to take in during the course. Instructors will also be part of the database. The database will track their performance in various subjects and their attendance in each class. The database will be upgraded at the beginning of every subject where each student will confirm their attendance for the particular subject and whether the instructor is in class as well. After an examination, all the students・performance will be…

    • 590 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Cis 515week 3

    • 1024 Words
    • 4 Pages

    This study examines the requirements for a consolidation strategy to centralize all student records for a prestigious university. As a result, this study will develop a data model to retain student records and allow data extraction and load processes, formulate a data structure entity relationship model for the data structure, show how business intelligence reports can help the university and examine and recommend software solutions for the university to utilize.…

    • 1024 Words
    • 4 Pages
    Good Essays
  • Good Essays

    A database is an integrated computer structure that stores end-user data and metadata (Coronel, Morris, & Rob, pg. 7). Data are the raw format of information, which when properly formatted can produce accurate, relevant, and timely information that is the key to making good decisions (Coronel, Morris, & Rob, pg. 5-6). The purpose of a database is to provide computer-based systems a way in which to store, manage, and retrieve data quickly (Coronel, Morris, & Rob, pg. 5). As for a local college database, the purpose of the database will be to house the data of enrolled students, the courses offered and times available, and the information of the faculty. The database can provide possible course matches for each student based off of previous courses taken and pre-requisites obtained, as well as keep track of the professors teaching each course. The database will provide the data a student needs to insure they are taking the correct courses and provide the college and the faculty general student information, such as contact information.…

    • 906 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Cis 111

    • 790 Words
    • 4 Pages

    The purpose of the E-R diagram is to provide an organization with a simple drawing that can be used to describe the organization’s data. The E-R model consists of three primary components…

    • 790 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Dbm380 Course Syllabus

    • 2296 Words
    • 10 Pages

    Course Description This course covers database concepts. Topics include data analysis, the principal data models with emphasis on the relational model, entity-relationship diagrams, database design, normalization, and database administration. Policies Faculty and students will be held responsible for understanding and adhering to all policies contained within the following two documents: • • University policies: You must be logged into the student website to view this document. Instructor policies: This document is posted in the Course Materials forum.…

    • 2296 Words
    • 10 Pages
    Satisfactory Essays
  • Better Essays

    Instructions HW1

    • 1434 Words
    • 7 Pages

    This schema describes a simple university setting. The first table keeps track of which students are enrolled…

    • 1434 Words
    • 7 Pages
    Better Essays
  • Good Essays

    c1 sols

    • 1005 Words
    • 6 Pages

    3. Give an example of three entities that might exist in a database for a medical office and some of the attributes that would be stored in a table for each entity. Doctor – name, address, Social Security Number, medical ID number; Patient – name, address, Social Security Number, insurance policy information, medical history; Appointment – date, time, patient, doctor.…

    • 1005 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    AIM: Draw an Entity Relationship Data Model that describes the content and structure of the data held by Petcare. Specify the cardinality ratio and participation constraint of each relationship type.…

    • 2935 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    Comprehensive student records management – From the time of registration till the time of student becomes alumni.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I Need an Essay

    • 852 Words
    • 4 Pages

    Private Candidates who intend to present coursework or projects are to fill in and sign…

    • 852 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Database Modeling And Design

    • 5427 Words
    • 35 Pages

    data—a fact, something upon which an inference is based (information or knowledge has value, data has cost)…

    • 5427 Words
    • 35 Pages
    Powerful Essays