Past ExamsRwanda ICT preparation

Topics / Database

An ExamResults table records one score per candidate per paper. Neither CandidateID nor PaperID is unique on its own. What is a suitable primary key?

Une table RésultatsExamens enregistre une note par candidat et par épreuve. Ni IDCandidat ni IDÉpreuve ne sont uniques à eux seuls. Quelle clé primaire convient ?

Answers
AThe Score column, since every candidate's score is differentLa colonne Note, puisque la note de chaque candidat est différente
BCandidateID on its own, allowing repeated valuesIDCandidat seul, en autorisant les valeurs répétées
CThe combination of CandidateID and PaperID (a composite key)La combinaison d'IDCandidat et d'IDÉpreuve (une clé composite)
DNo key is needed for this kind of tableAucune clé n'est nécessaire pour ce type de table
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