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. /Leo keeps a digital currency in a digital wallet…
EasyComputer ScienceHigh School (9–10)Computer Science › The Internet, the Web and Digital CurrencyNumericalIGCSE

Leo keeps a digital currency in a digital wallet…

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.

Leo keeps a digital currency in a digital wallet. On Monday the wallet holds 808080 units. During the week the ledger records these payments.

  • Leo pays 121212 units for a game.
  • His sister sends him 252525 units.
  • Leo pays 303030 units for a pair of headphones.
  1. What is Leo's balance at the end of the week?
  1. How many new records did the ledger gain?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

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, often from a digital wallet. Every payment is a record in a ledger, and a balance is

balance=start+received−paid.\displaystyle \text{balance} = \text{start} + \text{received} - \text{paid}.balance=start+received−paid.

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.

Step 1. Money out. 12+30=4212 + 30 = 4212+30=42 units.

Step 2. Money in. 252525 units.

Step 3. The balance. 80−42+25=6380 - 42 + 25 = 6380−42+25=63 units.

Step 4. The records. Three payments, so three new records. No old record was changed: the ledger only grows.

Answer: (a) 636363 units. (b) 333 records.

Check. Do it in order: 80−12=6880 - 12 = 6880−12=68, then 68+25=9368 + 25 = 9368+25=93, then 93−30=6393 - 30 = 6393−30=63. The same.

Log in to save this for later
← All Problems
← An online bookshop uses two cookies. Cookie A holds the books in the shopping basket while the user…A school newsletter says: "A digital currency is like the coins in your pocket, but kept inside a… →
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 →