Coding for Little Kids
Domande 10
Le soluzioni sono visibili agli insegnanti che hanno effettuato l'accesso.
-
Order of commands
A robot must draw a square. Which order of commands makes the robot draw the square correctly?
Turn right, turn right, move forward, move forward
Move forward, turn right, move forward, turn right, move forward, turn right, move forward, turn right
Turn right, move forward, turn right, move forward, turn right
Move forward, move forward, move forward, move forward, turn right
A square has four equal sides and four corners. Think about what the robot does at each corner. -
What is a sequence?
In computer science, what is a sequence of instructions?
A list of pictures shown on a screen
A single instruction repeated forever
Instructions carried out one after another in a set order
Instructions that are skipped at random
Think about the word 'sequence' in everyday life, like the steps of brushing your teeth. -
Purpose of a loop
Why do programmers use a loop?
To repeat a set of commands without writing them many times
To make the computer turn off automatically
To store a picture in memory
To delete all the commands in a program
Imagine you want a character to clap ten times. Would you write the clap command ten times or use a shortcut? -
-
Order matters
A sprite must wave a flag and then say hello. Which order of blocks is correct?
Wave the flag and say hello at exactly the same time as a separate block list
Wave the flag, then say hello
Say hello, say hello, wave the flag
Say hello, then wave the flag
Read the task again carefully and look for the word 'then' to find which action comes first. -
Loop with a counter
A program repeats the commands inside a loop 5 times. Each time the loop runs, a variable called count goes up by 1, starting at 0. What is the value of count after the loop finishes?
0
4
6
5
Count how many times the loop runs, and remember that count starts at 0 and goes up by one each time. -
Debugging a sequence
A student wants a cat to jump and then land. The program has the blocks in this order: land, then jump. What should the student do to fix the program?
Change the cat into a dog
Add a third block that says sleep
Swap the two blocks so jump comes first
Delete the land block
A cat cannot land before it has jumped. Think about which action must happen first. -
-
-
Informazioni
- Materie
- Computers
- Destinatari
- Scuola primaria · Classi 1–2
- Difficoltà
- 2 su 10
- Lingua
- Inglese
- Chi può vederlo
- Tutti
- Scritto dall'IA
- Claude Haiku 5.5
- Creato
Commenti