Grade 6 Computational Thinking Reviewer
Grade 6 Computational Thinking Reviewer
3. Variables
Definition: Variables are used to store information that can be used and manipulated
within a program.
o Example: A variable to store the total of numbers input by the user.
4. Loops
Types:
oCounter Loop or Fixed Loop: Repeats a set number of times.
oConditional Loop: Repeats until a condition is met.
Example: Using loops in Scratch to repeat actions like adding numbers multiple times.
5. Sequence
6. Error Checking
Common Errors: Mistakes in the sequence of instructions or logic errors.
Debugging: The process of finding and fixing errors in a program.
Reuse: Using existing code for a new task with little or no modification.
o Example: Using a billing program for different businesses.
Repurpose: Modifying existing code to perform a new task.
o Example: Changing a tax calculation program to calculate service charges.
8. Creating Programs
Steps:
o Define the problem.
o Plan the solution (algorithm).
o Write the code (program).
o Test and debug.
o Document and maintain.
Adding a Snake: Introducing obstacles like a snake that the frog must avoid.
Conditional Loops: Loops that run based on specific conditions (e.g., if the snake
catches the frog).
End of Game: Actions that happen when the game conditions are met (e.g., frog touches
the gift, the game ends with a celebration).
12. Modules
Definition: A way to group related commands together to make programs easier to read
and maintain.
Creating Modules: Storing movement commands or startup commands in modules to
simplify the main program.
13. Editing Scripts for New Tasks
Practice Activities
1. Create an Algorithm
o Write an algorithm to calculate the average of ten numbers input by the user.
2. Write a Scratch Program
o Implement the algorithm in Scratch and test it.
3. Debugging
o Find and fix errors in a given Scratch program.
4. Game Development
o Develop a simple game using Scratch where a character moves through a maze.
5. Reuse and Repurpose
o Modify an existing Scratch program to perform a new task.