MESSAGE
DATE | 2014-10-31 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] Fwd: Architecture Homework - Review Questions
|
first set of questions answered:
~~~~~
Done by hand
Quest 1:
A) Base Conversion: (FA10E) 16 =(??)8 0F A1 0E (HEX) 0000 1111 1010 0001 0000 1110 (BIN) 000 011 111 010 000 100 001 110 (3 tuplets) 0 3 7 2 0 4 1 6 (OCT)
(B) (101001 )2 = (??)16 = (??)8 = (??)10 00010 1001 29 (HEX) 101 001 51 (Oct) (8*5) + (1) = 41(dec)
(C) (26789) 10 =(??)8 =(??)16
26789 1 13394 0 6697 1 3348 0 1674 0 837 1 418 0 209 1 104 0 52 0 26 0 13 1 6 0 3 1 1 1
110,100,010,100,101 (bin) 6 4 2 4 5 (Oct)
0110,1000,1010,0101 (bin) 68 A5 (Hex)
Quest 2: Arithmetic 1. Convert the decimal number 0.625 into floating point IEEE Standard 754 single precision:
0.625 converted to binary is 0.101 625 x2 = 1250 => 1 250 x2 = 500 => 0 500 x2 = 1000 => 1
1.01 x 2^-1
Exponent component 127-1 = 126 111 1110(bin)
Significant Digit is 0 (positive)
Significand segment is 010 0000 0000 0000 0000 0000 (hiding the leading 1) 0 0111 1110 010 0000 0000 0000 0000 0000 (32 digits)
I did this wrong on the test as I forgot to convert to binary before normalizing
2. Perform the following binary multiplication of two binary numbers: 10111011 and 11101101
(I question the value of this question to access and basic knowledge)
10111011 11101101 x -----------
10111011 1011101100 10111011000 1011101100000 10111011000000 101110110000000 -------------------------------------------------------- 1010110100011111 ?
1 10 10 11 11 11 10011 10 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 0 0 1 0 1 1 1 0 1 1 0 0 0 1 0 1 1 1 0 1 1 0 0 0 0 0 1 0 1 1 1 0 1 1 0 0 0 0 0 0 1 0 1 1 1 0 1 1 0 0 0 0 0 0 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 1 0 1 1 0 1 0 0 0 1 1 1 1 1 ? same as paper
|
|