Back to marketplace

Databases

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)

define database

Back (Answer)

persistant organised (stored in records and fields) store of related data

#2
Front (Question)

define an entity

Back (Answer)

A real thing like people or customers (the table name in the database)

#3
Front (Question)

define a table

Back (Answer)

collection of data that relates to an entity (customers)

#4
Front (Question)

define a record

Back (Answer)

collection of data about one singular entity (rows)

#5
Front (Question)

define field

Back (Answer)

a unique piece of data about an entity i.e (student firstname) (collumns)

#6
Front (Question)

define a flat file database

Back (Answer)

a table with multiple entities i.e table with data on both customer and item that they buy

#7
Front (Question)

why is a flat file database bad

Back (Answer)

because everytime a customer buys an item all their data needs to be re added to the table so if address changed it has to be changed on every order

#8
Front (Question)

when would an intersection table be used

Back (Answer)

in a many to many database

#9
Front (Question)

define primary key

Back (Answer)

A field which has a unique value for every record A unque identifier

#10
Front (Question)

how does an intersection table work

Back (Answer)

uses the primary keys from the needed records in order to reference them i.e customer 3 bought procuct 17

#11
Front (Question)

define secondary key

Back (Answer)

a second unique identifier Not always present. film number (primary key) film name(secondary key)

#12
Front (Question)

define foreign key

Back (Answer)

primary key used in another table (intersection table?)

#13
Front (Question)

what is referential integrity

Back (Answer)

a given element that is referenced in another table is not deleted (not just records could be fields)

#14
Front (Question)

What does ACID stand for

Back (Answer)

atomicity consistency isolation durability

#15
Front (Question)

what does Atomicity mean (in ACID)

Back (Answer)

that a transaction is either entirely processed or not at all proccessed

#16
Front (Question)

What does consistency mean

Back (Answer)

That the transaction cannot break the pre-exsisting rules of the database i.e a string is not added in place of an integer

#17
Front (Question)

defin normalisation

Back (Answer)

a set or rules for a database to follow in order to be the most efficient

#18
Front (Question)

what level normalisation is flat file

Back (Answer)

Un normalised

#19
Front (Question)

what are the rules of first form normalisation

Back (Answer)

no collumns have repeating data (i.e maths,science) in one box data must be in its atomic form i.e first name surname must have a primary key

#20
Front (Question)

rules of second normal form

Back (Answer)

must be in first normal form first partial dependencies get split so any fields that only depend on one of the keys get split into a new table one primary key

#21
Front (Question)

rules of third normal form

Back (Answer)

all fields are fully dependent on the primary key non key dependencies are split i.e email is based of student name not subject

#22
Front (Question)

Why use an intersection table [3]

Back (Answer)

to change many to many relationships to make the database third normal form reduces data redundancies

#23
Front (Question)

1 pro and 1 con to having multiple keys [2]

Back (Answer)

pro , faster searching con, larger storage or insert, update and delete actions will take longer

#24
Front (Question)

Using an example, describe a scenario when a flat file database may be an appropriate solution. State an advantage of using a flat file instead of a relational database. [3]

Back (Answer)

when the data bse only contains one type of entity personal contacts list (only contains phone numbers) easier to use or import into another system