Computer Science, asked by ektasharma2002, 5 months ago

X=01110 and Y = 11001 are two 5 bit binary numbers represented in 2's complement format the sum of X & Y represents in 2's complement format using 6 bits is ​

Answers

Answered by sayammalik751
1

Answer:

i ll tell u later back i m bzy right now

Answered by itsjayantajm
0

Answer: 100111

Explanation:

Given,

x = 01110 and y=11001 are two 5 bit binary numbers represented in two's complement format.

the sum of x and y represented in two's complemented format using 6 bit.

Solution,

x = 01110

 = 0 x  + 1 x 2³+ 1 x 2² + 1 x + 0 x

 = 0+8+4+2+0

 = 14

y = 11001

 = 1 x  + 1 x  + 0 x  + 0 x  + 1 x

 = 16 + 8 + 0 + 0 + 1

 = 25

Hence ,

x+y = 14 + 25 = 39

the sum of x and y is 39 which is a binary number

now, 39 in two's complemented format using 6 bit

39 = 32 + 4+2 +1

    =

    = 1 x  + 0 x  + 0 x  + 1 x  + 1 x   + 1 x

    = 100111

Hence the sum of x and y represented in two's complemented format using 6 bit is 100111.

Similar questions