Assignment: Numbering Systems
Recall that the Binary numbering system has TWO symbols (0-1); decimal has TEN (0-9), and hexadecimal has SIXTEEN (0-9, A-F). Binary numbers should always be written out in sets of four digits each time. Each binary digit is called a "bit".  Eight bits make up a byte and  four bits are a nibble.   Each hex digit represents one nibble.
For this assignment, complete the three sections below in a separate document and submit via the instructions at the bottom of the page.  Be sure to name your file: firstname_lastname_CIS106_U2_Assignment1.docx
 
HINT: Use the scientific calculator on your computer (Calc.exe)  to check your work; click on View - Scientific in XP, or View - Programmer in Windows 7.
 
Part A: Counting in Binary, Decimal, and Hexadecimal. Fill in the symbols and digits below. 
| 
 Binary 
 | 
 Decimal 
 | 
 Hexadecimal 
 | 
   
 | 
 Binary 
 | 
 Decimal 
 | 
 Hexadecimal 
 | 
| 
 0000 
 | 
 0 
 | 
 0 
 | 
   
 | 
   
 | 
 8 
 | 
   
 | 
| 
   
 | 
 1 
 | 
   
 | 
   
 | 
   
 | 
 9 
 | 
   
 | 
| 
   
 | 
 2 
 | 
   
 | 
   
 | 
 1010 
 | 
 10 
 | 
 A 
 | 
| 
   
 | 
 3 
 | 
   
 | 
   
 | 
   
 | 
 11 
 | 
   
 | 
| 
   
 | 
 4 
 | 
   
 | 
   
 | 
   
 | 
 12 
 | 
   
 | 
| 
   
 | 
 5 
 | 
   
 | 
   
 | 
   
 | 
 13 
 | 
   
 | 
| 
   
 | 
 6 
 | 
   
 | 
   
 | 
   
 | 
 14 
 | 
   
 | 
| 
 0111 
 | 
 7 
 | 
 7 
 | 
   
 | 
   
 | 
 15 
 | 
   
 | 
Part B: Binary to Decimal and Hexadecimal. Complete the chart. Add h to each hex number.Fill in the power of 2's as well.  *2^ means "2 to the power of"; for example, 2^5 = 2 * 2 * 2 * 2 * 2 = 32
| 
 No. 
 | 
 Binary 
(1   Byte format) 
 | 
 128 
 | 
 64 
 | 
 32 
 | 
 16 
 | 
 8 
 | 
 4 
 | 
 2 
 | 
 1 
 | 
 Decimal 
 | 
 Hexa-decimal 
 | 
| 
 27 
 | 
 26 
 | 
 25 
 | 
 24 
 | 
 23 
 | 
 22 
 | 
 21 
 | 
 20 
 | 
| 
 1 
 | 
 11001100 
 | 
 1 
 | 
 1 
 | 
 0 
 | 
 0 
 | 
 1 
 | 
 1 
 | 
 0 
 | 
 0 
 | 
 128+64+8+4=204 
 | 
 CCh 
 | 
| 
 2 
 | 
 10101010 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 3 
 | 
 11100011 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 4 
 | 
 10110011 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 5 
 | 
 00110101 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 6 
 | 
 00011101 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 7 
 | 
 01000110 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 8 
 | 
 10110001 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 9 
 | 
 11000001 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 10 
 | 
 11110000 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
Part C: Decimal to Binary: Complete the following table to practice converting a number from decimal notation to binary format. Mark each hexadecimal number with h.
| 
 No. 
 | 
 Decimal 
 | 
 128 
 | 
 64 
 | 
 32 
 | 
 16 
 | 
 8 
 | 
 4 
 | 
 2 
 | 
 1 
 | 
 Add them up to check 
 | 
 Hexadecimal 
 | 
| 
 11 
 | 
 49 
 | 
 0 
 | 
 0 
 | 
 1 
 | 
 1 
 | 
 0 
 | 
 0 
 | 
 0 
 | 
 1 
 | 
 32+16+1=49; 0011=3;0001=1 
 | 
 31h 
 | 
| 
 12 
 | 
 15 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 13 
 | 
 77 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 14 
 | 
 140 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 15 
 | 
 252 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 16 
 | 
 222 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 17 
 | 
 192 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 18 
 | 
 169 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 19 
 | 
 127 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
| 
 20 
 | 
 your   age 
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 | 
   
 |