AQA A Level · Computer Science 7517

Client server databases: Practice Questions

5 multiple-choice questions marked as you go, and 5 written questions with worked solutions. All on Client server databases.

10 questions26 marksFree, no account
Question 1
1 mark

Which of the following describes the function of record locking in a client-server database system?

Question 2
1 mark

In the context of database management, what is serialisation used to ensure?

Question 3
1 mark

A database uses record locking to manage concurrency. If Transaction A holds a lock on Record 1 and requests a lock on Record 2, while Transaction B holds a lock on Record 2 and requests a lock on Record 1, what situation has occurred?

Question 4
1 mark

In a client-server database, what is the primary risk associated with concurrent access where two different users attempt to modify the same record at the same time?

Question 5
1 mark

How does timestamp ordering manage concurrent access in a client-server database?

Question 6
2 marks

In a client-server database system, what is the specific role of record locking when multiple clients attempt to modify the same data item simultaneously?

Write your answer out first, then check it against the worked solution.

Question 7
3 marks

Define the term serialisation in the context of concurrent access in a client-server database.

Write your answer out first, then check it against the worked solution.

Question 8
5 marks

Describe the commitment ordering method for managing concurrent database access.

Write your answer out first, then check it against the worked solution.

Question 9
5 marks

A client-server database system allows multiple users to access and update records simultaneously. This environment poses risks to data integrity if not managed correctly.

a. Define the "lost update" problem in the context of concurrent database access. (2 points)

b. Explain how record locking is used to prevent the lost update problem, and describe one potential drawback of using this method. (3 points)

Write your answer out first, then check it against the worked solution.

Question 10
6 marks

A bank uses a client-server database to manage accounts. When a customer withdraws money, the system must ensure the transaction is Atomic.

a. Define what is meant by 'Atomicity' in the context of database transactions. (2 points)

b. Describe a scenario in this banking system where a lack of atomicity could lead to data inconsistency. (2 points)

c. Explain how Commitment Ordering can be used to manage concurrent transactions. (2 points)

Write your answer out first, then check it against the worked solution.

* The content provided by thinka is generated by AI and may not always be accurate or up-to-date. Please use it as a supplementary resource and verify with official materials.

You've seen the model answer. Now get yours marked.

This page can show you how a good answer looks. It cannot tell you what your answer was missing. thinka marks your written work against the real mark scheme in about 15 seconds.

Want more questions like these? Get a fresh set on this topic, marked as you go.

Practise More