Lectures 1-4 Flashcards

1
Q

What is the process for converting decimal to two’s complement?

A
  • Convert the modulus of the value into standard binary
  • If original value is positive, finish
  • If value was negative, invert all and add 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the process for converting two’s complement to decimal?

A
  • Observe MSB (if 1, number is negative)
  • If negative, invert all bits and add 1
  • Convert binary to decimal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does excess representation use?

A

Bias

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

What is the process for converting decimal into excess representation binary?

A
  • Add the bias to the value which we want to represent
  • Convert this to binary
  • Done
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the process for converting excess representation binary to decimal?

A
  • Convert from binary to its decimal equivalent

- Take away bias from the decimal

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