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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!