WJEC A-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Advanced Data Structures and Logic
Recursion, Sorting and Searching
Programming Paradigms and Translators
System Design and Human-Computer Interaction
Software Engineering Tools and Professional Practice
Advanced Architecture and Assembly Language
Communication Networks and File Organisation
Number Representation and Floating Point
Databases and Distributed Systems
Operating System Management
Software Systems and Applications
Data Security, Cryptography and Attack
Data Security, Cryptography and Attack
Integrity problems in online updating
- 3 things to know
- A2 Unit 4
Overview
Online updating, concurrent update problem and record locking.
What you need to know
Answer each one before you reveal it.
What is the concurrent update problem?
Give a concrete example of a lost update.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is online updating?
Model answer
Amending a file or database directly as each transaction occurs, rather than collecting transactions and applying them in a batch.
- 2
Why does online updating create integrity problems a batch update does not?
Model answer
Several users can change the same data at the same instant, and there is no single controlled run in which the order of changes is known.
- 3
What is the concurrent update problem?
Model answer
Two users read the same record, each amends their copy, and the second write overwrites the first, so one update is lost.
- 4
Give a concrete example of a lost update.
Model answer
Two agents each read a stock level of one seat, each sells it, and each writes zero — so two seats are sold and only one existed.
- 5
What is record locking?
Model answer
Preventing other users from writing to a record while one user is amending it.
- 6
Distinguish an exclusive lock from a shared lock.
Model answer
An exclusive lock prevents any other access while a record is being written; a shared lock allows others to read but not to write.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Data Security, Cryptography and Attack, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.