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. Problems
  2. /A blockchain records payments of a digital currency…
EasyComputer ScienceHigh School (9–10)Computer Science › The Internet, the Web and Digital CurrencyConceptualIGCSE

A blockchain records payments of a digital currency…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A blockchain records payments of a digital currency. Block 777 of the chain holds the payment "Sara pays Omar 6".

  1. List the four things that block 777 holds.
  1. Which of them links block 777 to block 666?
  1. Which of them is copied into block 888?
Need a reminder? The key ideaShowHide

A blockchain is a digital ledger: a time-stamped series of records that cannot be altered. Each block holds its data, a time-stamp, the hash of the previous block and its own hash. A tiny change in the data gives a completely different hash. If block kkk of nnn is changed, every block from kkk to nnn needs a new hash:

r=n−k+1.\displaystyle r = n - k + 1.r=n−k+1.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

(a) The data (the payment "Sara pays Omar 6"), a time-stamp, the hash of block 666 and its own hash.

(b) The stored hash of the previous block, block 666. It must equal block 666's own hash.

(c) Block 777's own hash. Block 888 stores it as its previous hash.

Remember. The two hashes are what make the blocks a chain.

Log in to save this for later
← All Problems
← Three friends start with these balances of a digital currency: Asha 40 units, Bilal 10 units, Carla…A blockchain has 9 blocks. A person changes the amount of a payment in block 4… →
More onComputer Science › The Internet, the Web and Digital Currency

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. Part of a blockchain holds these payments, oldest first…Hard
  2. A blockchain has 56 blocks. A new block is added to the honest chain every 10 minutes…Hard
  3. Kemal pays Dana 9 units of a digital currency that uses a blockchain…Medium
  4. A blockchain is copied on 40 computers in a network…Medium
  5. A student designs a "blockchain" in which each block holds only its data, a time-stamp and its own…Hard
All problems on this topic →