Activity 7.1. A town of houses
We draw. A house on an A3 sheet. The class puts the sheets in a row on the floor, and this is the street.Goals
The child can. Changes the size of the whole drawing with one number in the first pair. New.- One number sets the size of the house: tokens without a number repeat numbers from the same program.
- Start at 30° with the template.
Materials
One A3 sheet per house, 30° start template (corner piece with an arrow), 1 cm grid sheet. Tokens:- Function, repeat × 3;
- Forward (four), Left, Right (two);
- numbers 100, 120;
- for the second house 150, 90, 60 or 50.
For printing
Lesson steps
- Opening, 5 min. Hand out sheets and kits. The teacher shows a finished house: “Today we draw this.” The street plan is on the whiteboard: which group draws a second house of which size.
- Body, 3 min. A child plays the robot and walks the roof on the floor: a step, a third of a turn, a step, another third, a step. Where does the child stand, and where does the child face?
- Predict, 7 min. The Programmer reads the program out loud. Which pair sets the size of the house? Guess: does Right without a number in the fourth pair turn 90 or 120? Draw the house in pencil on the grid sheet.
- Robot, 20 min. The A3 sheet with the short side toward you, the cross 20 cm from the top edge and 7 cm from the left edge. Put the corner of the template on the cross, and the robot faces along its arrow. Draw house 100. Own task: a second house of another size on a new sheet. Change only the first pair.
- Show, 7 min. Sheets in a row on the floor: the street. In the notebook: “One number in the first pair changes the whole house.”
Programs
Start: the top-left corner of the walls, the robot faces up and 30° to the right.House 100
Shorthand:F100 R120 F R F FN ×3 [L F].
The robot draws the left slope, the right slope, the bottom of the roof, then the walls.
Board: top row Forward 100, Right 120, Forward, Right, Forward, Function × 3. Bottom row: Left, Forward.
Run in the simulator
Program on the board
What the robot draws
House 150
Forward 150 in the first pair. Board: top row Forward 150, Right 120, Forward, Right, Forward, Function × 3. Bottom row: Left, Forward. Run in the simulatorProgram on the board
What the robot draws
Answer
Forward without a number repeats the number from the first pair, and Right without a number repeats 120 from the second pair. So after the right slope, the robot drives exactly along the bottom of the roof. The program has no Left before the function, so Left turns a quarter. House 100 takes 100 × 187 mm, house 150 takes 150 × 280 mm, house 90 takes 90 × 168, house 60 takes 60 × 112, house 50 takes 50 × 93. The robot ends in the top-right corner of the walls and faces up.Find the error
Someone put Right 90 in the fourth pair instead of Right without a number. (The bottom of the roof went at a slant, the walls came out crooked, and the drawing is 150 × 223 mm instead of 100 × 187.) Board: top row Forward 100, Right 120, Forward, Right 90, Forward, Function × 3. Bottom row: Left, Forward. Run in the simulatorProgram on the board
What the robot draws
For fast finishers
How many lines does the robot draw in the house, and how many of them take their length from memory? (Six lines: three in the roof, three in the walls. Only the first line has a number, and the other five repeat it.)Activity 7.2. Cube net
We draw. A cube net on an A2 sheet. We tape it together into a cube with 10 cm edges.Goals
The child can. Makes a start plan: one program, several runs from different places. New.- Start plan: each run has its own cross, arrow and number.
Materials
One A2 paper sheet per group, 1 cm grid sheet, scissors, tape. Tokens:- Function, repeat × 4;
- Forward, Right;
- number 100.
For printing
Lesson steps
- Opening, 5 min. Hand out sheets and kits. The teacher shows a taped cube and opens it out into a cross of six squares: “Today we draw this.”
- Body, 3 min. A child plays the robot and walks around a square on the floor. Where is the child at the end, and where does the child face? (In the same place as at the start, facing the same way.)
- Predict, 7 min. On the 1 cm grid sheet, one cell is a 10 cm square. Draw the cross: a column of four squares and one square to the left and to the right of the second square from the top. In the bottom-left corner of each square, draw a cross with an arrow up and the run number. Guess: will it fold into a cube?
- Robot, 20 min. Copy the crosses onto the sheet by the table below. Six runs in order of their numbers. Between runs, the Operator carries the robot, holding its body. Do not switch the board off between runs: the program does not change the memory, and each run draws the same square. Own task: the Programmer draws another cube net on the grid sheet, and the group draws it on the back if there is time.
- Show, 7 min. Cut along the outline, fold along the inner lines, tape together. In the notebook: “One program, six starts. The plan decides what comes out.” The cubes go on the table.
Program
Start: the bottom-left corner of the square, the robot faces up. Shorthand:FN ×4 [F100 R].
The square goes up and to the right of the cross. The robot ends at the start and faces up.
Board: top row Function × 4. Bottom row: Forward 100, Right.
Run in the simulator
Program on the board
What the robot draws
Answer
Six squares of 100 × 100 mm in a cross, the whole net is 300 × 400 mm. This is one of the 11 cube nets. The cube has 10 cm edges.Find the error
At start 4, the robot faced right, not up. (The square went down and to the right of the cross, right onto square 3. The sheet has five squares, and the net does not fold into a cube.)For fast finishers
A small cube with 5 cm edges: Forward 50 in the bottom row of the board. How does the start plan change? (All distances between the crosses are half as long, and an A3 sheet is enough.) Board: top row Function × 4. Bottom row: Forward 50, Right. Run in the simulatorProgram on the board
What the robot draws
Activity 7.3. Class poster
We draw. A class poster: a phrase made of letters, each letter on its own sheet.Goals
The child can. Draws their own part of a shared work by the plan and joins it with the parts of the others. New. Nothing, this is a project.Materials
One A4 sheet per letter, letter cards (the Book 2 font and V, W, X from 5.1 and 5.2), a long strip of paper or a wall, tape. Tokens:- as on the letter cards.
For printing
Lesson steps
- Opening, 5 min. Hand out sheets and kits. The teacher shows a finished letter on a sheet with a pencil line along the bottom. The class picks a phrase made of the letters A B C F G H I J L M O P S T U V W X and the digits 0 1 2 4 5 6 7 8 9, for example LOGO, MATH, MAGIC or WOW. One child is in charge of one letter.
- Body, 3 min. The children stand in a row in the order of the letters in the phrase.
- Predict, 7 min. The plan on the whiteboard: letter, group, run number. Each child draws a cross and an arrow on their sheet, as on the card, and draws the letter in pencil.
- Robot, 20 min. Letters by the plan, one letter per sheet. After the run, the Measurer draws a pencil line along the bottom of the letter across the whole sheet.
- Show, 7 min. Tape the sheets in a row so that the bottom lines match. V, W and X are 13 mm shorter than the others (87 mm against 100): their bottom is on the same line, and their top is lower. In the notebook: “We split a big work into parts, and the parts meet along a shared line.” The poster goes on the wall.
Programs
None are new: the letter programs are on the letter cards.Answer
All letters stand on one baseline. The top of V, W and X is 13 mm lower, and this is correct.Find the error
For the letter L, the robot faced up at the start, but the arrow on the card points down. (The letter came out upside down.) Board: top row Forward 100, Left, Forward 100. Run in the simulatorProgram on the board
What the robot draws
For fast finishers
A small star at the end of the phrase, the size of a letter:FN ×5 [F100 R144], as the star from 2.3 with side 100. (The star is 100 × 95 mm.)
Board: top row Function × 5. Bottom row: Forward 100, Right 144.
Run in the simulator
Program on the board
What the robot draws
Activity 7.4. The same program as text
We draw. A notebook page: one program on the board, in shorthand, in Logo and in Python.Goals
The child can. Translates a board program into Logo and Python and back. New.- Logo and Python: the same commands as text.
- In text, each command has a number, and you write the board’s memory as a variable:
a = a + 10does the same as Forward +10.
Materials
The table “board, shorthand, Logo, Python”, a notebook. If you have one, a computer or tablet with a Logo or Python turtle environment. Examples for the teacher are on the page PrimaSTEM and LOGO.
A Python program starts with the line
from turtle import *. The full table with Pause, F*2 and a command without a number is on the sheet Board, shorthand, Logo, Python table.
Tokens:
- not needed;
- without computers: one kit per group for checking.
For printing
Lesson steps
- Opening, 5 min. The teacher writes a square on the whiteboard in three ways: the board,
FN ×4 [F100 R],repeat 4 [fd 100 rt 90]. What is the same? - Body, 3 min. “Turtle”: one child reads the Logo text out loud, another child steps and turns.
- Predict, 7 min. Translate the square and the five-pointed star from 2.3 into Logo and Python.
- Computer or paper, 20 min. Translate the circle from 3.1 and the snail from 4.1, and run them in the environment. What came out the same, and what came out different? Without computers: swap notebooks. The neighbor builds the square or the star on the board from the text and runs the robot. Does the drawing match?
- Show, 7 min. In the notebook: “The board, shorthand and text are one program. Only the way of writing changes.”
Programs
None are new: the square, the star from 2.3, the circle from 3.1, the snail from 4.1.Answer
Square:repeat 4 [fd 100 rt 90]. Star: repeat 5 [fd 150 rt 144]. Circle: repeat 36 [fd 30 rt 10]. Snail in Logo: make "a 10 fd :a repeat 18 [make "a :a + 10 fd :a rt 90]. Snail in Python:
fd :a and the first forward(a) are the top pair Forward 10, and it is easy to lose. In text, you can lift the pen (pu and pd, penup() and pendown()). The robot’s marker does not lift.
Find the error
Someone translated the square like this:repeat 4 [fd 100 rt]. (Logo shows an error: it does not know how far to turn. On the board, Right without a number turns a quarter. In text, you always write the number.)