Computer Science Methods
SuperClassDocument Preview:
Submit your work in a single document in either MS Word or PDF format.All calculations must be shown in order to gain maximum marks.The indicative marking scheme is shown below. 10082828 identification number is an 8-digit number.For instance, d7 d6 d5 d4 d3 d2 d1 d0 where di : i = 0, 1, 2, 3, 4, 5, 6, 7 is the multiplier for 10i : i = 0, 1, 2, 3, 4, 5, 6, 7. 1.Compute the integer value uID = (d7 d6 d5 d4 d3 d2 + 100).2.Calculate the 32-bit two’s complement sequence for (-uID).3.Compute the real value uIDf = (d7 d6 d5 d4 d3 d2)/300.4.Calculate the 32-bit floating-point normalised sequence for (-uIDf).Produce a Java implementation to implement the requirements of Question 1, that is, to perform the 32-bits two complement and 32-bit floating-point conversion of a given number
10 years ago
Purchase the answer to view it

- computer_science_methods_1449714265.doc