Developing a plan
What are the odds?
Lesson 1
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
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 |
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.
Warm-up
5
What are the odds?
15 minutes
Activity 1
6
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
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.
How might we create a program that gives users a random response to a yes or no question?
9
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.
Activity 1
11
To get started, we will plan the layout of our program.
Layout is the way parts of something are arranged.
Compare the layouts of these programs.
12
13
What might users need to know to use this program?
14
What about this one?
How can a clear layout improve a user’s experience?
Activity 1
15
Turn
Talk
Program development
15 minutes
Activity 2
16
Activity 2
17
Your plan for your program needs:
A clear layout
A button sprite
A character sprite
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?
Your program development activity sheet must include:
19
A clear layout
A button sprite
A character sprite
Getting started in Scratch
25 minutes
Activity 3
20
Activity 3
21
You will use Scratch to create projects in Code Classroom
Activity 3
22
You will find instructions on the left.
Instructions
Activity 3
23
To work on a project, drag programming blocks into the programming area.
Programming area
Programming blocks
Instructions
Activity 3
24
Your programs run on the stage.
Programming area
Programming blocks
Stage (with sprite)
Instructions
Activity 3
25
You can manage the sprites and backdrops in the sprite pane.
Programming area
Programming blocks
Stage (with sprite)
Sprite pane
Instructions
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.
Activity 3
27
Increase the size of the stage by clicking the middle button above the stage.
Activity 3
28
Modify the backdrop by clicking the bar on the right, then select backdrops.
2
1
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.
Activity 3
30
Add button sprites to your app by clicking “choose a sprite” in the sprite pane.
Activity 3
31
You can use these tools to modify your sprites and backdrops.
Activity 3
32
Select
Fill
Text
Experiment with these three tools to personalize your layout.
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?