AANSWERS TO EXERCISES
Here you’ll find questions and answers for the exercises included in this book. Some questions don’t have a single right answer; for those, I’ve included an example answer. You’ll get the most out of these exercises if you come up with an answer yourself before you read the solution found here!
1-2: Binary to Decimal
Exercise: Convert these numbers, represented in binary, to their decimal equivalents.
Solution:
10 (binary) = 2 (decimal)
111 (binary) = 7 (decimal)
1010 (binary) = 10 (decimal)
1-3: Decimal to Binary
Exercise: Convert these numbers, represented in decimal, to their binary equivalents.
Solution:
3 ...
Get How Computers Really Work now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.