Question: Exercise 1.21. (a) Compute the binary representation of 89. Pad it with Os so that it con- sumes a byte. (b) Compute the decimal representation

Exercise 1.21. (a) Compute the binary representation of 89. Pad it with Os so that it con- sumes a byte. (b) Compute the decimal representation of 01101001. (c) How can you tell if a binary number is even or odd? If it is a multiple of 4? Of 8? Of 32? (d) Write a list of random decimal and binary numbers, and convert them back and forth
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
