Binary Number System Flashcards

1
Q

What is signed binary?

A

Signed binary numbers are encoded to include a positive or negative sign.

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

What is unsigned binary?

A

Unsigned binary numbers do NOT have a positive or negative sign so are useful for positive whole numbers only.

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

What is the advantage of using unsigned binary?

A

The advantage of using unsigned integers is that they can be used to store larger numbers than using signed integers

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

What minimum and maximum value does unsigned binary have?

A

An unsigned binary number has a minimum of zero and a maximum value of 2n-1,

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

What is the binary addition rules?

A

Binary Addition Rules:
0 + 0 = 0
1 + 0 = 1
0 + 1 = 1
1 + 1 = 102 write down 0 and carry 1
1 + 1 + 1 = 112 write down 1 and carry

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

How would you add the binary numbers 0111 and 0101 ?

A

1 + 1 = 2 so write 0 and carry 1
1 + 0 + 1 = 10 binary so write 0 and carry 1
1 + 1 + 1 = 11 binary so write 1 and carry 1
0 + 0 + 1 = 1 binary so write 1
So 0111 + 0101 = 1100 binary

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

What are the rules for binary mutliplication?

A

Binary Multiplication Rules:
0 x 0 = 0
1 x 0 = 0
0 x 1 = 0
1 x 1 = 1 (there are no carry or borrow bits with binary multiplication)

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

How would you multiply binary numbers 0011011 by 101 ?

A

Multiply 0011011
By 101
Step 1 multiply 00011011 by 1

Step 2 multiply 00011011 by 1 and shift 2 places
Binary addition three rows for final answer
Use carry bits where necessary
So 00011011 x 00000101 = 10000111 binary

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