Question

1.Consider the following (normalized) relational model (primary keys are underlined, foreign keys are in italics). EMPLOYEE(SSN,...

1.Consider the following (normalized) relational model (primary keys

are underlined, foreign keys are in italics). EMPLOYEE(SSN, ENAME, EADDRESS, SEX,

DATE_OF_BIRTH, SUPERVISOR, DNR)
S U P E R V I S O R : foreign key refers to SSN in EMPLOYEE,

NULL value allowed

D N R : foreign key refers to DNR in DEPARTMENT, NULL value not allowed

DEPARTMENT(DNR, DNAME, DLOCATION, MGNR) MGNR: foreign key refers to SSN in EMPLOYEE, NULL

value not allowed
PROJECT(PNR, PNAME, PDURATION, DNR)

DNR: foreign key refers to DNR in DEPARTMENT, NULL value not allowed

WORKS_ON(SSN, PNR, HOURS)
SSN: foreign key refers to SSN in EMPLOYEE, NULL

value not allowed

PNR: foreign key refers to PNR in PROJECT, NULL value not allowed

Which statement is correct?
a. According to the model, a supervisor cannot supervise more than

one employee.

b. According to the model, an employee can manage multiple departments.

c. According to the model, an employee can work in multiple departments.

d. According to the model, an employee should always work on projects assigned to his/her department.

2.

Consider a data model for the Olympics storing information about countries and athletes. There is a 1:N relationship type between country and athlete and an athlete always has to belong to exactly one country. A relational data model containing only one table leads to:

a. Unnecessary replication of data about athletes.
b. Unnecessary replication of data about countries.
c. Unnecessary replication of data about athletes and countries.

d. No unnecessary replication of data.

3.

Consider the following (normalized) relational model (primary keys underlined; foreign keys in italics):

EMPLOYEE (SSN, ENAME, EADDRESS, SEX, DATE_OF_BIRTH, SUPERVISOR, DNR)

SUPERVISOR: foreign key, refers to SSN in EMPLOYEE, NULL value allowed

DNR: foreign key, refers to DNR in DEPARTMENT, NULL value not allowed

DEPARTMENT (DNR, DNAME, DLOCATION, MGNR) MGNR: foreign key, refers to SSN in EMPLOYEE, NULL

value not allowed
PROJECT (PNR, PNAME, PDURATION, DNR)

DNR: foreign key, refers to DNR in DEPARTMENT, NULL value not allowed

WORKS_ON (SSN, PNR, HOURS)
SSN: foreign key, refers to SSN in EMPLOYEE, NULL

value not allowed

PNR: foreign key, refers to PNR in PROJECT, NULL value not allowed

Which statement is not correct?

a. A department always has exactly one manager.
b. Every employee must always be supervised by exactly one other

employee.
c. Every project is always assigned to exactly one department.

d. According to the model, an employee can work in another department than he/she manages.

4.

Consider the following relational model (primary keys are underlined, foreign keys in italics):

STUDENT (student number, student name, street name, street number, zip code, city)

ENROLLED (student number, course number) COURSE (course number, course name) PROFESSOR (professor number, professor name) TEACHES (course number, professor number) Which statement is correct?

a. The model does not allow a course to be taught by multiple professors.

b. The model can be further normalized.
c. The model does not allow a professor to teach multiple courses.

d. The model does not allow a course to be followed by multiple students.

Homework Answers

Answer #1

1) option b is correct.

Because mngr is the foreign key to the employee table. So that can repeat . Only thing is it shouldn't be null and should have a matching row in employee table.

2) Option b is correct. Since it is 1 to many relationship between country and athlete country details keep repeating.

Example for India there can be 5 athlets . So in these 5 rows athlets values are unique but country information will be repeating

3)option c is incorrect. Because supervisor is the foreign key to the employee table. there is no restriction that the supervisor should not be equal to his ssn number. So an employee can be the supervisor of himself.

4)There are no italics or underlines.

From my assumption that course number is the primary key of course and it is the foreign key to other tables. The ta

The table can be further normalized.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider the following relational schema (the primary keys are underlined and foreign keys are italic) ITEM(ItemName,...
Consider the following relational schema (the primary keys are underlined and foreign keys are italic) ITEM(ItemName, ItemType, ItemColour) DEPARTMENT(Deptname, DeptFloor, DeptPhone, Manager) EMPLOYEE(EmpNo, EmpFname, EmpSalary, DeptName, SupervisedBy) SUPPLIER(SupNo, SupName) SALE(SaleNo, SaleQty, ItemName, DeptName) DELIVERY(DeliNo, DeliQty, ItemName, DeptName, SupNo) Write the SQL statements for the following queries: C1. Find the names of items sold on first and second floors. [1 mark] C2. For each department, list the department name and average salary of the employees where the average salary of the...
Consider the following relational schema about a University (the primary keys are underlined and foreign keys...
Consider the following relational schema about a University (the primary keys are underlined and foreign keys are italic) STUDENT(StudentID, name, major, year, age) CLASS(ClassName, meetsAt, room, LecturerID) ENROLLED(StudentID, ClassName, mark) LECTURER(LecturerID, name, DepartmentID) DEPARTMENT(DepartmentID, name) Write the SQL statements for the following query: B1. Find the age of the oldest student. B2. Find the ID’s of lecturers whose name begins with “K” B3. Find the age of the youngest student who is enrolled in Mechatronics. B4. Find the age of...
Consider the following relational database:               STUDENT     (STDNO, SNAME, DEPTNO#)             &n
Consider the following relational database:               STUDENT     (STDNO, SNAME, DEPTNO#)               DEP                 (DEPTNO, DNAME)               COURSE        (CORSNO, CNAME, DEPTNO#, CMAX)               ENROLMENT       (STDNO#, CORSNO#, GRADE, EDATE) STUDENT.DEPTNO is the department number of the student. COURSE.DEPTNO is the department number that offers the course. ENROLMENT models the registrations of students in courses (M:M relationship) where the GRADE is the grade obtained by the student in the course. PART I : DATA DESCRIPTION LANGUAGE (DDL) Write DDL commands to create the four...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
What role could the governance of ethics have played if it had been in existence in...
What role could the governance of ethics have played if it had been in existence in the organization? Assess the leadership of Enron from an ethical perspective. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among the top Fortune 500 companies, collapsed in 2001 under a mountain of debt...
Discuss ethical issues that can be identified in this case and the mode of managing ethics...
Discuss ethical issues that can be identified in this case and the mode of managing ethics Enron finds itself in this case. How would you describe the ethical culture and levels of trust at Enron? Provide reasons for your assessment. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among...
Discuss how the respective organizations’ relations with stakeholders could have potentially been affected by the events...
Discuss how the respective organizations’ relations with stakeholders could have potentially been affected by the events that took place at Enron and how the situation could have been dealt with differently to prevent further damage? THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among the top Fortune 500 companies,...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT