What is a database?
An organized set of data constructed so that it can be searched, added to, deleted from or edited.
State 6 functions a database allows you to do.
State 2 types of databases.
What is a flat file database?
A database that consists of a number of
tables with no link between them.
What is a relational database?
A database that consists of multiple tables that contain linked data, linked using relationships.
Give 4 advantages for a relational database.
Give a disadvantage for a relational database.
For simpler sets of data, a relational database may be overkill.
What are primary keys?
Unique identifiers of a record in a database.
What are foreign keys? (2)
What is an entity relationship diagram? (2)
What is entity-relationship modelling?
Taking a real world situation and representing it using an entity-relationship diagram.
What are the three types of relationships?
Give an example of a 1-to-1 relationship.
Each driver has one vehicle and each vehicle is driven by only one driver.
Give an example of a 1-to-many relationship.
A teacher teaches multiple classes, but each class is only ever taught by one teacher.
Give an example of a many-to-many relationship.
A student can sit any number of exams, and several students sit each exam.
State 3 advantages of providing different views in a database system.
What is data normalisation?
Ensuring that the database has no data redundancy and no data inconsistencies.
What problems occurs when data isn’t normalised?
Data duplication (e.g. data redundancy)
State 3 problems with a paper based system (1).
State 3 problems with a paper based system (2).