City Guilds Model Questions Vol1 2023 Information Technology Question 30

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

City Guilds Model Questions Vol1 2023 Information Technology Objective / Multiple Choice Hard Difficulty
Question 30 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2023 • INFORMATION_TECHNOLOGY • objective

Given the relation Employees(EmpID, Name, DeptID, Salary) with the following functional dependencies: (1) EmpID → Name, DeptID, Salary and (2) DeptID → Salary (i.e., all employees in the same department receive the same salary). (a) State the highest normal form (1NF, 2NF, 3NF, BCNF) that the Employees table currently satisfies. (b) Propose a lossless‑join, dependency‑preserving decomposition of Employees into relations that are in BCNF, and list the functional dependencies that each resulting relation satisfies.

Answer Options

A. Employees is in 1NF only. Decompose into: - EmpDept(EmpID, DeptID) with FD EmpID → DeptID; - EmpSalary(EmpID, Salary) with FD EmpID → Salary; - DeptInfo(DeptID, Salary) with FD DeptID → Salary. This decomposition is lossless‑join but does not preserve all dependencies.
Correct Answer B. Employees is in 2NF only. Decompose into: - EmployeeInfo(EmpID, Name, DeptID) with FD EmpID → Name, DeptID; - DepartmentSalary(DeptID, Salary) with FD DeptID → Salary. Both relations are in BCNF, the decomposition is lossless‑join and preserves all dependencies.
C. Employees is in BCNF already. No decomposition is needed. All functional dependencies are already satisfied in a single relation.
D. Employees is in 3NF only. Decompose into: - Employee(EmpID, Name, DeptID, Salary) with FD EmpID → Name, DeptID, Salary; - Dept(DeptID, Salary) with FD DeptID → Salary. Both relations are in 3NF but not BCNF, and the decomposition is not lossless‑join.
Correct Answer
B
Correct Option:
Employees is in 2NF only. Decompose into: - EmployeeInfo(EmpID, Name, DeptID) with FD EmpID → Name, DeptID; - DepartmentSalary(DeptID, Salary) with FD DeptID → Salary. Both relations are in BCNF, the decomposition is lossless‑join and preserves all dependencies.

About This Question

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

Difficulty level: Hard .

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