7- scratch - lists

Scratch Lists
1 / 11
volgende
Slide 1: Tekstslide
ComputingLower Secondary (Key Stage 3)

In deze les zitten 11 slides, met interactieve quizzen en tekstslides.

Onderdelen in deze les

Scratch Lists

Slide 1 - Tekstslide

Can you remember what a variable is?
A
A function to perform maths.
B
A conditional statement for decision-making.
C
A loop to iterate through data.
D
A container to store data.

Slide 2 - Quizvraag

Key Objectives
Understand what lists are and how they work in Scratch.
Create and manipulate lists in Scratch
Create interactive projects using Scratch

Slide 3 - Tekstslide

Uses for lists in
programming?

Slide 4 - Woordweb

Let's make a list.
https://scratch.mit.edu/
  • Make a list, containing your five favourite things.
  • Delete the 3rd thing, leaving the others.
  • Change the 5th thing to "Mr. Motley's lessons"

Slide 5 - Tekstslide

What is an if statement?
A
An if statement is used to repeat a block of code a specific number of times.
B
An if statement is used to store data in memory
C
An if statement is used to make decisions based on certain conditions.
D
An if statement is used to create graphical user interfaces.

Slide 6 - Quizvraag

Let's make a quiz game #1
https://scratch.mit.edu/
  • Open 2 notepad windows
  • In the first write 3 questions about yourself
  • In the second write the correct answers
  • Save those as questions and answers

Slide 7 - Tekstslide

Let's make a quiz game #2
https://scratch.mit.edu/
  • Import the files into lists in scratch
  • Have Scratchy ask your first question
  • Take the user's input
  • Check the user's answer against the correct answer
  • Harder: Move the quiz on to questions 2 and 3
  • Harder: Add a working score counter

Slide 8 - Tekstslide

What do the light blue "sensing" blocks do?
A
They change the sprite’s appearance by applying filters.
B
They control the sprite’s motion and direction.
C
They allow the sprite to detect collisions with other sprites.
D
They play sounds and music during the program execution.

Slide 9 - Quizvraag

Final boss: 
Create an inventory system list.




Add a sprite for something to store in an inventory
Create an inventory list and a way to add to it
Add another character and a way for them to check if you have an item in your inventory
Have them remove the item from your inventory

Slide 10 - Tekstslide

What have you learned?
What skills have you used?
What did you find challenging?
What have you improved on?
What do you need to remember?

Slide 11 - Open vraag