Search Header Logo
[F3CS] binary shift

[F3CS] binary shift

Assessment

Presentation

Other

9th Grade

Practice Problem

Medium

Created by

Kevin Cheong

Used 2+ times

FREE Resource

8 Slides • 8 Questions

1

media

Bit Shifting

2

media

Objectives

Understand what bit shifting is and how it is done

Understand what shifting to right / left does to the

number

3

media

A binary shift moves all the bits in a binary number a

certain number of positions to the left or right

This is a fast way of multiplying or dividing the

number by the power of 2

4

media
media

Shifting to the left

Shifting the a byte to the left = multiplying number by 2
By doing so the left most bit (most significant bit) will be
lost

5

media
media

Shifting to the right

Shifting the a byte to the left = multiplying number by 2
By doing so the left most bit (most significant bit) will be
lost

6

Open Ended

What do we use binary shifting for?

7

Multiple Choice

What does binary shifting to the right by 1 do?

1

Multiply by 2

2

Multiply by 4

3

Divide by 2

4

Divide by 4

8

Multiple Choice

To perform multiplication, you must shift the number to the

1

Left

2

Right

3

Up

4

Down

9

Fill in the Blanks

10

Fill in the Blanks

11

media

0110 1110 << 2 = 1011 1000
0110 1110 >> 2 = 0001 1011

12

media

Shifting to the left:
one bit = x2
Two bit = x22 = x4
Three bit = x23 = x8

Shifting to the right:
One bit = /2
Two bit = /22 = /4
Three bit = /23 = /8

13

media

0011 1100 = 60
0011 1100 << 1 = 0111 1000 = 120
0011 1100 << 2 = 1111 0000 = 240

0011 1100 = 60
0011 1100 >> 1 = 0001 1110 = 30
0011 1100 >> 2 = 0000 1111 = 15

14

Fill in the Blanks

15

Multiple Choice

A left shift of 2 will produce the following results:

1

4 to 16

2

16 to 4

3

4 to 8

4

8 to 4

16

Fill in the Blanks

media

Bit Shifting

Show answer

Auto Play

Slide 1 / 16

SLIDE