Complement analysis Flashcards

1
Q

Types of complement

A

r’s and (r-1)’s complement

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

r’s complement of N

A

r^n - N
n-no. of integer digits
N-given no.

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

(r-1)’s complement of N

A

r^n - N - r^-m
n-no. of integer digits
N-given no.
m-no. of decimal digits

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

When m=0 , only for nos. with integer digits

A

r’s complement - 1 = (r-1)’s complement

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

If we are finding 9’s complement for a no.

A

we subtract the no. using 999.999 for 9’s complement and then for 10’s complement , we add 1

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

1’s complement

A

Flip all bits

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

2’s complement

A

Find all 1’s complement and then add 1

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

F + 1=16

A

16-16=0 carry goes to prev with 1

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