Computational Thinking in Year 4
This week in year 4 we have been developing our computational thinking across the curriculum, as part of our context work. As we are learning about space exploration, we used the Just2Easy software on Hwb to program a rocket sprite using a specific algorithm.
Our first task was to think about the programming terms algorithm, bug, outcome and loop. We identified that an algorithm is a simple list of step-by-step instructions, used particularly when coding. Next we thought about how the outcome will affect the algorithm we use, and how we might use a loop or repeat function to help reach the outcome of our code. We used the example of an outcome ‘getting dressed’, in which our steps of waking up, having a shower, choosing items of clothing (socks, trousers, top) can be reordered/changed, but the purpose (outcome) of the code will always stay the same. We used our understanding of these key terms to begin to debug an existing piece of code.
Using the Habit of Mind striving for accuracy, we debugged the algorithm based upon an outcome to program the rocket to travel to all five planets before landing back on the moon. Once we had debugged the code, we used the software to reprogram the rocket sprite and test the new algorithm. Our final challenge was to create an algorithm to draw a simple 2D shape.