This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 1: Introduction

Introduction to Lesson 4

face Josiah Wang

Hopefully you got through the quiz with flying colours! If not, make sure you understand what went wrong before proceeding!

Now, in this lesson, you will continue building on what you have learnt so far in previous lessons.

More specifically, you will explore the third selection block that I introduced back in Lesson 1, that is the repetition block. We will explore while loops in greater depth, and try to apply it (along with everything else you have learnt so far) to solve even more interesting programming problems.

The repetition block

We will also cover other topics as usual - good software engineering and programming practices, a bit more practice on Git and applying your latest skills to improve your robot project.

A reminder that you should engage actively in all the activities in the lesson. These are designed in hope that you can remember what you have learnt better.

As usual, feel free to take a break between each chapters (or in fact at any point), if you feel the need for it.

Let us begin.