logo

Assignment Computer Organization & Architecture

8 Pages462 Words447 Views
   

Added on  2020-05-28

Assignment Computer Organization & Architecture

   Added on 2020-05-28

ShareRelated Documents
UNIVERSITY AFFILIATIONDEPARTMENT OR FACULTYCOURSE CODECOMPUTER ARCHITECTURE AND ORGANIZATIONSTUDENT NAMESTUDENT REGISTRATION NUMBERDATE OF SUBMISSION1
Assignment Computer Organization & Architecture_1
QUESTION 1(a) Given a tiny computer that has a word size of 8 bits, what are the smallest negative numbers and the largest positive numbers that this computer can represent in each of the following representations? (2+2+2+2=8 marks)i.One's complementFor the one’s complement,01111111=271=127...forlargestpositivenumber10000000=(01111111)=(271)=127...forlargestnegativenumberii.Two's complementFor the two’s complement,01111111=271=127...forlargestpositivenumber10000000=(10000000)=(27)=128...forlargestnegativenumberiii.Signed magnitude12710¿+12710The leftmost bit is the sign bit. It represents the sign of the magnitude,Binary equivalent of 12710=11111112Therefore, 12710=111111112to+12710=011111112iv.Unsigned magnitudesmallestunsigned=010,largestunsigned=25510000000002=010¿111111112=25510(b) Convert the followings: (7 marks)i.0x5AB into Octal 0x5ABhexadecimal=5AB16Conversion: Hexadecimal to Binary to Octal2
Assignment Computer Organization & Architecture_2
To binary,0x5=0101b0xA=1010b0xB=1011bTherefore,0x5AB=010110101011bTo octal,¿010110101011boctal¿26538ii.101101.1012 into Decimal Factor 2524232221202-12-22-3Binary101101.101Decimal3208401.0.500.125¿32+8+4+1+0.5+0.125¿45.62510iii.12348 into Binary¿octal¿binary1234001010011100¿001010011100b¿10100111002iv.679810 into Base 5 number ¿679810¿67985=1359+353¿13595=271+454¿2715=54+151¿545=10+454¿105=2+0503
Assignment Computer Organization & Architecture_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Computer Organization and Architecture | Assignment
|6
|912
|576

Computer Organisation and Architecture - Assignment
|9
|1073
|74

Digital Logic Part 1 Number conversions IEEE-754 number
|4
|561
|390

ITC544 Assignment on Data Representation and Digital Logic
|5
|524
|87

Data Representation and Digital Logic: Conversion and Circuit Analysis
|6
|987
|84

Computer Architecture and Organization - Study Material and Solved Assignments
|8
|721
|92