2,018 views
0 votes
0 votes
Using binary arithmetic, a number c is computed by taking the n-bit two’s complement of ‘a – b’. If n is eleven, a = 10100001001 and b = 10101 then c = ?
(A) 011000011112
(B) 011000011002
(C) 011000111002
(D) 010001111002

explain?

1 Answer

0 votes
0 votes

 10100001001

-00000010101

______________

(10011110100)   

1's is 01100001011

2's is 01100001011

                            +1

________________

         01100001100

-----------------------------

Related questions

0 votes
0 votes
3 answers
1
Parimal Paritosh asked Sep 20, 2017
3,850 views
Please give me an example of adding two negative numbers using 2's complement number system.Let's say:-7 + (-6)
0 votes
0 votes
1 answer
2
Vivek Jain asked May 10, 2016
2,972 views
Determine how many times each packet has to visit the network layer and the data link layer during a transmission from S to D.
0 votes
0 votes
2 answers
3
Himani Srivastava asked Oct 10, 2015
1,430 views
P0wait(s); wait(q);Signal (s); signal(q);...P1[wait(q);wait(s);}signal(q);signal(s);....whether progress is guarnteed or not ???