EEasy IGCSELabTracker

On a phone the notes, quizzes and tracker work fine. The 3D models and the practice lab are made for a laptop.

Specification points 5.2.1–5.2.2 ·

what a digital currency is and how it is used, and how a blockchain tracks digital currency transactions.

1Digital currency (5.2.1)

Definition

Digital currency — a currency that only exists electronically. It has no physical form: no notes or coins.

How digital currencies are used:

  • to pay for goods and services, online or in shops, by transferring the value electronically from the payer's account or digital wallet to the payee's;
  • to send money to other people electronically, anywhere in the world.

A cryptocurrency (for example Bitcoin) is a digital currency that is decentralised: no bank or government controls it. Its transactions are recorded on a blockchain.

2Blockchain (5.2.2)

Definition

Blockchain — in its basic form, a digital ledger: a time-stamped series of records that cannot be altered.

The ledger is decentralised: there is no central server. Every computer in the network holds a copy of the whole blockchain.

Each transaction is stored as a block containing:

  • the transaction data — e.g. sender, recipient, amount;
  • a timestamp — when the transaction took place;
  • a hash — a unique value calculated from the block's contents, which acts as its fingerprint;
  • the previous hash — the hash of the block before it, which links the blocks into a chain.

How a transaction is tracked

  1. A new transaction creates a new block, holding the previous block's hash, and its own hash is calculated.
  2. The block is sent to every computer in the network, and each one checks that it is valid.
  3. The block is added to the end of every copy of the chain. The transaction is now permanently recorded, and anyone on the network can trace it back through the chain.

Why the records cannot be altered. Changing any data in a block changes that block's hash. The next block's previous hash then no longer matches, so the chain is broken from that point and the change is detected. To alter a record without being noticed, an attacker would have to change that block and every later block on the copies held by the computers in the network, all at the same time.

(a) Valid chain Block 1 (first block) data: Ana → Ben 5 time: 09:14 hash: 7A3F previous hash: 0000 Block 2 data: Ben → Cal 2 time: 09:21 hash: E5B2 previous hash: 7A3F Block 3 data: Cal → Dee 1 time: 09:30 hash: 41D0 previous hash: E5B2 Block 4 data: Dee → Ana 3 time: 09:42 hash: 9C77 previous hash: 41D0 (b) Block 2 is changed Block 1 data: Ana → Ben 5 time: 09:14 hash: 7A3F previous hash: 0000 Block 2 (altered) data: Ben → Cal 20 time: 09:21 hash: C91E (new) previous hash: 7A3F Block 3 data: Cal → Dee 1 time: 09:30 hash: 41D0 previous hash: E5B2 ✗ Block 4 data: Dee → Ana 3 time: 09:42 hash: 9C77 previous hash: 41D0 link broken → change detected; blocks 3 and 4 are no longer valid
Figure 1. Each block stores the previous block's hash. Changing block 2 changes its hash, so the link to block 3 breaks.

Tamper with a block

Loading the interactive…

Traps
  • A blockchain is not stored on one central server — every computer in the network has a copy.
  • A hash is not encryption: it is a fingerprint of the block's contents, used to detect changes.
  • A block does not hold its own hash only — it also holds the previous block's hash, which is what links the chain.

Quick check

8 multiple-choice questions. Pick an answer to see whether it is right and why.

  1. What is a digital currency?

  2. A cryptocurrency is decentralised. What does this mean?

  3. Where is a blockchain stored?

  4. Which item in a block links it to the block before it?

  5. What is a block's hash?

  6. In a valid chain, block 2 has hash E5B2, block 3 has hash 41D0 and block 4 has hash 9C77. What previous hash does block 4 hold?

  7. A new block has been created and its hash calculated. What happens next?

  8. An attacker changes the amount in block 2 of a four-block chain. How is the change detected?

Exam-style questions

Write your answer, then show the answer and compare. Nothing here is marked for you: you decide how close you were. What you write is saved in this browser.

Questions

1

State what is meant by a digital currency.

1 mark
2

Describe two ways digital currency can be used.

2 marks
3

State what is meant by a blockchain.

2 marks
4

Identify three items stored in each block of a blockchain.

3 marks
5

Explain how a blockchain is used to track digital currency transactions.

5 marks
6

A blockchain has five blocks. A criminal changes the amount in block 3. Explain why the change would be detected.

3 marks

How well do you know this?

Rate each specification point. It is saved to your tracker as a new revision round.

All points:
  • 5.2.1Understand the concept of a digital currency and how digital currencies are used
  • 5.2.2Understand the process of blockchain and how it is used to track digital currency transactions

Settings

Your subjects

Untick the subjects you don't take. They leave the menu, the home page and the tracker. Your ratings are kept, so you can bring a subject back at any time.

Page style

Colours