1 of 33

Developing a plan

What are the odds?

Lesson 1

2 of 33

Lesson 1 objectives

What are the odds?

I can plan an investigation to answer a question.

I can compare the effectiveness of different designs.

I can outline program elements in a plan.

2

3 of 33

Lesson 1 agenda

What are the odds?

3

2 minutes

Unit video

8 minutes

What are the odds?

15 minutes

Program development

18 minutes

Getting started in Scratch

4 of 33

Lesson 1 vocabulary

Layout: The way the parts of something are arranged.

What are the odds?

4

Program: A set of ordered commands that can be run by a computer for it to complete a task.

5 of 33

Warm-up

5

6 of 33

What are the odds?

15 minutes

Activity 1

6

7 of 33

Activity 1

7

With a partner, discuss what you notice about this object and what it might be used for.

BETTER NOT �TELL YOU �NOW

8 of 33

What is it?

Activity 1

8

OUTLOOK

GOOD

A hollow plastic sphere that contains a 20-sided die.

​

Each of the faces of the die has a different positive, negative or neutral response to a yes or no question.

​

When the window faces up, a random side of the die appears with an answer to their question.

9 of 33

How might we create a program that gives users a random response to a yes or no question?

9

10 of 33

Activity 1

10

By the end of this unit, you will create a program where users can ask a yes or no question and receive a random answer.

11 of 33

Activity 1

11

To get started, we will plan the layout of our program.

​

Layout is the way parts of something are arranged.

12 of 33

Compare the layouts of these programs.

12

13 of 33

13

What might users need to know to use this program?

14 of 33

14

What about this one?

15 of 33

How can a clear layout improve a user’s experience?

Activity 1

15

Turn

Talk

16 of 33

Program development

15 minutes

Activity 2

16

17 of 33

Activity 2

17

Your plan for your program needs:

A clear layout

A button sprite

A character sprite

18 of 33

Go to: Program development activity sheet

18

Draw a quick sketch of your program’s layout.

Write your welcome message to users.

​

Add a second character.

Write a title and description of what your program will do and how people will use it.

Reminder:

You will use your sketch as a guide for your program. It must include a button and character sprite.

Ready for more?

19 of 33

Your program development activity sheet must include:

19

A clear layout

A button sprite

A character sprite

20 of 33

Getting started in Scratch

25 minutes

Activity 3

20

21 of 33

Activity 3

21

You will use Scratch to create projects in Code Classroom

22 of 33

Activity 3

22

You will find instructions on the left.

Instructions

23 of 33

Activity 3

23

To work on a project, drag programming blocks into the programming area.

Programming area

Programming blocks

Instructions

24 of 33

Activity 3

24

Your programs run on the stage.

Programming area

Programming blocks

Stage (with sprite)

Instructions

25 of 33

Activity 3

25

You can manage the sprites and backdrops in the sprite pane.

Programming area

Programming blocks

Stage (with sprite)

Sprite pane

Instructions

26 of 33

Activity 3

26

Change the size of the instructions by dragging the panel, or hide them by clicking the arrows in the bottom left corner.

27 of 33

Activity 3

27

Increase the size of the stage by clicking the middle button above the stage.

28 of 33

Activity 3

28

Modify the backdrop by clicking the bar on the right, then select backdrops.

2

1

29 of 33

Activity 3

29

A rectangle

An oval

A circle

In Scratch, there are three button sprites you can choose, or you could create your own.

30 of 33

Activity 3

30

Add button sprites to your app by clicking “choose a sprite” in the sprite pane.

31 of 33

Activity 3

31

You can use these tools to modify your sprites and backdrops.

32 of 33

Activity 3

32

Select

Fill

Text

Experiment with these three tools to personalize your layout.

33 of 33

Go to: What are the odds?

33

Add your sprites.

Click on to add your character and button sprites.

Add a welcome message with Looks commands.

Choose your backdrop.

Use to edit your backdrop.

Reminder:

You already created a sketch of your layout. Use your program development activity sheet to create your layout in Scratch.

Use to edit the appearance of your sprites.

Ready for more?