The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+15 votes
1.4k views

The number 43 in 2's complement representation is

  1. 01010101
  2. 11010101
  3. 00101011
  4. 10101011
asked in Digital Logic by Veteran (68.8k points)
edited by | 1.4k views
it is really very confusing question. but now i got it.
In 2's complement representation positive integers are represented in its normal binary form while negative numbers are represented in its 2's complement form

3 Answers

+29 votes
Best answer
2's complement representation is not same as 2's complement of a number. In 2's complement representation positive integers are represented in its normal binary form while negative numbers are represented in its 2's complement form. So (c) is correct here.

http://www.ele.uri.edu/courses/ele447/proj_pages/divid/twos.html
answered by Veteran (332k points)
selected by
+5 votes

answer - C

MSB of 2's complement number has a weight of -2n-1

answered by Boss (9.3k points)
+3 votes

This is exactly the sort of question, which come under "silly mistakes " Category After exam. 

Reading the question carefully is very important , answer will be 1's complement of 43 , i.e. C) 

00101011.

answered by Loyal (3.2k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,443 questions
39,189 answers
108,812 comments
36,563 users