Submitted by: Submitted by VIdhyasundar
Views: 67
Words: 1278
Pages: 6
Category: Science and Technology
Date Submitted: 02/11/2015 08:18 AM
ICT121
Tutor-Marked Assignment
TUTOR-MARKED ASSIGNMENT This tutor-marked assignment is worth 21% of the final mark for ICT121 Introduction to Computer Systems Architecture. The cut-off date for this assignment is 24 February 2015, 2359 hrs.
_________________________________________________________________________________
Submit your solution document in the form of a single MS Word file on or before the cut-off date shown above.
_________________________________________________________________________________
Question 1 (25 marks) A digital system uses 8-bit for integer representation and 16-bit for floating point number representation. Analyse the various number representations and answer the following questions. (a) Given A = 2A16 and B = 6E16. (i) If 8-bit sign-magnitude representation is used to represent integers, what is the range of decimal values it can represent? (2 marks) Express the value of A and the value of B in 8-bit binary if sign-magnitude representation is used for integers. (2 marks) Show how the digital system computes the logic operation A XOR (A OR B). Express the result in hexadecimal. (3 marks)
(ii)
(iii)
(b)
Given X = 5510 and Y = -6610. (i) Express the value of X and the value of Y in 8-bit binary if sign-magnitude representation is used for integers. (2 marks) Express the value of X and the value of Y in 8-bit binary if 2’s complement signed integer representation is used. (5 marks) Find the result of X + Y by performing the computation in 2’s complement arithmetic. Convert the result to decimal and show it is equal to -11. (4 marks)
(ii)
(iii)
(c)
The hexadecimal number A0FF represents a 16-bit floating point number. Its representation is given in Figure Q1(c). What is the decimal value? Show your working. (7 marks)
SIM UNIVERSITY
Tutor-Marked Assignment – Page 2 of
7
ICT121
Tutor-Marked Assignment
Bit 15 8 bits
Mantissa (M) is an unsigned fixed point fraction
8 7 8 bits...