Back to Topic 3.2 — Database design
3.2.5Computer Science SL5 flashcards

Normal forms

Practice Flashcards

Flip to reveal answers
Card 1 of 53.2.5
3.2.5
Question

What is a functional dependency?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Normal forms

Sign up free to track progress and get spaced-repetition review schedules.

Card 1definition

Question

What is a functional dependency?

Answer

One column's value determining another's. Knowing a StudentID tells you the student's name, so Name is functionally dependent on StudentID. Normal forms are rules about which dependencies are allowed where.

Card 2definition

Question

What do 1NF, 2NF and 3NF each require?

Answer

1NF: every cell holds one value and every row is uniquely identified. 2NF: no non-key column depends on only part of a composite key. 3NF: no non-key column determines another non-key column.

Card 3definition

Question

What is a partial-key dependency?

Answer

A non-key column depending on only part of a composite primary key. With a key of StudentID and Club, StudentName depends on StudentID alone. It can only arise when the key is composite.

Card 4definition

Question

What is a transitive dependency?

Answer

A non-key column determining another non-key column. Club determines Teacher and Teacher determines Room, so Room depends on Club only indirectly — which breaks 3NF.

Card 5concept

Question

Why normalise, beyond saving space?

Answer

To prevent update problems, where one copy of a repeated fact is changed and others are not; insert problems, where a new club with no members has nowhere to live; and delete problems, where removing the last member loses the club's details too.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free
IB Computer Science Normal forms Flashcards | 3.2.5 | Aimnova