CMPS 273, Fall 2006, Assignment 4, Excel



CMPS 173, Fall 2008, Assignment 11, Quiz 2, Fundamentals of Computing; Due October 23, 2008 (260 points)

1. Fill in the following data: (5)

a. Name:

b. W number:

c. Favorite bug:

2. Work the following math problems (10)

a. (2 ×2 × 2 ×2) / (2 ×2 × 2 ×2 ×2 ) =

b. 16 * 16 / 24 =

c. 20 =

d. 12345763340 * 2-1 =

e. 191 =

3. What are the steps you do in order to take the inverse of a binary number (what are the steps in the 2’s complement process). (10)

4. Define: (10)

a. Bit

b. Little bit

c. Little bit more

5. Work the following 5 bit two’s complement math problems. Make sure that you show the two’s complement process as outlined below. (40)

a. 00101 + 00001

b. 00101 – 00010

c. 00001 + 11111

d. 00010 – 00011

e. 00001 – 00001

f. 11111 – 01010

g. 00111 + 01011

h. 00111 + 00110

i. 11110 – 00001

j. 00100 + 00101

6. Count from 0 to 20 in hexadecimal. (20)

7. Fill in the blanks in the following table (40)

|Binary |Hex |Decimal |

|0001 1001 | | |

| |1c | |

| | |31 |

|0001 0001 | | |

| |42 | |

| | |10 |

|1101 | | |

| |19 | |

| | |64 |

|1111 | | |

8. Convert the following hexadecimal numbers to binary. (40)

a. 10

b. 11

c. 1e

d. A

e. 1eb

f. 03f8

g. 02f8

h. 27

i. 72

j. 01

9. Convert the following hexadecimal numbers to decimal. (20)

a. 111

b. 10

c. 10e

d. 3a

10. Convert the following unsigned binary numbers to hex and then to decimal. (40)

a. 0011

b. 0001 1100

c. 0011 0011

d. 1000 1111

11. How many bits does it take to represent the numbers between: (15)

a. 0 and 7

b. -4 and 3

c. 0 and 1024

12. Using 3 bit 2’s complement binary numbers count from -4 to 3. (10)

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download