Binary Lesson 2 Bytes Base Ten n Normal
Binary Lesson 2 Bytes
Base Ten n Normal Numbers n Each place has one of these values: n 0123456789 n 147 = 1*100 + 4*10 + 7 n Or 1*10^2 + 4*10^1 + 7*10^0
Base Ten 147 Hundreds place Number of hundreds 10^2 Ones place Number of ones 10^0 Tens place Number of tens 10^1
Base Two n Binary Numbers n Each place has one of these values: n 01 n 11 =1*2+1=3 n Or 1*2^1 + 2^0
Base Two 101 Fours place Number of fours 2^2 Ones place Number of ones 2^0 Twos place Number of twos 2^1
Counting to 7 Base Two n 0 n 10 n 11 n 100 n 101 n 110 n 111 n Base Ten 0 1 2 3 4 5 6 7
Counting to 15 Base Two Ten n 0 n 10 n 11 n 100 n 101 n 110 n Base Ten Base Two Base 0 1 2 3 4 5 6 1000 1001 1010 1011 1100 1101 1110 8 9 10 11 12 13 14
Four Bits Make a Nybble 1 0 0 1 8 s 4 s 2 s 1 s
Eight Bits Make a Byte 1 128 s 0 0 1 1 0 0 1 64 s 32 s 16 s 8 s 4 s 2 s 1 s So this number is 128 + 16 + 8 + 1 = 153
Binary i. Clicker Questions
What is 6 in binary? A. B. C. D. E. 00111111 00011110 00000111 00000110 00000011 1 of 6
What is 15 in binary? A. B. C. D. E. 00111111 00001111 00000011 2 of 6
What is 32 in binary? A. B. C. D. E. 00011010 001000000 10000000 00011111 3 of 6
What is 59 in binary? A. B. C. D. E. 1111 10000011 00101111 00111101 00111011 4 of 6
What is 01000000 in decimal? A. B. C. D. E. 10 100 128 64 32 5 of 6
What is 01111111 in decimal? A. B. C. D. E. 87 109 111 127 255 6 of 6
- Slides: 16