SLR11 Signed and Unsigned numbers Flashcards

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

What are the two types of binary:

A
  • signed (number could be negative)
  • unsigned (number can be either)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What rules allows you to convert to signed binary?

A

Twos compliment

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

How do you know if a signed value is negative?

A

It begins with a 1

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

What is the rule for twos compliment?

A
  • you flip the number (0 becomes 1 etc)
  • you add 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When should you not use two’s compliment?

A

when the number begins with a zero

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

How do you do subtraction of binary numbers?

A
  1. find 1 number in binary
  2. find the second number as a native value in binary
  3. add them together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly