Binary_Nums_Quiz_Answers (1)

Binary_Nums_Quiz_Answers (1) - 1. Convert 01101111 to Base...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
The questions were: 1. Convert 01101111 to Base 10 2. How many bits do you need to interpret the number 1001? ( with 1001 as BASE 10 ) 3. How many bytes would that have to be? You got credit if you answer to this was: 1. 0 *2^7+ 1 *2^6+ 1 *2^5+ 0 *2^4+1*2^3+ 1 *2^2+ 1 *2^1+ 1 *2^0 = 0+64+32+0+8+4+2+1 = 111 2. 2^10 2^9 2^8 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0 1024 512 256 128 64 32 16 8 4 2 1 0 1 1 1 1 1 0 1 0 0 1 The answer is: You need 10 bits to represent this # 3. Therefore, you need 2 bytes to store the number, such that the number is: 0000 0011 1110 1001 But some people interpreted them as:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1. Convert 01101111 to Base 10 2. How many bits do you need to interpret the number 1001? ( with 1001 as binary ) 3. How many bytes would that have to be? You got credit if you answer to this was: 1. *2^7+ 1 *2^6+ 1 *2^5+ *2^4+1*2^3+ 1 *2^2+ 1 *2^1 + 1 *2^0 = 0+64+32+0+8+4+2+1 = 111 2. If you assumed this was binary, this was too easy of a question because it would obviously be 4 bits. 3. In order to store a this binary number, we would need ONE byte, such that the number would be 00001001....
View Full Document

This note was uploaded on 03/24/2011 for the course ENGINEERIN 127 taught by Professor Finch during the Spring '08 term at Rutgers.

Ask a homework question - tutors are online