Question: Given two numbers a and b with 5 - bit two's complement representation, where a = 0 0 1 1 1 b = 0 1

Given two numbers a and b with 5-bit two's complement representation, where
a=00111
b=01010
The binary addition a+b is carried out to obtain the result c which is also with 5-bit two's
complement representation.
Do not enter any white spaces in the answer boxes below.
(a) What is the decimal value of a?
(b) What is the decimal value of b
(c) What is the decimal value of the sum if you add the decimal value of a and the decimal
value of b?
(d) What is the resulting binary number c in two's complement representation if you
perform the binary addition of a and b?
(e) What is the decimal value of c?
(f) The following statement i (Clearmy choice)
false
above binary addition true
Given two numbers a and b with 5 - bit two's

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!