How would you represent the decimal number 143 in 7 bit binary?

First look at the leftmost digit, which represents how many 128s are in the number. There is one 128 in 143, so we mark that as a 1. Then take the remainder of the value - in this case 143-128 = 15, and move on to the second digit, which is 64s. This time there aren't any 64s in 15, so we mark down a 0. By repeating this process, we end up with the binary number of 1001111.

JC

Related Computing GCSE answers

All answers ▸

Explain lossless compression.


why don't we all program in high level languages all the time if they are so much easier?


Computers use virtual memory, can you explain what this is and how it is used?


Within the systems life cycle, describe what events might take place in the Analysis stage.