Saltar al contenido
Examen 10 preguntas

Sequences and Simple Coding

Preguntas 10

Las respuestas correctas se muestran a los docentes que han iniciado sesión.

  1. Opción múltipleProgramming languagesalgorithmsproblem solvingprogramming basics

    Meaning of an algorithm

    What is a set of step-by-step instructions that tells a computer how to solve a problem called?

    1. A keyboard

    2. A database

    3. A variable

    4. An algorithm


    Think of a recipe: a list of clear steps done in order.
  2. Opción múltipleProgramming languagessequenceorder of instructionsprogram execution

    Order of instructions

    Why does the order of instructions in a program matter?

    1. The computer runs the instructions in the order they are written

    2. The order only matters for pictures, not code

    3. The computer always runs the last instruction first

    4. The computer ignores instructions that are written later


    Imagine following a recipe. What happens if you add the eggs after baking?
  3. Opción múltipleProgramming languagessequencealgorithmsrobot commands

    Sequence of steps

    A robot must draw a square. Which set of commands is in the correct sequence?

    1. Move forward once and stop

    2. Move forward, turn right, move forward, turn right, move forward, turn right, move forward, turn right

    3. Turn right, turn right, move forward, move forward

    4. Turn left only


    A square has four equal sides and four corners, so you need four sides and four turns.
  4. Opción múltipleProgramming languagesloop purposerepetitioninstructionscoding basicsbasic programming concepts

    Purpose of a loop

    What is a loop used for in programming?

    1. Repeating a set of instructions several times

    2. Storing a picture on the screen

    3. Connecting the computer to the internet

    4. Deleting unused files


    Think of a word that means doing the same thing again and again.
  5. Opción múltipleProgramming languagesrepeat blockloopscounting actionsbasic codingrepetition

    Repeat block

    A program says: repeat 3 times [clap hands]. How many times are the hands clapped?

    1. 1

    2. 3

    3. 6

    4. 9


    The word repeat tells you how many times to do the action inside the block.
  6. Opción múltipleProgramming languagesloopsnumber sequencesbasic codingiterationcounting loop

    Counting loop

    A loop starts at 1 and adds 1 each time, stopping after it has said the number 5. Which numbers are said?

    1. 1, 3, 5, 7, 9

    2. 2, 3, 4, 5, 6

    3. 5, 4, 3, 2, 1

    4. 1, 2, 3, 4, 5


    Count upward one number at a time, starting from the beginning.
  7. Opción múltipleProgramming languagesloopsprogram outputrepeat blocksbasic codingprinting

    Loop output

    What does the following loop print? repeat 4 times: print the word Hi

    1. Hi Hi Hi Hi

    2. Hi

    3. Hi Hi Hi Hi Hi

    4. Hi Hi Hi


    Count how many times the repeat instruction says to run the print step.
  8. Opción múltipleProgramming languagesloopssequencingturtle graphicsshapesrepeated instructions

    Sequence with a loop

    A turtle repeats the steps forward 10 and turn right 90 degrees four times. What shape does it draw?

    1. A triangle

    2. A straight line

    3. A square

    4. A circle


    Four equal sides with a right-angle turn after each side make a familiar shape.
  9. Opción múltipleProgramming languagesstep ordereveryday algorithmsinstruction ordersequencingalgorithm sequence

    Step order in everyday life

    Which of these is the correct step-by-step sequence for making a cup of tea with a kettle?

    1. Fill the kettle, boil the water, pour it into the cup, add the tea bag

    2. Add the tea bag, boil the water, fill the kettle, pour water

    3. Pour water into the cup, fill the kettle, boil the water, add the tea bag

    4. Boil the water, pour it, add the tea bag, fill the kettle


    You need water in the kettle before you can boil it.
  10. Opción múltipleProgramming languagesloopsprogram executionrepeat countloop iterationsbasic coding

    Stopping a loop

    A loop is told to repeat 2 times. How many times does the loop body run in total?

    1. 0

    2. 2

    3. 3

    4. 1


    Think about the number written after the word repeat.

Acerca de

Basic coding ideas for young learners: giving step-by-step instructions, loops and simple patterns. Suitable for lessons in the first grades.
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

  1. Todavía no hay comentarios.
© Todos los derechos reservados