Computer Organization and Architecture - Assignment

Added on - 19 Nov 2019

  • 6

    Pages

  • 912

    Words

  • 330

    Views

  • 0

    Downloads

Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 3 of 6 pages
Running Head:Computer Organization and Architecture1Computer Organization and ArchitectureNameAffiliate Institution
Running Head:Computer Organization and Architecture2Table of ContentsQuestion 1 a: Floating points representation................................................................................................3Solution:..................................................................................................................................................3Question 1 b: Binary Numbers....................................................................................................................3Solution:..................................................................................................................................................3Question 2 a: Boolean Functions.................................................................................................................4Solution...................................................................................................................................................4Question 2 b: Boolean Algebra....................................................................................................................5Solution...................................................................................................................................................5References...................................................................................................................................................6Bibliography................................................................................................................................................6
Running Head:Computer Organization and Architecture3Question 1 a: Floating points representationA Computer uses IEEE-754 single precision format to represent floating points. What value (indecimal) the computer represents if the floating point is represented using the followingbinary digits:0 01111110 10100000000000000000000Solution:01111110=126Then, 126-127=-1=1.10100000000000000000000 x 2^-1= 0.110100000000000000000000 x 2^-1 x 2 ^1=0.110100000000000000000000=0.5+0.25+0.0625=0.8125 Null & Lobur (2015).Question 1 b: Binary NumbersUsing a "word" of 5 bits, list all of the possible signed binary numbers and their decimalequivalents that are represent able in: [3+3+3 = 9 marks]i. Signed magnitudeii. One's complementiii. Two's complementSolution:According to Patterson & Hennessy, (2012) a word of 5 bits can be represented as:SignedMagnitudeOne’sComplementTwo’scomplementDecimalEquivalent00000000000000000000100001000011000100001000010200011000110001130010000100001004001010010100101500110001100011060011100111001117010000100001000801001010010100190101001010010101001011010110101111011000110001100120110101101011011301110011100111014
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document