Back to marketplace

14 - Databases

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

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

Card preview (11)

#1
Front (Question)

How can timestamp ordering be used to manage concurrent access to a database?

Back (Answer)

Timestamps are generated for each transaction. Timestamps indicate the order that transactions occurred in. The database records the time of the last read/last write transaction for each record. The database server applies rules to determine if processing a transaction will result in loss of data integrity or inconsistency.

#2
Front (Question)

What does it mean for a database to be fully normalised?

Back (Answer)

Data is atomic; no repeating groups of attributes. No partial dependencies; all non-prime attributes are dependent on the whole of every candidate key. No non-key dependencies; every non-key attribute is dependent upon the key.

#3
Front (Question)

What are two problems that can occur with databases that are not fully normalised?

Back (Answer)

• Redundant/duplicated data may waste storage space. • Inconsistent data may arise if the same data item is stored in multiple places.

#4
Front (Question)

What is a consequence of having duplicated data in a database?

Back (Answer)

If data is stored more than once, each copy would need to be updated if it changed.

#5
Front (Question)

What is the name given to a primary key made up of two attributes?

Back (Answer)

Composite key.

#6
Front (Question)

What is a server-side script?

Back (Answer)

A sequence of instructions executed on the server to generate a web page when requested.

#7
Front (Question)

What does it mean that the relations in a relational database are in Third Normal Form?

Back (Answer)

Every attribute in a relation is dependent on the whole key and nothing but the key.

#8
Front (Question)

Define the term foreign key.

Back (Answer)

An attribute in one relation/table that links to a primary key attribute in another relation/table.

#9
Front (Question)

Define an attribute.

Back (Answer)

A property or characteristic of an entity.

#10
Front (Question)

What makes a table un-normalised?

Back (Answer)

Contains a repeating group.

#11
Front (Question)

What is meant by a relational database?

Back (Answer)

A database structured as a series of tables/entities, where the DBMS provides tools for joining tables and selecting items.