1,082 views
0 votes
0 votes
Find the 2's complement pattern for – 113?
(1) 0001111
(2) 00001111
(3) 10001111
(4) 1110001

Correct Answer: 3    Status: unattempted

2 Answers

3 votes
3 votes

-113;

binary of 113 = 1110001

2's comp of any binary number: (go from right to left)

rule 1: if any 0 occurs, ignore it.

rule 2: first 1, ignore it.

rule 3: complement every digit.

2's comp of 1110001 = 000111(first rule not applied, because there is no 0's)

113 = 0001111 (in 2's comp)

-113 = 10001111 (1 in mbs for -ve)

0 votes
0 votes
for 2's complement ..

start reading from right to left ...

>if u get 0 ignore it untill u get single 1

>when u get 1 just ignore it

>after that change 1>0 and 0>1

you will get 2's complement

and is option -1

Related questions

0 votes
0 votes
1 answer
2
Mayank Joshi asked Dec 16, 2018
496 views
P is a 16-bit signed integer. The 2’s complement representation of P is $(E77B)_{16}$. The 2's complement representation of 8×P is?
0 votes
0 votes
0 answers
3
mehul vaidya asked Oct 14, 2018
225 views
01001101 A+11101001 B - 100110110 CBoth A and B are in 2's compliment formMy doubt is in C what sign bit is it 8th position(0) or 9th position (1)?
0 votes
0 votes
2 answers
4
Hira Thakur asked Jul 7, 2018
412 views
2's complement (2's complement) = original number,in above fig in the 2nd stage we get the original number after that we again take 2's compliment??3 times 2's complement...