1,004 views
0 votes
0 votes

The representation of the value of 20 bit signed integer in 2’s complement form is P = (A72E5)16 . Which of the following represents 16 × P in 1’s complement representation?

A)(72E4F)20

B)(72E50)20

C)(72E4E)20

D)NONE OF above

ON seeing options i marked option d becz none of these have base 16....but actual answer given is option A ...no reson given but what i feel is that base greater than 15 should be there????no matter 16 or 20???

1 Answer

1 votes
1 votes

Option a is right.

  • In multiplication of 2's complement .

  • We perfome logical left shift operation.

  • I.e remove MSB bit and add Zero in LSB .

  • In this question we need to multiply with 16 . Then remove 4  MSB bit and add  4 zero in LSB bits . Teen we get 16 *p . 

  • 16*p is 2's complementation . Then we subtract one we get 1's complement.

Related questions

0 votes
0 votes
0 answers
1
manisha11 asked Feb 22, 2019
397 views
0 votes
0 votes
0 answers
2
Bhupendra asked Dec 21, 2018
691 views
How to approach this kind of problem ?please provide the detailed approach .
0 votes
0 votes
0 answers
3
hitendra singh asked Oct 21, 2018
708 views
Is it to solve via tables?
0 votes
0 votes
0 answers
4
hitendra singh asked Oct 14, 2018
469 views
what will be the simplified expression of the following ?1-$\bar{P}\bar{Q}+\bar{Q}\bar{R}+\bar{R}\bar{S}+\bar{T}\bar{S}+\bar{T}\bar{R}+S$My answer is this please me if it...