S4 Term 2 | ICT: Databases – Tutor Lesson Plan | 45-minute flow, teaching script, common errors, practice with answers
- 2026-12-01
Lesson prep guide · S4 Term 2 ICT
Students think a database is a spreadsheet, so one name is copied 9 times and one class change needs 9 edits. This lesson uses nine bookings to make one rule concrete: store each fact once and link the rest with keys.
01 Prior knowledge check (first 3 minutes)
If any item below fails, fix it first, or this lesson stalls:
| Skill | Quick check | Pass standard |
|---|---|---|
| Reading a table | 9 bookings, 6 students, 3 courses: which is the record count | 9 records |
| Sharing | 9 bookings over 3 courses, how many each | Three each |
| Adding | Fees of 480, 520 and 560 | 1560 |
02 Lesson flow (45 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0–5 min | Opening: one sheet, three problems | Show a flat sheet of 9 rows and circle the repeated class | Find the repeated columns |
| 5–15 min | Tables, records and fields | Show Students with six rows of three fields | Count fields and rows |
| 15–27 min | Primary keys | Compare student_id with class: six distinct values against two | Choose a key and justify it |
| 27–37 min | Foreign keys and splitting | Split into 6, 3 and 9 rows linked by two ids | Draw the two links |
| 37–42 min | The cost of repetition | Compare 486 bytes with 336 bytes | Say where the saving comes from |
| 42–45 min | Exit check | Collect three answers and sort concept, key and link errors | Work without notes |
03 Teaching script (read it aloud)
Act one: a database is not one big file
Students restate: a table is records and fields, a database is several tables, and each fact is stored once.
Act two: keys identify, foreign keys link
Students restate: a key is unique and never empty, and a foreign key must already exist in the other table.
Act three: three anomalies, one cause
Students restate: update, delete and insert anomalies all come from storing one fact many times.
04 Question types and steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Records and fields | Students with 6 rows of 3 fields | A row is a record, the header is fields | 6 records, 3 fields, 18 cells |
| Choosing a key | student_id against class | Check uniqueness and whether it can be blank | student_id, since class repeats |
| Finding foreign keys | 9 rows in Enrolments | Look for columns pointing at another key | student_id and course_id, each one to many |
| Sizing data | 54 bytes by 9 rows | Add the bytes per field, then multiply | 486 bytes becoming 336, a saving of 30.9 per cent |
On the left is the tutoring centre booking sheet: nine bookings across eight columns, with each student name and class written nine times, 486 bytes in all. On the right the same facts are kept once each in three tables: Students holds six rows, Courses holds three rows with the fee, and Enrolments holds nine rows stating only who booked which course, linked back by student_id and course_id for 336 bytes. Queries join the tables on the keys, so the facts cannot contradict each other.
05 Three independent practice questions
| Question | Answer | What to observe |
|---|---|---|
| What goes wrong if class is the primary key? | Three students share 4A and three share 4B, so the value repeats and cannot identify one record | Watch for the word repeat rather than a vague judgement |
| How many bytes do the three tables take, and what is saved? | 336 bytes, saving 150 bytes or 30.9 per cent | Watch whether they add all three tables rather than one |
| Why does deleting the last booking remove the student? | The flat sheet keeps student and booking facts on one row, so deleting the row deletes both | Watch for naming two facts sharing one row |
06 Common errors and correction lines
| Error | Student usually writes | Tutor says |
|---|---|---|
| Name as key | “student_id is a nuisance, the name will do” | “Two students can share a name, so the key must be the identifier the system issues.” |
| Fields and records swapped | “The table has 3 records and 6 fields” | “Count rows for records, then columns for fields: six records and three fields.” |
| Foreign key ignored | “student_id is just another column” | “A foreign key must exist in Students; a 7 there is an orphan row.” |
| Splitting adds data | “Splitting doubles the data” | “The total falls from 486 to 336 bytes because names are stored once.” |
07 Homework (paper and question numbers)
- S4 ICT paper, section C, question 9: split the flat table and mark the keys Question 9 repeats this lesson: name two update anomalies, then split into student, course and order tables
- S4 ICT paper, section C, question 9(b): check the key labels Part (b) asks for the primary and foreign key of each table, which tests the distinction
- S5 ICT paper, question 1, part 4: split the Clubs table into two tables Part 4 applies the same idea in a different setting and suits stronger students
08 Exit check (last 3 minutes)
| Question | Answer | Verdict |
|---|---|---|
| With 6 students and 3 courses, how many pairs are possible? | 18, of which only 9 exist | Nine means they counted records instead of pairs |
| Why can class not be the primary key? | Three students share each class, so the value repeats | Missing this means act two |
| What is a foreign key pointing at nothing called? | An orphan row, breaking referential integrity | Saying it is fine means the idea is missing |
09 Tutor FAQ
Which year is this page for?
S4 Term 2, the database unit of local secondary ICT; S5 extends to SQL queries and full normalisation.
Is 45 minutes enough for four ideas?
Yes: ten minutes on tables and records, twelve on keys, ten on foreign keys and splitting, with the rest for the size calculation and the exit check.
Is there a matching worksheet?
Yes. The homework links to question 9 in section C of the S4 ICT paper, which marks both the anomalies and the key labels.
Find a tutor freeTutor sign-up →
©2026 TutorZone · www.tutorzone.com.hk · Terms of use · All rights reserved. Original TutorZone material for personal study and teaching only; not for resale or republication.



