Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) ( i ) Write down the 1 6 - bit and 3 2 - bit 1 ' s complement and 2 '

(a)(i) Write down the 16-bit and 32-bit 1's complement and 2's complement in
hexadecimal of -23.(total 4 values)[4]
(ii) What is the rule for sign extension from m-bit 2's complement number to
n-bit 2's complement number, where n>m. Show that the algorithm is
correct. 6
(b) A machine uses 36-bit floating number representation as follows.
S,10-bit exponent (E),25-bit significand (M)
The value represented is given by (-1)S1.M2E-b, where b is the bias in excess
representation.
(i) What is the value of b?[1]
(ii) Write down the bit pattern corresponding to the value -26.5625[3]
(iii) Write down the value corresponding to the bit pattern c07780000[3]
(iv) In this representation scheme, we cannot represent the value 0. Suggest a
way how this can be solved. [2]
(v) Another designer uses the same bit allocation for sign, exponent, and sig-
nificand, but uses the following formula for the value:
V=(-1)S1.M4E-b
Write down one advantage and one disadvantage of this scheme. [3]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions