City Guilds Model Questions Vol1 2020 Information Technology Question 39

Practice objective / multiple choice question 39 from the 2020 City Guilds Model Questions Vol1 Information Technology examination.

City Guilds Model Questions Vol1 2020 Information Technology Objective / Multiple Choice Medium Difficulty
Question 39 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2020 • INFORMATION_TECHNOLOGY • objective

The relation EMP has attributes \((\text{EmpID},\ \text{Name},\ \text{DeptID},\ \text{DeptName},\ \text{Salary})\). The functional dependencies are \(\text{EmpID} \rightarrow \text{Name},\ \text{DeptID},\ \text{Salary}\) and \(\text{DeptID} \rightarrow \text{DeptName}\). The table is not in Third Normal Form (3NF). Decompose the relation into a set of relations that are in 3NF, and specify the primary key of each resulting relation.

Answer Options

A. EMPLOYEE(EmpID, Name, DeptID, Salary) with primary key DeptID; DEPARTMENT(DeptID, DeptName) with primary key DeptID
B. EMPLOYEE(EmpID, Name, Salary) with primary key EmpID; DEPARTMENT(DeptID, DeptName) with primary key DeptID
Correct Answer C. EMPLOYEE(EmpID, Name, DeptID, Salary) with primary key EmpID; DEPARTMENT(DeptID, DeptName) with primary key DeptID
D. EMPLOYEE(EmpID, Name, DeptID, Salary) with primary key EmpID; DEPT(DeptID, DeptName, Location) with primary key DeptID
Correct Answer
C
Correct Option:
EMPLOYEE(EmpID, Name, DeptID, Salary) with primary key EmpID; DEPARTMENT(DeptID, DeptName) with primary key DeptID

About This Question

This is City Guilds Model Questions Vol1 2020 Information Technology Question 39. It is one of the objective questions from the 2020 City Guilds Model Questions Vol1 Information Technology examination.

Difficulty level: Medium .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support