Binary arithmetic

EasyMedium
1234567891011121314151617
Question 16
Medium

A low-power environmental monitoring device records three separate metrics as unsigned 8-bit binary values:

  • Temperature reading: 01010011201010011_2010100112​
  • Relative humidity: 00110101200110101_2001101012​
  • Pressure adjustment: 00010111200010111_2000101112​

Calculate the sum of these three values using binary arithmetic, giving your final answer as an 8-bit binary pattern.

0 1 0 1 0 0 1 10 0 1 1 0 1 0 1+ 0 0 0 1 0 1 1 1 \begin{array}{r} 0\ 1\ 0\ 1\ 0\ 0\ 1\ 1 \\ 0\ 0\ 1\ 1\ 0\ 1\ 0\ 1 \\ +\ 0\ 0\ 0\ 1\ 0\ 1\ 1\ 1 \\ \hline \end{array} 0 1 0 1 0 0 1 10 0 1 1 0 1 0 1+ 0 0 0 1 0 1 1 1​​
[2]

Binary arithmetic Questions

  1. GCSE
  2. /Computer Science
  3. /Binary arithmetic