ITPEC FE Subject A April 2026 Question 21
ITPEC FE Subject A April 2026 — Question 21 of 60
PTY, QTY, STY — every candidate key must contain both T and Y.
Start from what cannot be derived:
- •
Yappears in no dependency at all, so nothing determines it — it belongs to every key - •
Tappears only on the left-hand side, so nothing determines it either — it also belongs to every key
Now test each addition by closure:
- •
{P,T,Y}→P→Qgives Q,T→Rgives R,QR→Sgives S — all six attributes - •
{Q,T,Y}→T→Rgives R,QR→Sgives S,S→Pgives P — all six - •
{S,T,Y}→S→Pgives P,P→Qgives Q,T→Rgives R — all six - •
{R,T,Y}→ R is already implied by T and nothing further follows — not a key
Answer (d)
Why not others:
- (a) PT, QT and (b) PT, QT, ST — omit Y, which no dependency can ever produce
- (c) PTY, QTY, QRY — QRY closes to {Q,R,Y,S,P} but never reaches T
Key rule: Attributes that never appear on a right-hand side must be in every candidate key. Fixing them first turns the problem into a couple of small closure checks.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.