MESSAGE
DATE | 2014-10-31 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] Fwd: Architecture Homework - Review Questions
|
From owner-hangout-outgoing-at-mrbrklyn.com Fri Oct 31 09:34:44 2014 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id 01051161167; Fri, 31 Oct 2014 09:34:44 -0400 (EDT) Delivered-To: hangout-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id E5B10161169; Fri, 31 Oct 2014 09:34:43 -0400 (EDT) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id 18433161167 for ; Fri, 31 Oct 2014 09:34:43 -0400 (EDT) Received: from [10.0.0.42] (unknown [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTP id AC88612A46 for ; Fri, 31 Oct 2014 09:34:39 -0400 (EDT) Message-ID: <54539022.7000801-at-panix.com> Date: Fri, 31 Oct 2014 09:35:30 -0400 From: Ruben Safir User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: hangout Subject: [NYLXS - HANGOUT] Fwd: Architecture Homework - Review Questions References: <54538EF7.3090502-at-mrbrklyn.com> In-Reply-To: <54538EF7.3090502-at-mrbrklyn.com> X-Forwarded-Message-Id: <54538EF7.3090502-at-mrbrklyn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
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
|
|