levo

Databases, Normalisation and Entity Modelling

First normal form

  • 3 things to know
  • Component 2

Overview

Unnormalised table, rule for first normal form and non-atomic attribute and say how to fix it.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What does normalisation aim to achieve?

Key term

What is an unnormalised table?

Key term

State the rule for first normal form.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What does normalisation aim to achieve?

    Model answer

    Normalisation organises data into tables so that each fact is stored exactly once. Redundancy is removed and the update, insertion and deletion anomalies are avoided.

  2. 2

    What is an unnormalised table?

    Model answer

    An unnormalised table contains repeating groups, where one row holds several values of the same attribute. A student row listing three courses is unnormalised.

  3. 3

    State the rule for first normal form.

    Model answer

    A table is in first normal form when it has no repeating groups and every attribute holds a single atomic value. Every row must also be uniquely identifiable.

  4. 4

    A student record holds StudentID, StudentName, TutorGroup and a repeating group of CourseCode, CourseTitle, TeacherID and TeacherName. Why is it unnormalised?

    Model answer

    One student row carries several courses at once, which is a repeating group. The number of course columns would also have to change whenever a student took another course.

  5. 5

    Convert that student record to first normal form.

    Model answer

    Each course becomes its own row, with the student details repeated alongside it. The table becomes ENROLMENT(StudentID, StudentName, TutorGroup, CourseCode, CourseTitle, TeacherID, TeacherName) keyed on StudentID and CourseCode.

  6. 6

    Why is a composite key needed after the conversion to first normal form?

    Model answer

    StudentID alone repeats across several rows, one for each course taken. Only StudentID together with CourseCode identifies a single row.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Databases, Normalisation and Entity Modelling, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.