Standard difficulty · 20 questions · 40 marks · Time: 37 minutes
Show your working for Sections B and C. Answers are on the last page — try every question first!
Database Concepts · AW-12CS-DBC-2026-V1 · For parents — fold back or tear off before handing the sheet to your child.
| Q | Answer | Working |
|---|---|---|
| 1 | (d) relation | — |
| 2 | (b) 8 | 8 tuples (rows); the heading is not a tuple |
| 3 | (d) 9 | 5 + 4: every attribute of both |
| 4 | (a) RollNo | RollNo is the only attribute here whose values are all different and never NULL (two students share marks) |
| 5 | (b) software that creates, stores and manages databases | — |
| 6 | (a) DocID in PATIENT | DocID in PATIENT refers to the primary key of DOCTOR |
| 7 | (c) 6 | 7 + 1 − 2 |
| 8 | (b) 9 | 9 is outside 10 to 100 |
| 9 | Data redundancy (the same data in many files) and inconsistency; also difficulty of access, data isolation and weak control over who sees the data. | — |
| 10 | (a) 5; (b) 6 | degree = number of attributes; cardinality = number of tuples |
| 11 | (a) 9; (b) 12 | degrees add: 5 + 4; cardinalities multiply: 6 × 2 |
| 12 | SubCode | SubCode is the primary key of SUBJECT |
| 13 | RollNo | its values are all different and never NULL |
| 14 | foreign key | foreign key: an attribute that refers to the primary key of another relation |
| 15 | (a) 4; (b) 8 | 5 − 1 attributes; 5 + 3 tuples |
| 16 | (a) AdmNo, RollNo, Email; (b) RollNo, Email | every attribute that can identify a tuple is a candidate key; those not chosen are alternate keys |
| 17 | A file system repeats data in many files (redundancy), so copies disagree (inconsistency); data is hard to combine across files (isolation), each new query needs a new program (difficult access), and controlling who may see what is weak. A DBMS stores data once, keeps it consistent, answers queries in SQL and controls access. | — |
| 18 | (a) EMP: EmpNo; DEPT: DeptID; (b) DeptID in EMP; (c) degree 7, cardinality 20; (d) 4; (e) D5 is not a DeptID in DEPT, so it breaks referential integrity: a foreign key value must match a primary key value (or be NULL) | Cartesian product: degrees add, cardinalities multiply |
| 19 | (a) 5 and 6; (b) Sec, City, Marks: each has a value repeated in two tuples; (c) e.g. RollNo: whole numbers; Sec: A, B or C | a key must be unique and not NULL |
| 20 | (a) RollNo, AdmNo (and Name, whose values happen to differ here, though names can repeat); (b) an alternate key; (c) degree 7, cardinality 5 | a candidate key has unique, non-NULL values; Sec, City and Marks repeat |