The Gateway to Computer Science Excellence
0 votes
144 views

2’s complement representation of the number $(-89)_{10}$ is

  1. 7
  2. 5
  3. 4
  4. 3

I don’t understand their solution. Please help.

in Digital Logic by Boss (23k points)
edited by | 144 views
0
in question they have asked for 2's complement in solution they have solved for sum of bits..? ambiguity?
0
I'm not getting the question correctly.But some of the case i can give.

1.Number of bits to represent.

$-2^{n-1} \geq -89 $

$2^{n-1} \geq 2^{7} $

n = 8 bits.

2.2's complement of the -89.

10100111 .

Sum of bits = 1 + 0 + 1 + 0 +0+ 1+1+1 => 5.

Number of bits = 8.
0

@arvin,@kumar.dilip

Exactly. I am also not getting it. And it said 2's complement representation of -89 and not 2's complement of -89.

0

@MiNiPanda i think there is some fault in the question!

Please log in or register to answer this question.

Related questions

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
50,647 questions
56,492 answers
195,439 comments
100,709 users