Back to marketplace

SLR 10

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

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

Card preview (17)

#1
Front (Question)

State two benefits of using a relational database instead of a flat file database.

Back (Answer)

• Relational data allows for less redundancy of data/less repeated data • Relational databases improve the consistency of data • Relational databases allow for complex queries and/or searches to be performed

#2
Front (Question)

State the difference between a primary key and a foreign key.

Back (Answer)

• A primary key will only appear once in a table/is a unique identifier • A foreign key may appear multiple times a table/may not be unique

#3
Front (Question)

State two requirements for a database to be in First Normal Form (1NF).

Back (Answer)

• Each attribute name is unique • Primary key identified • No repeated attributes • All data in attributes must be atomic (cannot be further split up) / by example

#4
Front (Question)

Describe what is meant by a transaction being durable.

Back (Answer)

• (Committed) data/transaction is not lost… • …in case of power / system failure

#5
Front (Question)

Give one way that durability can be achieved for a completed transaction.

Back (Answer)

• Completed transactions stored in secondary storage / data not stored long-term in RAM/cache

#6
Front (Question)

Explain how record locking can be used to ensure that the ACID principle of isolation is achieved when carrying out multiple transactions.

Back (Answer)

• The outcome of concurrent transactions is the same as if transactions were completed sequentially. • Record locking allows one user/process to access/modify record level data at any one time • So data that is being used elsewhere cannot be modified / data that is being modified elsewhere cannot be used

#7
Front (Question)

Give one disadvantage of using record locking.

Back (Answer)

• Can cause delays (as users wait for access) • Can cause deadlock

#8
Front (Question)

State what is meant by the term ‘primary key’

Back (Answer)

• Field that is unique/does not repeat

#9
Front (Question)

When new customers join the streaming service, their name, email address and contact details are captured so that they can be entered into the database. Identify one method of capturing a new customer’s personal data, describing why this method is suitable.

Back (Answer)

• Form / web form • Can use validation to check for common errors… • Can check for duplicate values • Data can be entered direct into the database / limited manual processing • Can be done from remote locations

#10
Front (Question)

Describe one problem that would arise with the flat file database structure if a customer wanted to insure more than one car at the same time.

Back (Answer)

• Only one customer entry allowed (because of key field) • …so would not be able to add second entry • Customer data already present/would be repeated • ….resulting in redundant data/wasted space • …resulting in inconsistencies should changes be made

#11
Front (Question)

Identify two methods of exchanging data with other computer systems.

Back (Answer)

• CSV • JSON • XML • SQL • APIs • EDI • RSS • SOAP

#12
Front (Question)

Describe how the flat file database structure could be altered to efficiently allow each customer to insure multiple cars at the same time. (You may assume each car is insured to only one customer.)

Card front image
Back (Answer)

• Add in second table • …for the cars / splitting up cars/customers • The primary key of customer is used as a field in the car/vehicle table • … as a foreign key of cars • Create one to many relationship. Accept many to one.

#13
Front (Question)

A hotel uses a computer system to keep track of room bookings. The hotel staff are able to query a database to discover which rooms are booked or which rooms are free. The hotel’s computer network uses a client-server model. Describe what is meant by the term ‘client-server’ in this context.

Back (Answer)

• Client computers connect to server • Server provides access to a resource/service • In this case hotel staff use client computers to connect to database on server (or other sensible example).

#14
Front (Question)

Give two advantages of client-server compared to peer-to-peer.

Back (Answer)

• only one point of failure • easier to manage users/access • Easier to backup • Easier to keep data secure. • Technicians can more easily remotely install / monitor.

#15
Front (Question)

Explain the purpose of a network switch.

Back (Answer)

• Joins computers/devices together on a LAN • Receives packets/data • Recipient’s address is given in packet header/it uses the mac address • Send packets/data • Out the correct port /to the specific computer device

#16
Front (Question)

The hotel stores data about rooms, customers and bookings in a database. Each customer can book multiple rooms and each room can be booked multiple times. Describe two different ways that hashing could be used in this database.

Back (Answer)

• Hashing for security • …e.g. hash passwords in database • …to make sure they cannot be read if they are stolen • Hashing for direct access • Customer/Room/Booking records can be quickly accessed • …by using hash of index as address

#17
Front (Question)

The hotel booking database enforces referential integrity. Explain what is meant by the term ‘referential integrity’ and how this could potentially be broken.

Back (Answer)

• Database/relationships are consistent / each foreign key links to an existing/valid primary key • Suitable example of being broken (e.g. if primary key is deleted/updated, foreign keys are no longer valid / changes should be cascaded)