Past ExamsRwanda ICT preparation

Topics / Database

A table Employees(EmployeeID, Name, DistrictID, DistrictName) has EmployeeID as its key. DistrictName depends on DistrictID, not directly on EmployeeID. Which rule does this break, and what is the fix?

Une table Employés(IDEmployé, Nom, IDDistrict, NomDistrict) a IDEmployé pour clé. NomDistrict dépend d'IDDistrict, et non directement d'IDEmployé. Quelle règle cela enfreint-il, et quelle est la correction ?

Answers
A1NF; split Name into first and last name columnsLa 1FN ; séparer Nom en colonnes prénom et nom de famille
B2NF; add DistrictID to the primary keyLa 2FN ; ajouter IDDistrict à la clé primaire
CNo rule; storing DistrictName here is always bestAucune règle ; stocker NomDistrict ici est toujours préférable
D3NF (transitive dependency); move DistrictName to DistrictsLa 3FN (dépendance transitive) ; déplacer NomDistrict dans Districts
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·3 marks·Hard

More Database questions