Signed Integers Flashcards

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

How are positive integers represented using two’s complement

A

The most significant bit is a 0

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

How are negative integers represented using two’s complement

A

The most significant bit is a 1, the other ones are then added to the initial negative number to find the denary value

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

How do you go from positive to negative (2C)

A

Flip the bits and add 1

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

Range of Values of 2s Complement

A

-2^n-1 to 2^n-1 -1

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