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 weather station adds two rainfall readings stored in 8 bits: 01001011 and 00110110…
EasyComputer ScienceHigh School (9–10)Computer Science › Data RepresentationNumericalIGCSE

A weather station adds two rainfall readings stored in 8 bits: 01001011 and 00110110…

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 weather station adds two rainfall readings stored in 8 bits: 01001011 and 00110110.

Add them in binary, and give the answer in binary and in denary.

Check your answer

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

Need a reminder? The key ideaShowHide

Add binary in columns from the right: 1+1=101 + 1 = 101+1=10 (write 0, carry 1) and 1+1+1=111 + 1 + 1 = 111+1+1=11 (write 1, carry 1). An 8-bit register holds 0 to 255, so a total above 255 is an overflow. A logical shift of kkk places left multiplies by 2k2^k2k, and right divides by 2k2^k2k; bits shifted off the end are lost and 0s come in. In 8-bit two's complement the MSB is worth −128-128−128.

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.

Given. 01001011 and 00110110.

Plan. Add in columns from the right, then check in denary.

Step 1. The right-hand columns. 1+0=11 + 0 = 11+0=1. Then 1+1=101 + 1 = 101+1=10: write 0, carry 1.

Step 2. The middle columns. 0+1+1=100 + 1 + 1 = 100+1+1=10: write 0, carry 1. 1+0+1=101 + 0 + 1 = 101+0+1=10: write 0, carry 1. 0+1+1=100 + 1 + 1 = 100+1+1=10: write 0, carry 1. 0+1+1=100 + 1 + 1 = 100+1+1=10: write 0, carry 1.

Step 3. The left-hand columns. 1+0+1=101 + 0 + 1 = 101+0+1=10: write 0, carry 1. 0+0+1=10 + 0 + 1 = 10+0+1=1.

Step 4. Read the answer. 10000001, which is 128+1=129128 + 1 = 129128+1=129.

Check. 01001011 is 75 and 00110110 is 54. 75+54=12975 + 54 = 12975+54=129. The total is below 255, so there is no overflow.

Answer: 10000001, which is 129.

Log in to save this for later
← All Problems
← A network card has the address 00-1F-A7-3C-90-D2…A ticket machine adds the number of tickets sold in the morning, 10101010, to the number sold in… →
More onComputer Science › Data Representation

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A student must compress two files. File A is a text file holding the 7 characters ABCDEFG, one byte…Hard
  2. A line of an icon is stored with run-length encoding as these pairs of (count, colour code): (5…Medium
  3. One row of a scanned page is 13 pixels: 6 white, then 3 black, then 4 white…Easy
  4. An image is 800 pixels wide and 600 pixels high…Hard
  5. A camera takes photos of 2048 by 1536 pixels with a colour depth of 24 bits…Medium
All problems on this topic →