Computer Variables

In computing, year 6 are learning about how variables are used in computer programs. We played a game to explore how variables are given values, and how these values change throughout the game. We also identified how some changes in a variables value can trigger an event. In our game, we had to stack dice to make a tower. We had 2 lives and lost a life whenever the tower collapsed. We kept track of our score and recorded the highest score.  The variables we used were lives, score and high score. Score changed every time a new die was added to the tower. Lives changed whenever the structure collapsed. When lives reached zero the player’s go was over. When the score was greater than the current high score, the high score was changed.

Article 17 – You have the right to get information that is important to your well-being, from radio, newspaper, books, computers and other sources. Adults should make sure that the information you are getting is not harmful, and help you find and understand the information you need.

Article 28 –  You have the right to a good quality education. You should be encouraged to go to school to the highest level you can.

Article 29 –  Your education should help you use and develop your talents and abilities. It should also help you learn to live peacefully, protect the environment and respect other people.

 

 

Leave a comment