Search Header Logo
CSD Unit 3 Lesson 18 Velocity Overview

CSD Unit 3 Lesson 18 Velocity Overview

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Patrick Trejo

Used 2+ times

FREE Resource

15 Slides • 24 Questions

1

media

Interactive Animations and Games

Lesson 18
Velocity

2

media

3

media

Volunteers?

I will need a couple of volunteers to act as my

“sprites” at the beginning of this lesson.

Interactive Animations and Games Lesson 18 - Warm Up

4

media

Journal Prompt:

I was just giving instructions to my "sprite", but

they seemed to get pretty repetitive.

How could I have simplified my instructions?

Interactive Animations and Games Lesson 18 - Warm Up

5

Open Ended

I was just giving instructions to my "sprite", but they seemed to get pretty repetitive

How could I have simplified my instructions?

6

media

Question of the Day

How can programming languages hide

complicated patterns so that it is easier to

program?

Interactive Animations and Games Lesson 18 - Warm Up

7

Open Ended

How can programming languages hide complicated patterns so that it is easier to program?

8

media

9

media

Code Studio, Level 1

Code Exploration

Try out the velocityX block with your partner.

Don’t forgot to use the block outside the draw loop, right after

you create your sprite.

Check out the "Help & Tips" section if you get stuck

Interactive Animations and Games Lesson 18 - Activity

10

Multiple Choice

Question image

When you drag a sprite.velocityX block directly below where your sprite is created.     

Write the name of your sprite in the block.

Assign the velocityX property a value of 2.

The fish sprite will move to the right when you run the program.

1

True

2

False

11

media
media

Why might you want to use a velocity block instead of the counter

pattern?

Give an example of a counter pattern and how you could use a

velocity block instead.

Interactive Animations and Games Lesson 18 - Activity

12

Open Ended

Why might you want to use a velocity block instead of the counter pattern?

Give an example of a counter pattern and how you could use a velocity block instead.

13

media
media
media
media

Code Studio, Level 3-7

Interactive Animations and Games Lesson 18 - Activity

Do This
Follow the instructions on each level
If you get stuck, try…

Help and Tips Tab
Code Documentation

If you make a big mistake…

Use version history to go back

14

Multiple Choice

In Clever|Code.org, Level 3-7, follow the instructions on each level

If you get stuck, try…

Help and Tips Tab

Code Documentation

If you make a big mistake…

Use version history to go back

1

True

2

False

15

Multiple Choice

Question image

The feather.velocityY = 1 is below the feather sprite and outside the draw loop.

1

True

2

False

16

Multiple Choice

Question image

The sun.rotationSpeed = 3 is below the sun sprite and outside the draw loop.

1

True

2

False

17

Multiple Choice

Question image

What property needs to be added inside the draw loop for the wheel to start spinning when the user presses the space bar?

1

wheel.rotationSpeed = 3

2

wheel.velocityX = 3

3

wheel.velocityY = 3

18

Open Ended

Question image

18.6 The code in the image uses if statements to make a fish sprite move in different directions.

Look at if statements that check the sprite's position and set its velocity.

With your partner, discuss what you think the code will do, and write your answer below.

19

Multiple Choice

Question image

The conditional with a less than, ball.y < 20 than ball.VelocityY = 5 will bounce the ball up in the game lab.

1

True

2

Fall

20

media
media
media

Code Studio, Level 8

Practice Level

Do This

Do all of the practice levels

Follow the instructions in Code Studio

Check out the Help & Tips tab if you need help

Interactive Animations and Games Lesson 18 - Activity

21

Multiple Choice

Code Studio, Level 8

Practice Level

Do This

Do all of the practice levels

Follow the instructions in Code Studio

Check out the Help & Tips tab if you need help

1

True

2

False

22

Multiple Choice

Question image

In order for the flyBot to move when the space bar is pressed, you need to add:

if statement

keyWentDown "space"

velocityY = -2 inside the draw loop.

1

True

2

False

23

Multiple Choice

Question image

In order for the brush to move when the down arrow is pressed and to bounce up, you need to add:

if statement

keyWentDown "down"

brush.velocityY = 2, and

if statement

brush.y > 330

brush.velocityY = -3

inside the draw loop.

1

True

2

False

24

media

Code Studio, Level 9

Assessment Level

Do This

Follow the instructions in Code Studio

The "Rubric" tab describes how to demonstrate your understanding

Check out the Help & Tips tab if you need help

Interactive Animations and Games Lesson 18 - Activity

25

Multiple Choice

Code Studio, Level 9

Assessment Level

Do This

Follow the instructions in Code Studio

The "Rubric" tab describes how to demonstrate your understanding

Check out the Help & Tips tab if you need help

1

True

2

False

26

Multiple Choice

Question image

In order to code the fish to move to the right add:

if statement

keyWentDown "right"

fish.velocityX = 4.

1

True

2

False

27

Multiple Choice

Question image

If the fish gets to the right-hand side of the screen, move the fish to the left, add:

if statement

fish.x > 400

fish.setAnimation fishL

fish.velocityX = -4.

1

True

2

False

28

Multiple Choice

Question image

If the fish gets to the right-hand side of the screen, move the fish to the left, add:

if statement

fish.x < 0

fish.setAnimation fishR

fish.velocityX = 4.

1

True

2

False

29

media
media

Code Studio, Level 10

Challenge Level

Do This

Do any or all of the challenge levels

Follow the instructions in Code Studio

Check out the Help & Tips tab if you need help

Interactive Animations and Games Lesson 18 - Activity

30

Multiple Choice

Code Studio, Level 10

Challenge Level

Do This

Do any or all of the challenge levels

Follow the instructions in Code Studio

Check out the Help & Tips tab if you need help

1

True

2

False

31

Multiple Choice

Question image

To move the alien up and to the right, add:

alien.velocityX = 3

alien.velocityY = 0

to the if alien.y < 50.

1

True

2

Fales

32

Multiple Choice

Question image

To move the alien down, add:

alien.velocityX = 0

alien.velocityY = 3

to the if alien.y > 350.

1

True

2

Fales

33

Multiple Choice

Question image

To move the alien left, add:

alien.velocityX = -3

alien.velocityY = 0

to the if alien.y > 350.

1

True

2

Fales

34

Multiple Choice

Question image

To strart the alien in the bottom left corner, add:

alien.velocityX = 0

alien.velocityY = 0

to the if alien.y < 50.

1

True

2

Fales

35

media

36

media

Interactive Animations and Games Lesson 18 - Wrap
Up

Journal Prompt:

As you went through the puzzles, though, you started doing some

interesting movements that we hadn't been able to do before.

Describe one of those movements, and how you made it.
Describe another block that you'd like to have.

What would you name it?
What would it do?
What code would it hide inside?
How would it help you?

37

Open Ended

Journal Prompt:

As you went through the quizizz, though, you started doing some interesting movements that we hadn't been able to do before.

Describe one of those movements, and how you made it.

Describe another block that you'd like to have.

What would you name it?

What would it do?

What code would it hide inside?

How would it help you?

38

Open Ended

Question of the Day

 What are more ways that the computer can react to user input?

39

media

Interactive Animations and Games Lesson 18 - Wrap
Up

Question of the Day

What are more ways that the computer

can react to user input?

media

Interactive Animations and Games

Lesson 18
Velocity

Show answer

Auto Play

Slide 1 / 39

SLIDE