Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

COMP 353 DATABASE MANAGEMENT SYSTEMS SOLUTIONS MANUAL CONCORDIA UNIVERSITY

Note
-
Vendu
-
Pages
63
Grade
A+
Publié le
28-12-2023
Écrit en
2023/2024

COMP 353 DATABASE MANAGEMENT SYSTEMS SOLUTIONS MANUAL CONCORDIA UNIVERSITY

Établissement
Cours











Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Cours
Inconnu

Infos sur le Document

Publié le
28 décembre 2023
Nombre de pages
63
Écrit en
2023/2024
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

COMP 353 DATABASE MANAGEMENT SYSTEMS SOLUTIONS
MANUAL CONCORDIA UNIVERSITY




Ra ghu Ra makrishna n et al.
Unive rsity of Wisc onsin
Madiso n, WI, USA

, 2
THE ENTITY-RE LATIONSHIP MODEL




Exercise 2.1 Explain the following terms briefly: attribute, domain, entity, relation- ship,
entity set, relationship set, one-to-many relationship, many-to-many relationship,
participation constraint, overlap constraint, covering constraint, weak entity set, aggre-
gation, and role indicator.

Answer 2.1 No answer provided yet.


Exercise 2.2 A university database contains information about professors (identified by
social security number, or SSN) and courses (identified by courseid). Professors teach
courses; each of the following situations concerns the Teaches relationship set. For each
situation, draw an ER diagram that describes it (assuming that no further constraints hold).

1. Professors can teach the same course in several semesters, and each offering must be
recorded.

2. Professors can teach the same course in several semesters, and only the most recent
such offering needs to be recorded. (Assume this condition applies in all subsequent
questions.)

3. Every professor must teach some course.

4. Every professor teaches exactly one course (no more, no less).

5. Every professor teaches exactly one course (no more, no less), and every course must
be taught by some professor.

6. Now suppose that certain courses can be taught by a team of professors jointly, but it
is possible that no one professor in a team can teach the course. Model this situation,
introducing additional entity sets and relationship sets if necessary.

Answer 2.2 Answer omitted.

5

,6 CHAPTER 2

Exercise 2.3 Consider the following information about a university database:

Professors have an SSN, a name, an age, a rank, and a research specialty.

Projects have a project number, a sponsor name (e.g., NSF), a starting date, an ending
date, and a budget.

Graduate students have an SSN, a name, an age, and a degree program (e.g., M.S.
or Ph.D.).

Each project is managed by one professor (known as the project’s principal inves-
tigator).

Each project is worked on by one or more professors (known as the project’s co-
investigators).

Professors can manage and/or work on multiple projects.

Each project is worked on by one or more graduate students (known as the project’s
research assistants).

When graduate students work on a project, a professor must supervise their work on
the project. Graduate students can work on multiple projects, in which case they will
have a (potentially different) supervisor for each one.

Departments have a department number, a department name, and a main office.

Departments have a professor (known as the chairman) who runs the department.

Professors work in one or more departments, and for each department that they work
in, a time percentage is associated with their job.

Graduate students have one major department in which they are working on their
degree.

Each graduate student has another, more senior graduate student (known as a
student advisor) who advises him or her on what courses to take.

Design and draw an ER diagram that captures the information about the university. Use
only the basic ER model here, that is, entities, relationships, and attributes. Be sure to
indicate any key and participation constraints.

Answer 2.3 The ER diagram is shown in Figure 2.1.


Exercise 2.4 A company database needs to store information about employees (iden- tified
by ssn, with salary and phone as attributes); departments (identified by dno, with dname
and budget as attributes); and children of employees (with name and age as attributes).
Employees work in departments; each department is managed by an

, The Entity-Relationship Model
age speciality pid start_date
work_in

ssn rank sponsor end_date



budget
Figure 2.1




Professor Manages project
ER Diagram for Exercise 2.3




Work_dept Runs
Supervises
Work_proj ssn



pc_time Dept Major senior

Graduate Advisor

grad
dno office

name
ssn
dname

age deg_prog




7
€11,08
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
smartzone Liberty University
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
3221
Membre depuis
6 année
Nombre de followers
2291
Documents
14543
Dernière vente
22 heures de cela
AMAIZING EDUCATION WORLD

GET ALL KIND OF EXAMS ON THIS PAGE ,COMPLETE TEST BANKS,SUMMARIES,STUDY GUIDES,PROJECT PAPERS,ASSIGNMENTS,CASE STUDIES, YOU CAN ALSO COMMUNICATE WITH THE SELLER FOR ANY PRE-ORDER,ORDER AND ETC.

3,7

587 revues

5
261
4
94
3
103
2
30
1
99

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions