CSCI 360 | Spring 2014 |
Perform the following conversions or arithmetic operations. Once all of the questions have been answered, put the answers on Blackboard. The problems can be found on Blackboard under Contents/Assignments. Click on the "Homework 1" link.
Note 1: Please make sure to read the problem on Blackboard before supplying an answer. The questions should be in the same order as below, but Blackboard being Blackboard could have messed up the order.
Note 2: Each portion of questions 1 - 8 is worth 1 point, while each portion of question 9 is worth 2 points.
Convert the following binary numbers to decimal:
Convert the following binary numbers to hexadecimal:
Convert the following hexadecimal numbers to binary:
Convert the following hexadecimal numbers to decimal:
Convert the following decimal numbers to binary:
Convert the following decimal numbers to hexadecimal:
Perform the following unsigned binary arithmetic:
a. 1011 b. 111010 c. 1110101 + 0111 + 110111 + 1011111 d. 11010 e. 1010001 f. 11101101 - 10111 - 0110100 - 10110111
Perform the following unsigned hexadecimal arithmetic:
a. 9BA b. A45 c. ABC73 d. B31FDA + 1A4 + DEF + 234C9 + DB86DA e. 97A f. FAB g. 20D00 h. 9AD12E - 77C - 5CF - 1AA41 - 3BDE8A
The integers in the following computations are indicated in hexadecimal, but represent 32-bit two's complement binary numbers. Perform the operations and indicate whether or not overflow occurs.
a. BF0A7DC0 b. 70CFAA3D c. 8465442F + 70CFBA4D - BF0A7EC0 + 9D73B2A5 d. E9DC9812 e. FEBC8506 f. A453422E - E9DA4379 + 680BCAF7 - ED95A49A