0% found this document useful (0 votes)
10 views1 page

Computer Arthmetric

Uploaded by

elmusnigel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Computer Arthmetric

Uploaded by

elmusnigel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DEPARTMENT OF COMPUTING & INFORMATICS

SCS3302: Computer Architecture

1. Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s
complement, two’s complement, and Excess-127 representations:
(a) 72
(b) −72

2. Describe what conditions indicate overflow has occurred when two 2’s complement
numbers are added.

3. Let A = 87 and B = 25. Using 8 bits two’s complement arithmetic, perform:


(a) A+B
(b) A−B
(c) −A+B
(d) −A−B

4. Consider the 16-bit floating point representation where the first bit represents the sign, the
next 5 bits represent the biased exponent, and the last 10 bits represent the normalized
significand.

(a) Given the number A = 0100011000000000, what is the decimal value represented by
the bit sequence?
3
(b) Convert A = 7 4 to a floating point in the above representation.

5. Given the pair of numbers, N1 and N2, represented in the IEEE 754 single precision
floating point format as shown in the table,

Compute:
(a) N1 + N2
(b) N1 ∗ N2

You might also like