Boolean Logic and Relational Databases
A-Level Computer Science revision: Boolean Logic and Relational Databases. Learning objectives, key points, worked examples and practice questions across AQA, Edexcel, OCR, WJEC and CCEA.
A-Level Computer Science revision: Boolean Logic and Relational Databases. Learning objectives, key points, worked examples and practice questions across AQA, Edexcel, OCR, WJEC and CCEA.
Question: Normalise to 3NF: Student(StudentID, Name, CourseID, CourseName, TutorID, TutorName)
Model Answer:
FDs: StudentID->Name, CourseID->CourseName, TutorID, TutorID->TutorName. 1NF: atomic. 2NF: remove partial FD (CourseID->CourseName). Course(CourseID, CourseName, TutorID), Tutor(TutorID, TutorName), Student(StudentID, Name, CourseID). 3NF: remove transitive FD (TutorID->TutorName). Already in 3NF
Model answers are being added progressively - questions marked ✗ don't have one yet. Cross-check with your teacher or the official mark scheme.
Questions: