HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Notes
  2. /Digital Currency and Blockchain: Quick Revision
Computer Science

Digital Currency and Blockchain: Quick Revision

A brief note on digital currency and blockchain: what a digital currency is, the four parts of a block, hashes, why a change breaks the chain, and how a network of copies tracks payments, with questions to check yourself.

StemPy LabWritten by StemPy Lab
Log in to save

A brief note on Digital Currency and Blockchain. Try each question before you open its answer.

The key ideas

  • A digital currency only exists electronically. It is a record of who owns how much.
  • It is used to pay for goods and services and to send money to people, through a device and often a digital wallet.
  • Every payment is a record in a ledger.
  • A blockchain is a digital ledger: a time-stamped series of records that cannot be altered.

One block

Each block holds:

  • its data (the payments);
  • a time-stamp (when it was made);
  • the hash of the previous block;
  • its own hash, worked out from all of the above.

A tiny change in the data gives a completely different hash. If block kkk of nnn is changed, the next block no longer fits, and n−k+1n - k + 1n−k+1 blocks would need new hashes to hide it.

How payments are tracked

  1. The payment is sent to a network of computers.
  2. They check it is valid.
  3. It goes into a new block with a time-stamp and the previous hash.
  4. The block is added to the chain and every copy is updated.
  5. It stays there, so the units can be tracked back through earlier payments.

A change would have to be made on more than half of the copies, and many blockchains make each block slow to add on purpose.

Practice with new numbers

A program to try

The program builds a chain of three blocks with real hashes, changes the middle one and checks every link.

Read it first. Then run it. Which link is broken?

1. Change the last block instead of the first. Which link breaks now?

Mistakes to avoid

  • A hash is not encryption. It cannot be turned back into the data.
  • Half is not enough. More than half of the copies must agree.
  • A block stores the previous hash, not the next one.

Check yourself

  1. What does it mean that a digital currency only exists electronically?
  1. Which part of a block links it to the block before?
  1. Why can a blockchain be trusted with no bank in charge?

Sources

  • Cambridge International, IGCSE Computer Science 0478 syllabus for 2026, 2027 and 2028, section 5.2 (digital currency).
← All Notes
← The Internet and the Web: Quick RevisionCyber Security Threats and Defences: Quick Revision →
More onComputer Science › The Internet, the Web and Digital Currency

Discussion (0)

Log in to join the discussion.

Loading…

On this page

  1. The key ideas
  2. One block
  3. How payments are tracked
  4. Practice with new numbers
  5. A program to try
  6. Mistakes to avoid
  7. Check yourself
  8. Sources

Goes with the lesson

  1. How a blockchain tracks transactionsDigital Currency and Blockchain

More notes on this topic

  1. The Internet and the Web: Quick Revision
  2. Logic Circuits and Truth Tables: Quick Revision
  3. NAND, NOR and XOR Gates: Quick Revision
  4. NOT, AND and OR Gates: Quick Revision
  5. COUNT, SUM, AND and OR: Quick Revision
All notes on this topic →