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)

What is a data model?

Back (Answer)

An abstract model of which things to store and what information about them should be recorded.

#2
Front (Question)

What is an Entity?

Back (Answer)

An object, event, person or thing about which data is to be stored

#3
Front (Question)

What is an attribute?

Back (Answer)

Attributes are characteristics or other information about entities

#4
Front (Question)

How are databases formed?

Back (Answer)

They are formed of tables which are used to store multiple entities

#5
Front (Question)

What is the notation for an entity description?

Back (Answer)

Entity1 (Attribute1, Attribute2 ….) -The primary key is always underlined Example: Patient (Title, Firstname, Surname, Address, Email)

#6
Front (Question)

What is an entity identifier?

Back (Answer)

• An attribute given to each entity which is unique within that table. • Also known as the primary key.

#7
Front (Question)

What is a requirement of primary keys (entity identifiers)?

Back (Answer)

They must be unique

#8
Front (Question)

What are the three types of relationships entities can have with each other?

Back (Answer)

One-to-one One-to-many Many-to-many

#9
Front (Question)

What is an Entity relationship diagram?

Back (Answer)

They graphically represent the relationships between tables/entities in a database

#10
Front (Question)

What does it mean when entities have a link between them in an Entity relationship diagram?

Back (Answer)

That the two entities are related in some way,

#11
Front (Question)

What 2 things show a relationship in an Entity relationship diagram?

Back (Answer)

• Both the degree and the name of the relationship need to be specified • For example: Head teacher ——————– School The degree: One-to-one The name: In charge of

#12
Front (Question)

What type of key is formed of multiple attributes, combined to form the primary key?

Back (Answer)

A composite key

#13
Front (Question)

What is a composite primary key?

Back (Answer)

A key formed of multiple attributes, combined to form the primary key (also known as just a composite key)

#14
Front (Question)

What is a primary key?

Back (Answer)

an attribute that uniquely identifies every entity in a database

#15
Front (Question)

What is a foreign key?

Back (Answer)

• An attribute that is a primary key in another table - The attribute exists in both tables

#16
Front (Question)

How is the primary key and foreign represented in an entity description?

Back (Answer)

-The primary key has an asterisk next to it For example: PatientID * -The foreign key is in italics

#17
Front (Question)

When is a link table used?

Back (Answer)

• It’s used to represent many-to-many relationships - It creates a third table (the linking table) as many to many relationships are impossible to represent on a computer

#18
Front (Question)

What is a relational database?

Back (Answer)

A database that is formed of multiple tables that are linked together by common attributes

#19
Front (Question)

How is a record with a primary key quickly located?

Back (Answer)

An index of the primary key and is automatically maintained by the database software, it gives the position of every record according to its primary key

#20
Front (Question)

What is Normalisation?

Back (Answer)

The process used to make the design of a database the most efficient without compromising the integrity of the data

#21
Front (Question)

What are the advantages of normalising a database

Back (Answer)

• It allows for faster searching and sorting and saves storage space as it creates smaller tables • They are easier to maintain. • Data consistency is improved, reducing the number of anomalies that occur. • Data integrity is maintained as there is no unnecessary duplication of data.

#22
Front (Question)

When is a database in first normal form?

Back (Answer)

If the database contains no repeating attribute/group of attributes

#23
Front (Question)

What does atomic mean?

Back (Answer)

It means that no single column contains more than one value

#24
Front (Question)

When is a database in second normal form?

Back (Answer)

• It must satisfy first normal form - Contains no partial key dependencies