topic 2a- binary Flashcards

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

what number base is binary

A

base 2

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

what number base is denary

A

base 10

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

what number base is hexadecimal

A

base 16

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

what are the three steps to changing a negative number to binary using twos compliment?

A

1) work out the positive number in binary
2) swap the 1’s and 0’s
3) add 1

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

how do you convert from denary to binary

A

binary number line method

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

0+0=
0+1=
1+1=
1+1+1=

A

0
1
0 carry 1
1 carry 1

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

what does a left logical shift of one position do

A

-moves each bit to the left by one
-fills the vacant LSB with zero

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

what does a right logical binary shift of one position do

A

-moves each bit to the right by one
-fills the vacant MSB with a zero

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

what does a left arithmetic binary shift of one position do

A

-moves each bit to the left by one
-fills the vacant LSB with a zero
-is identical to a left logical binary shift

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

what does a right arithmetic shift of one position do

A

-moves each bit to the right by one
-fills the MSB with the previous MSB which has also been shifted one position to the right

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

what is one use of logical binary shifts

A

to multiply and divide unsigned numbers by powers of 2

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