Converting Binary & Decimal Flashcards
All 5 cards in this deck
What are the eight place values of an 8-bit binary number?
128, 64, 32, 16, 8, 4, 2, 1.
What is the largest decimal number that can be stored in 8 bits?
255 (11111111).
What are the steps to convert a decimal number to 8-bit binary?
e.g. convert 20- Write the place values 128 64 32 16 8 4 2 1.
- Working from the left, put a 1 where the value fits and subtract it: 16, then 4.
- Fill the rest with 0s: 00010100.
What are the steps to convert an 8-bit binary number to decimal?
e.g. convert 00001101- Write the place values above the bits.
- Add the place values wherever there is a 1: .
- Answer: 13.
What is the largest whole number that can be stored in bits?
e.g. 4 bits can hold up to 15 (1111).