Decoding weather station bytes with a format rule

A weather station stores each reading in one byte. Its format document says: a temperature byte holds an unsigned integer equal to the temperature in °C plus 40, so stored value = temperature + 40; a humidity byte holds the relative humidity in percent directly. Complete the table with each byte's unsigned stored value and its decoded reading as an integer, in °C for temperature or % for humidity.

FieldByteStored valueDecoded reading (°C or %)
Temperature, record 100111011
Humidity, record 101000111
Temperature, record 200011110

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Relation Between Information and Data Questions: