PI_BinaryDecimal

toc

Introduction:
Assignment: Since computers operate with electricity, their system is based on the number 2, and the only choices in each place is 0 or 1. It is called “binary”.

Activity:

 * To convert binary numbers into decimal numbers, identify the place value of each 1 in the code, and add up the values. For example, the number 011001 has 1s in the 16, 8, and 1 place, so it is equal to 25 (16+8+1).
 * To convert decimal number into binary numbers, work from the left to the right. If you can add a 1 in that slot without exceeding your target number, do so. After you get to the 1s place, double check your answer by adding up the place values (as described above).
 * Complete the charts shown below!

Enrichment:
Can you express the value 255 in binary code?