in Digital Logic edited by
696 views
3 votes
3 votes

Which among the following statements is TRUE?

  1. A circuit containing only OR and NOT gates must be a combinational circuit.
  2. SRAM is “static” in the sense that if the power is turned off, SRAM will continue to store data (e.g. as in flash memory in MP3 players or USB thumb drives).
  3. In the two’s complement number representation, a negative number with more leading ones is larger (i.e. less negative) than a negative number with fewer leading ones.
  4. For numbers represented in two's complement form, the negative of a number can be found by adding one and then inverting the bits.
in Digital Logic edited by
by
696 views

4 Comments

Thanks a lot sir for clearing the concept.
0
0
Sir ,

but why wont sign extension condition apply here ?

1111 1110 and 1110 are the same.
5
5

 2's complement representation would dictate the number of fixed mandatory bits to be used. You can't arbitrarily perform sign extension if you have a fixed format, which is the case here.

1
1

1 Answer

1 vote
1 vote
hey bikram

In the two’s complement number representation, a negative number with more leading ones is larger (i.e. less negative) than a negative number with fewer leading ones.

It is like ambigous statmnt make it more clear.

4 Comments

take an example for option C

−42  in 8 bit   1101 0110
−128 in 8 bit     1000 0000

here 42 is less negative than 128 .

Reference

 https://en.wikipedia.org/wiki/Two's_complement#Example

1
1
@bikram sir, the nos can be equal also in some cases, right? For example, 1110 is same as 110 in 2's complement repreentation, isn't it?
0
0
@Shraddha No. For a given representation we have to assume a "fixed" no. of bits. Also, 2's complement and 2's complement representation are not the same.
3
3
ok. Thank you sir.
0
0
Answer: