levo

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.

Your recallNot started
Key term

What is online updating?

Key term

What is the concurrent update problem?

Key term

Give a concrete example of a lost update.

Questions from this subtopic

Each one with the model answer underneath.

  1. 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. 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. 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. 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. 5

    What is record locking?

    Model answer

    Preventing other users from writing to a record while one user is amending it.

  6. 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.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

Fetch, , execute.
decodecompilestore

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AEncryption is reversible.
BThe stored form could be decrypted.
CA hash cannot be reversed.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

A bit is a single binary digit.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

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.