As always, we started with a review session of the last lesson. Then we got onto writing algorithm to draw a pattern made on graph paper such as shown below.
First we wrote text to describe it. Everyone soon realized why it was important to use code or programming key to write algorithms. So we then replaced the text by symbols. Then the class was able to see that if the same symbol was repeating, it is possible to come up with an easier way to depict it. For example
We then got into the concept of functions and parameters. After that everyone wrote shorter algorithms instead of the long one originally written, using functions and parameters, to draw the pattern. Then they passed onto a fellow mate to try to make the pattern to see if the instruction set was good.
Another nice weekend of coding completed!