• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/7

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

7 Cards in this Set

  • Front
  • Back

Formula for largest positive number in n-bit two's complement

(2(power n) /2) -1




Example: 16-bit


(2(power 16) /2) - 1


(65,536 /2) - 1


32,768 - 1


32,767



Formula for smallest negative number in n-bit two's complement

(2(power n) /2) * -1


Example: 16-bit(2(power 16) /2) * -1


(65,536 /2) * -1


32,768 * -1


-32,768



Unsigned number can only be...

Positive

Signed number can be...

positive or negative



In signed binary, the first number indicates...

Whether it is positive or negative

In signed binary, the first number is....

not included in the total, but is a sign of + or -

To convert from n-bit two's complement to decimal...

Find -x =


Flipped x + 1




Example:


110100 6-bit


flipped = 001011


plus 1 = 001100


then find places and calculate


-x = 12(base 10)


x = -12(base 10)