KLC Lessons for Grades 5-7

### Class #1

Programming with Kojo

- forward and right (and clear)
- make square
- get to know:
- code completion
- error recovery
- syntax errors (take Kojo's help)
- semantic errors (?)

- incremental running
- make pattern bit-by-bit
- recover from semantic errors

- copy and paste

- make two squares
- long program? use repeat
- get to know: code formatting
- make two squares using repeat

### Class #2

- make two squares using repeat
- make three squares using repeat
- make three squares using repeat - in less than 15 lines!
- make concentric squares, with sides 100, 80, 60, 40

### Class #3

- make it bigger - use of vals; ideas about programming - series of instructions etc
- tie into computer architecture
- procedures - seq, rep, sel,
*calls* - interlude using Kojo as a calc

### Class #4

- make it bigger - use of vals -
*in less than 15 lines!*- maybe repeati (for is better)

- make concentric squares, with sides in ratio 1, 1/2, 1/4, 1/8, 1/16
- make concentric squares, with sides in ratio 1, 15/16, 14/16, 13/16, 12/16

### Class #5

- Work with expressions
- BODMAS

### Class #6

- Equations - theory

### Class #7

Difference between repeat and for

- print on three lines in output window - 90, 90, 90
- print on three lines in output window - 90, 135, 180

### Class #8

- more about for
- user defined commands and functions

### Class #9 (next)

- setPenColor and setFillColor
- user defined command to make rectangle
- function for perimeter
- make various rectangles and print out perimeter
- Flags!

### Class #x (future)

- More on BODMAS
- 3 concentric squares that require an Equation for calculating the size of the central one.