Coding with Blocks for Beginners
Preguntas 10
Las respuestas correctas se muestran a los docentes que han iniciado sesión.
-
-
-
Making a decision
A program should print "Take an umbrella" only when it is raining. Which programming structure lets the computer choose whether to do something based on a true or false test?
A sequence
A counter
A condition
A file name
Words like if and else are used to check something and then decide what to do. -
-
-
Order matters
A program must make a cup of tea. Which order of steps makes the most sense for a computer to follow?
Pour water, boil water, add tea bag
Pour water, add tea bag, boil water
Add tea bag, pour water, boil water
Boil water, pour water, add tea bag
You cannot pour hot water before the water has been boiled. -
Loops and conditions together
A loop runs 6 times. Inside it, a condition checks whether the counter is an even number and prints 'even' only then. How many times will 'even' be printed when the counter goes from 1 to 6?
2 times
4 times
3 times
6 times
List the counter values 1 to 6 and circle the even ones: 2, 4, 6. -
-
-
Acerca de
- Materias
- Computers
- Etiquetas
- Añadido por IA programming basics Añadido por IA loops Añadido por IA conditions Añadido por IA block coding Añadido por IA computational thinking
- Público
- Educación primaria · Grados 1–3
- Dificultad
- 2 de 10
- Idioma
- Inglés
- Quién puede verlo
- Todo el mundo
- Completado por IA
- Lo marcado con un destello lo añadió la IA.
- Escrito por IA
- Claude Haiku 5.5
- Creado
Comentarios