Back to marketplace

Chapter 17 - Relational databases and normalisation

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

Where are data held in a relationship data base?

Back (Answer)

» Tables - also called relations

#2
Front (Question)

What is a relational databse?

Back (Answer)

» Collection of tables in which relationships are modelled by shared attributes

#3
Front (Question)

What does a row represent?

Back (Answer)

» One record

#4
Front (Question)

What does a column represent?

Back (Answer)

» One attribute

#5
Front (Question)

How would you describe a table?

Back (Answer)

» Entity name - shown outside the brackets » Attributes - listed inside the brackets » Primary key is underlined

#6
Front (Question)

What is the purpose of the primary key?

Back (Answer)

» Unique identifer to identify a particular record in the table

#7
Front (Question)

What is the purpose of indexing a primary key?

Back (Answer)

» So that a record with a particular primary key can be quickly located in a database

#8
Front (Question)

What is the foreign key?

Back (Answer)

» Attribute which is a primary key of one of the tables - links tables together

#9
Front (Question)

What is normalisation?

Back (Answer)

» Technique for designing a relational database to minimise duplocation of information and eliminates redunant data

#10
Front (Question)

What are the 4 features of normalisation?

Back (Answer)

» No data is unncessarily duplicated » Data is consistent » Structure of each table is flexible enough to allow you to enter as much as you want » Structure should enable a user to make all kind of compelx queuries

#11
Front (Question)

How many normalisations are there?

Back (Answer)

» 4

#12
Front (Question)

What are the 3 features of the first normal form (1NF)?

Back (Answer)

» Each data tem cannot be broken down any further » Each row record has a primary key » There are no repeating data

#13
Front (Question)

What is the main thing to remember when some entities have a many-to-many relationship?

Back (Answer)

» You will always need a link table in the middle

#14
Front (Question)

What are the features of the second normal form? (2NF)

Back (Answer)

» If it is in the 1NF » Contains no partial dependencies

#15
Front (Question)

What is a partial dependency?

Back (Answer)

» Mean that one or more of the attributes depends on only part of the primary, which can only occur if the primary key is a composite key

#16
Front (Question)

What are the features in the third normal form (3NF)?

Back (Answer)

» It is in the 2NF » Contains no non-key depedencies

#17
Front (Question)

What is a non-key depedency?

Back (Answer)

» Where one value of an attribute is determined by the value of another attribute which is not part of the key

#18
Front (Question)

What is the main principle in 3NF?

Back (Answer)

» All attributes are dependent on the key, the whole key, and nothing but the key

#19
Front (Question)

What is an entity?

Back (Answer)

» A category of object of something or interest

#20
Front (Question)

What is the one of the main aims of normalising data?

Back (Answer)

» Remove the possibility of redundant data from any of the tables

#21
Front (Question)

What is redundant data?

Back (Answer)

» Data that appears in more than one database table » Which can cause inefficiencies and inconsistencies in data

#22
Front (Question)

What is mantained in a normalised database?

Back (Answer)

» Data integrity

#23
Front (Question)

How can normalisation lead do faster sorting and searching?

Back (Answer)

» Normalisation will produce smaller tables, with fewer fields » Leads to greater efficiency, as there is less data involved

#24
Front (Question)

What are the 3 benefits of normalisation?

Back (Answer)

» No unecessary duplication of data » Data integrity is maintained » Fewer fields - faster searches