“COUNT THE APPLES”

The main idea of this learning scenario is students is to understand some advanced concepts of selection structure, repetition structure and object-oriented programming.
Main Idea
CreatorRallis Spiros
SubjectComputer science
Length2-3 hours
Pedagogical ApproachReal Life and Technology assisted learning
 
CompetencesProblem solving
Algorithm thinking
Abstraction
Pattern Recognition
Debugging
GradesAge (10 – 11), high learning level, basic-intermediate programming knowledge, basic principles of robotics
TechnologiesScratch
Evaluation ToolsAt the end of the session students will “run” the program so teachers will evaluate them.

Learning Activities

Description

We will use CLONES to create a game that the player will catch falling apples with different colors. The students will use IF …ELSE statement in order to win or lose  points depending on what will be the color in their basket and also what will happen if the apple touch the basket. Also students will see the WHEN loop that they will use it for moving the basket and the REPEAT UNTIL.

Object-oriented programming is very popular and very powerful at this days. Therefore it’s important for students to understand the basic about it. By using CLONES to SCRATCH we can give them a first idea of how we can use object-oriented programming and create very beautiful programs.

COUNT THE APPLES WITH SCRATCH

1.We have to remind-explain the While (condition)  statement to students. We give them an example to understand how it works. For example -While (The washing machine works) the clothes are getting cleaner.

2. We will remind the students how IF …. Statement works (for example if the apple touch the ground will have to disappear) or IF we click RIGHT BUTTON the basket moves to the right .

3. We should guide them to built their program. We have to help them to find the right conditions to use with their statements.

4. We should explain how to use the blocks to SENSING pallet.

5. We will explain how to use CLONES and why this is the beginning for Object-oriented programming. We don’t have to create multiple apples. We just create one and after that with the BLOCK clones the program will create as many apple as we need to complete the game.

Discussion

1.We can use CLONES to create apples with different color and appear to a different place every time. Try it!!

2.Is it possible to create a version of the game by adding time or 2 players?

Worksheets

https://docs.google.com/document/d/1Eo9sjwQIygKfnBrOzryuYByBg0jNUHUxppmbHrxzwVY/edit








Leave a Reply

Discover more from Computational Thinking and Acting

Subscribe now to keep reading and get access to the full archive.

Continue reading