Unit 1 Lesson 4
Name(s)_______________________________________________ Period ______ Date ___________________
Activity Guide - Flippy Do Part 1
Directions
Use your Flippy Do to answer the questions.
All 4-Bit Numbers: Fill in the binary equivalents for the decimal numbers below. We’ve started the first three for you.
Binary: 4-bit number Decimal Binary: 4-bit number Decimal
0000 0 1000 8
0001 1 1001 9
0010 2 1010 10
0011 3 1011 11
0100 4 1100 12
0101 5 1101 13
0110 6 1110 14
0111 7 1111 15
What do you notice when you compare the odd numbers with the even numbers? What might explain this?
Their is always a 1 in the last column of the bit number for odds and their is always a 0 in the last column for the evens.
This could be explained that when you add 1 it will always make it odd so for even numbers you don’t add a 1.
Binary Numbers with exactly one 1: Complete the chart with all 8-bit binary numbers that have exactly one 1.
We’ve done the first two for you.
Binary: 8-bit number Decimal Binary: 8-bit number Decimal
(with exactly one 1) (with exactly one 1)
0000 0001 1 00010000 16
0000 0010 2 00100000 32
0000 0100 4 01000000 64
00001000 8 10000000 128
What do you notice about the decimal equivalents above?
I notice that every time the 1 moves left as you get higher number decimal.
Computer Science Principles 1
Unit 1 Lesson 4
Conversion Practice: Find the equivalent binary or decimal numbers below.
Binary Decimal Binary Decimal
100 4 00000101 5
101 5 00010001 17
1101 13 00011111 63
0001 1111 31 00100000 64
0010 0000 32 00110000 127
1010 1010 170 100000000 256
1111 1111 255 1000000001 513
.
When you add a zero to the right of a decimal number, it multiplies its value by 10 (For example, “15” becomes “150”).
What similar result happens to the value of a binary number when you add a zero on the right? (For example, “11”
would become “110”).
The binary number would also increase. And it would increase by double itself
Do the binary numbers “0011” and “000011” have the same value or different values? Explain.
They have the same value of three because adding zeros to the left will never increase the value.
Would two bits be enough to assign a unique binary number to each vowel in the English language? Explain.
No because the max value is 4 and their are 5 vowels in the aphebet
How many bits would you need if you wanted to count up to the decimal number 1000?
10 bits
Computer Science Principles 2