# Module 3 HW.docx - Module#3 Homework Questions(40 pts A...

• 5

This preview shows page 1 - 3 out of 5 pages.

Module #3 Homework Questions (40 pts) A) Show each of the following numbers as an 8-bit binary value: Fill in the Table: Decimal Value 8-bit binary value 15 00001111 3 00000011 0 00000000 64 01000000 63 00111111 127 01111111 B) Show the following numbers in binary using only as many bits as are needed: Fill in the Table: Decimal Value Binary value 15 1111 3 11 0 0 128 10000000 255 11111111 256 100000000 C) Show the following binary numbers in decimal: Fill in the Table: Binary Value Decimal value 0101 5 0111 7 0111111 63 01010101 85 0100000 32 D) Show how to do the following operations in binary, using 8-bit words Decimal Binary 12 00001100 +3 00000011 00001111
Perform the operation in binary, using 8-bit words Decimal Binary 64 01000000 +64 01000000 10000000 Perform the operation in binary, using 8-bit words Decimal Binary 64 01000000 +63 00111111 01111111 Perform the operation in binary, using 8-bit words Decimal Binary 12 00001100 -4 11111100 00001000 Perform the operation in binary, using 8-bit words Decimal Binary 17 00010001 -3 11111101 00001110 Perform the operation in binary, using 8-bit words Decimal Binary 128 10000000 -127 10000001 00000001 E) Show each of the following octal numbers in decimal: Fill in the Table: Octal Value Decimal value 12 10 32 26
• • • 