What is bit shifting? Flashcards

1
Q

What is bit shifting?

A

an operation done on all the bits of a binary value in which they are moved by a determined number of places to either the left or right

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

What is 0010 shifted to the right once?

A

0001

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

What is 0010 shifted to the left once?

A

0100

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

What is 00100110 shifted to the right twice?

A

00010011

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

What is 11100010 shifted to the left twice?

A

10001000

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