ITC544 Assignment on Data Representation and Digital Logic
5 Pages524 Words87 Views
Added on 2020-02-24
ITC544 Assignment on Data Representation and Digital Logic
Added on 2020-02-24
BookmarkShareRelated Documents
Full student NameStudent IDSubject Code (ITC544)Assessment Item Number and Name(Assignment 1: Data Representation and Digital Logic)Page 1 of 5
Question 1(a)A computer uses IEEE-754 single precision format to represent floating point. What value (indecimal) does the computer represent if the floating point is represented using the followingbinary digits. (6 marks)0 01111110 10100000000000000000000SolutionTo convert from IEEE-754 to decimal, it is important to note that,(i)The first term determines the sign of the number, the second term determines theexponent, while the third term determines the fraction or the mantissa. (ii)When the first term is 0 it is a positive number, if it is a 1 it is a negative number.(iii)Determine the exponent by converting the binary octet to decimal value. Since, thebinary set is a single-precision number, subtract the exponent from the bias of 127.(iv)The third term or the mantissa is converted to a fraction in base ten. (v)The resultant syntax of conversion is,(−1)signbit∗(1+fraction)∗sexponent−biasThe binary digits are signed 0 meaning it is a positively signed number.The next section is 01111110 which is converted to decimal to represent the number,011111102=12610The mantissa is given by,.101000000000000000000002=.524288010e=12610−12710=−110¿(−1)0∗(1+0.625)∗2−1Page 2 of 5
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
ITC 544 Computer Organization and Architecture Assignmentlg...
|5
|401
|222
ITC544 | Data Representation and Digital Logiclg...
|4
|909
|180
Digital Logic Part 1 Number conversions IEEE-754 numberlg...
|4
|561
|390
Computer Organization and Architecture | Assignmentlg...
|6
|912
|576
ITC544 - Boolean Algebra | Digital Logic - Assignmentlg...
|5
|437
|541
ITC 544 - COMPUTER ORGANIZATION AND ARCHITECTURElg...