Week 3 Tutorial

Functions

In the tutorial this week, you are going to discuss how functions work.

As a class, write up a program which uses functions to convert numbers into words for numbers between -10 and 10.

Code Review and Craftsmanship

Next, we’ll look at the confusing code task and performing a code review.

How a code review works:

This week, the tutor will lead the code review (as Julian seems to have disappeared and is nowhere to be found).

If there is time in the tutorial, see if any student pair would like to do a 10 minute code review on the leap year task from week 2.

The code review for next week will be sort 3 numbers activity. Select a student pair who will present their code next week for code review.

Revision

Your tutor will then spend the remainder of the tutorial revising topics you would like help with. Let them know if you have questions about branching with if, else and else if or functions. This is also a good chance to discuss the first assignment.