Corrections in Book pdf

Page 9. Example 1.2.3
There is an example with hexadecimal 80 = 0b10000000 . There is a 0 less in binary conversion. Is it correct or do we have to write this extra zero also?

1 Like

I think you are correct and there is a zero missing in the book.
Thanks for bringing it up!

1 Like

I still have a question on the 19fa in the same example. Do we have to write it like 0b0001100111111010 ? Can we also write only ob1100111111010?

Unless you are asked for a specific number of bits, you can of course leave out leading zeroes, so both options are fine.
It’s just that when converting from hexadecimal, having the leading zeroes may be more intuitive, as each digit in hexadecimal matches four bits.

1 Like