P2 T1 L3 - 2's Comlement Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Give the names, symbols and powers for the (4) binary prefixes

A
  1. kibi - Ki - 2^10
  2. mebi - Mi - 2^20
  3. gibi - Gi - 2^30
  4. tebi - Ti - 2^40
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give the names, symbols and powers for the (4) decimal prefixes

A
  1. kilo - K- 10^3
  2. mega - M - 10^6
  3. giga - G - 10^9
  4. tera - T - 10^12
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Quantities of _____ can be described using:

______ prefixes representing powers of 2
OR
______ prefixed representing powers of 10

A

bytes

binary

decimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Generally, hardware devices use ______ units while software uses _____.

A

decimal

binary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The leftmost bit is often referred to as the _____ significant bit.

The rightmost bit is often referred to as the ______ significant bit.

A

most (MSB)

least (LSB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

(Two’s Complement)

The ___, the ‘sign’, indicates whether the number is positive or negative. (0 is positive, 1 is negative)

Besides being a sign the ___ also has a value.

A

MSB

MSB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

State the decimal value of 1111 in two’s complement

A

-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

4 steps to translate NEGATIVE 2’s complement number to denary

A
  1. flip the bits (0-1,1-0)
  2. Translate into denary
  3. Add 1 to the result
  4. make the number negative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3 steps to translate NEGATIVE denary to 2’s complement

A
  1. Find the binary value of the equivalent positive denary number
  2. Flip the bits
  3. Add 1 to the result
How well did you know this?
1
Not at all
2
3
4
5
Perfectly