Save
...
mod 2
binary
binary shift
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
emily d
Visit profile
Cards (10)
if you shift to the
left
you
multiply
if you shift to the
right
you
divide
a
bit
can be either
0
or
1
binary
numbers are made up of combinations of these two
digits
(0's and 1's)
binary
is
base
two, decimal is base ten
a
binary digit
is called a
bit
2
= move 1 space
4
= move 2 space
8
=move 3 space
16
=move 4 space
ect
1 left shift multiplies by 2 (10^2)
2 left shifts multiply by 4 (100^2)
3 left shifts multiply by 8 (1000^2)
4 left shifts multiply by 16 (10000^2)
1 right shift divides by 2 (10^2)
2 right shifts divide by 4 (100^2)
3 right shifts divide by 8 (1000^2)
4 right shifts divide by 16 (10000^2)
left shifting
moves the
bits
to the left and fills the empty spaces with zeros on the right side.
right shifting
moves the
bits
to the right and fills the empty spaces with zeros on the left side.