100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Fundamentals of Database Systems, Elmasri - Downloadable Solutions Manual (Revised)

Rating
-
Sold
1
Pages
87
Grade
A+
Uploaded on
25-06-2022
Written in
2021/2022

Description: Solutions Manual for Fundamentals of Database Systems, Elmasri, 6e is all you need if you are in need for a manual that solves all the exercises and problems within your textbook. Answers have been verified by highly experienced instructors who teaches courses and author textbooks. If you need a study guide that aids you in your homework, then the solutions manual for Fundamentals of Database Systems, Elmasri, 6e is the one to go for you. Disclaimer: We take copyright seriously. While we do our best to adhere to all IP laws mistakes sometimes happen. Therefore, if you believe the document contains infringed material, please get in touch with us and provide your electronic signature. and upon verification the doc will be deleted.

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
June 25, 2022
Number of pages
87
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CHAPTER 1: DATABASES AND DATABASE USERS



Answers to Selected Exercises



1.8 - Identify some informal queries and update operations that you would expect to apply to
the database shown in Figure 1.2.



Answer:

(a) (Query) List the names of all students majoring in Computer Science.



(b) (Query) What are the prerequisites of the Database course?.



(c) (Query) Retrieve the transcript of Smith. This is a list of <CourseName,

SectionIdentifier, Semester, Year, Grade> for each course section that Smith has

completed.



(d) (Update) Insert a new student in the database whose Name=Jackson,

StudentNumber=23, Class=1 (freshman), and Major=MATH.



(e) (Update) Change the grade that Smith received in Intro to Computer Science section

119 to B.




1.9 - What is the difference between controlled and uncontrolled redundancy?



Answer:

Redundancy is when the same fact is stored multiple times in several places in a database.
For example, in Figure 1.5(a) the fact that the name of the student with StudentNumber=8 is

,Brown is stored multiple times. Redundancy is controlled when the DBMS ensures that
multiple copies of the same data are consistent; for example, if a new record with
StudentNumber=8 is stored in the database of Figure 1.5(a), the DBMS will ensure that
StudentName=Smith in that record. If the DBMS has no control over this, we have
uncontrolled redundancy.



1.10 - Specify all the relationships among the records of the database shown in Figure 1.2.



Answer:

(a) Each SECTION record is related to a COURSE record.



(b) Each GRADE_REPORT record is related to one STUDENT record and one SECTION

record.



(c) Each PREREQUISITE record relates two COURSE records: one in the role of a course

and the other in the role of a prerequisite to that course.



1.11 - Give some additional views that may be needed by other user groups for the database
shown in Figure 1.2.




Answer:

(a) A view that groups all the students who took each section and gives each student's

grade. This may be useful for printing the grade report for each section for the

university administration's use.



(b) A view that gives the number of courses taken and the GPA (grade point average) for

each student. This may be used to determine honors students.

,1.12 – Cite some examples of integrity constraints that you think can apply to the database
shown in Figure 1.2.



Answer:

We give a few constraints expressed in English. Following each constraint, we give its

type in the relational database terminology that will be covered in Chapter 6, for

reference purposes.



(a) The StudentNumber should be unique for each STUDENT record (key constraint).



(b) The CourseNumber should be unique for each COURSE record (key constraint).



(c) A value of CourseNumber in a SECTION record must also exist in some COURSE

record (referential integrity constraint).



(d) A value of StudentNumber in a GRADE_REPORT record must also exist in some

STUDENT record (referential integrity constraint).



(e) The value of Grade in a GRADE_REPORT record must be one of the values in the set

{A, B, C, D, F, I, U, S} (domain constraint).



(f) Every record in COURSE must have a value for CourseNumber (entity integrity

constraint).



(g) A STUDENT record cannot have a value of Class=2 (sophomore) unless the student

has completed a number of sections whose total course CreditHours is greater that 24

credits (general semantic integrity constraint).

, 1.13 - Give examples of systems in which it may make sense to use traditional file
processing instead of a database approach.



Answer:

1. Small internal utility to locate files

2. Small single user application that does not require security (such as a customized
calculator or a personal address and phone book)

3. Real-time navigation system (with heavy computation and very little data)

4. The students may think of others.




1.14 - Consider Figure 1.2.

a. If the name of the ‘CS’ (Computer Science) Department changes to ‘CSSE’ (Computer
Science and Software Engineering) Department and the corresponding prefix for the
course number also changes, identify the columns in the database that would need
to be updated.

b. Can you restructure the columns in COURSE, SECTION, and PREREQUISITE tables so
that only one column will need to be updated?




Answer:

a. The following columns will need to be updated.

Table Column(s)

STUDENT Major

COURSE CourseNumber and Department

SECTION CourseNumber

PREREQUISITE CourseNumber and PrerequisiteNumber

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
tb4u City University New York
View profile
Follow You need to be logged in order to follow users or courses
Sold
974
Member since
3 year
Number of followers
776
Documents
2374
Last sold
3 days ago

4.0

158 reviews

5
87
4
27
3
19
2
6
1
19

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions