Cambridge IGCSE · Topic 5.2
IGCSE Computer Science 0478 / Topic 5 / IGCSE

Money with no coins.

Some money has no notes or coins at all: it exists only as data. To trust it, everyone needs a record of who paid whom that nobody can secretly change. That record is a blockchain.

The key idea

A digital currency is one that only exists electronically: there are no physical notes or coins. It is used to pay for goods and services and to transfer money between people over the internet. Many digital currencies (cryptocurrencies) track every transaction with a blockchain: a digital ledger, that is a time-stamped series of records that cannot be altered. Each block stores its transactions, a timestamp, its own hash and the hash of the previous block, and copies of the chain are held by every computer in the network.

each block stores the hash of the block before it Block 1Block 2Block 3 A pays B 2B pays C 1C pays D 3 time 09:01time 09:07time 09:12 prev: 0000prev: 7a3fprev: c91e hash: 7a3fhash: c91ehash: 4b08 edit Block 1 and its hash changes, so Block 2 no longer matches
Fig. 1: each block is linked to the one before by storing that block's hash
Section 01

Digital currency.

You may already pay by card or phone, but a digital currency goes further: the money itself is only ever data.

Examiner trap

Do not describe a digital currency as "money paid with a bank card". The key point is that the currency only exists electronically.

Section 02

How a blockchain works.

In the lab, look at the chain of blocks and their hashes. Then edit an old transaction and watch what happens to every block after it.

Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What is a digital currency?

Quick check+10 XP

In the lab, what happens when you edit a transaction in an early block?

Quick check+10 XP

What does each block in a blockchain store?

Quick check+10 XP

Who holds a copy of the blockchain?

Section 03

Why it cannot be altered.

The syllabus describes a blockchain as records that cannot be altered. This is how a new transaction is added and why a change is detected.

Worked example Tracing a change
Block 1 has hash 7a3f and Block 2 stores previous hash 7a3f. A criminal changes the amount in Block 1. Explain what happens.
  1. The data in Block 1 has changed, so its hash is recalculated and is no longer 7a3f.
  2. Block 2 still stores previous hash 7a3f, which no longer matches Block 1.
  3. The link is broken, so every block after Block 1 becomes invalid, and the copy no longer matches the copies held by the other computers.
Answer: The change is detected and rejected; the ledger cannot be altered unnoticed.
Examiner trap

Blockchain does not stop transactions being made, and it is not encryption of the money. It makes the record of transactions tamper-evident and permanent.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 1 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Which best describes a blockchain?

Exam style+20 XP

Why can a past transaction in a blockchain not be changed without detection?

Exam style+20 XP

What is a blockchain used for in a digital currency?

Exam style+20 XP

What is a hash in a blockchain?

Skill unlocked

Digital currency and blockchain, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
What a digital currency is and how it is used, and how a blockchain records time-stamped transactions that cannot be altered.