Things to do while your students log on

5-minute activities

You can use these activities as ice-breakers, time-fillers, or as something for your students to do while they are waiting for their computer to start.

What shape is output following these commands?

Forward 100, Right 120°
Forward 100, Right 120°
Forward 100, Right 120°

Check to see if you were correct. This link opens in a drawing program called Pencil code. Click on 'Run Program' to see what shape the commands make.

Black in hexadecimal is #000000 and in RGB it's (0,0,0).
White in hexadecimal is #FFFFFF and in RGB it's (255,255,255).

See if you can deduce which option makes red:
#FF0000 or in RGB (255,0,0)
#00FF00 or in RGB (0,255,0)
#0000FF or in RGB (0,0,255)

#FF0000 or in RGB (255,0,0) makes red. Note this is for 24 bits per pixel. If only 3 bits per pixel the RGB value would be (1, 0, 0).

How would you encode this image?

If black is 0 and white is 1, how would you encode this image?

01110, 10101, 11011, 10101, 01110

Crack this code

Use this character table to crack the code below:
01001001
01101100 01101111 01110110 01100101
01100010 01101001 01101110 01100001 01110010 01111001

I
Love
Binary

Activities across the year levels

Below you'll find quick activities for your specific year level.

Instructing Bee-Bots

How can you get the Bee-bot to go to the pig?
How would you then get it to the straw house?

There are many paths you can take. Here is one example.
To get to the pig: → → ↑ ↑
and then to get to the house: ↑ ← ← ← ←

Question time!

Which of these do you use to type on a computer?

1. Mouse
2. Keyboard
3. Printer

Draw the keys that you would use to type your name.

b. Keyboard

Making shapes

1. What shape would these commands make?
Forward 100, Right 90°
Forward 100, Right 90°
Forward 100, Right 90°
Forward 100, Right 90°

2. Write the code for this triangle:

Make up a code for your own shape.

1. A square
2. Forward 100, Right 120°; Forward 100, Right 120°; Forward 100, Right 120°

Question time!

Which of these devices outputs data?

1. Speakers
2. Colour printer
3. Webcam
4. All of the above

d. All of the above

Making shapes

1. What shape would these commands make?
Repeat 4 [Forward 100 Right 90°]

2. Write the code for this pentagon:

Make up a code for your own shape as one line of code, using repeat.

1. A square
2. Repeat 5 [Forward 100, Right 72°]

How would you encode this image?

If black is 0 and white is 1 how would you encode this image?
How can you write it in the least amount of steps?

Note: The first number describes the starting colour. Next, the number of squares being shaded or not shaded is given. Each colour change is then represented by the number of squares shaded/not shaded. Can you see a pattern for each row?

1: 1, 2, 8, 2, 1
1: 1, 1, 1, 1, 6, 1, 1, 1, 1
1: 1, 1, 2, 1, 4, 1, 2, 1, 1
1: 1, 1, 2, 6, 2, 1, 1
1: 1, 12, 1
0: 4, 2, 2, 2, 4
0: 14
0: 6, 2, 6
1: 1, 12, 1
1: 2, 10, 2
1: 4, 6, 4

Question time!

1. Look at the following devices: a mouse, keyboard, webcam, game controller.
These devices all:
1. Send information to the computer
2. Store information from the computer
3. Output information from the computer.

2. The cloud, USB memory stick and computer hard drive all do what?

3. A makey makey board is:
1. An input device
2. An output device
3. A storage device.

1. Send information to the computer
2. Store information
3. An input device