Saltar al contenido
Examen 10 preguntas

Coding with Blocks for Beginners

Preguntas 10

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

  1. Opción múltipleComputersprogramming basicssequencesalgorithmsrobot instructionscomputational thinking

    Sequence of steps

    A robot must follow instructions in order. Which term describes instructions that run one after another, from first to last?

    1. A loop

    2. A condition

    3. A variable

    4. A sequence


    Think about the order in which you do things when you brush your teeth: first one step, then the next.
  2. Opción múltipleComputersloopsrepetition

    Repeating an action

    A programmer wants a program to clap 5 times without writing the clap instruction 5 separate times. Which programming structure should be used?

    1. A loop

    2. A condition

    3. A comment

    4. A list of colours


    A structure that repeats a block of instructions over and over is what you need here.
  3. Opción múltipleComputersconditionsdecision makingtrue or false

    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?

    1. A sequence

    2. A counter

    3. A condition

    4. A file name


    Words like if and else are used to check something and then decide what to do.
  4. Opción múltipleComputersloopscounters

    Loop count

    Look at this loop: repeat the instruction 'jump' while the counter goes from 1 to 4. How many times will 'jump' run?

    1. 4 times

    2. Forever

    3. 5 times

    4. 3 times


    Count the values the counter takes: 1, then 2, then 3, then 4.
  5. Opción múltipleComputersconditionsif-elsedecision making

    Condition result

    A program contains the test: if the number is greater than 10, print 'Big'; otherwise print 'Small'. What is printed when the number is 7?

    1. Big

    2. Nothing is printed

    3. Small

    4. Error


    Is 7 greater than 10? If not, which branch of the if-else runs?
  6. Opción múltipleComputerssequencesorder of stepsalgorithms

    Order matters

    A program must make a cup of tea. Which order of steps makes the most sense for a computer to follow?

    1. Pour water, boil water, add tea bag

    2. Pour water, add tea bag, boil water

    3. Add tea bag, pour water, boil water

    4. Boil water, pour water, add tea bag


    You cannot pour hot water before the water has been boiled.
  7. Opción múltipleComputersloops and conditionscountersnested logic

    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?

    1. 2 times

    2. 4 times

    3. 3 times

    4. 6 times


    List the counter values 1 to 6 and circle the even ones: 2, 4, 6.
  8. Verdadero / falsoComputerssequencesorder of instructionsprogram flow

    Sequences of instructions

    In a program, instructions are carried out in the order they are written, one after another from top to bottom.

    1. True

    2. False


    Think about how you would follow a recipe step by step, from the first line to the last.
  9. Verdadero / falsoComputersloopsrepetitionprogramming structures

    Repeating actions with a loop

    A loop is a programming structure that lets the computer repeat the same instructions several times without writing them out again each time.

    1. True

    2. False


    Consider how a program could make a character hop 10 times using only a few lines of code.
  10. Verdadero / falsoComputersconditionsboolean logicprogramming basicscontrol flowif statements

    Making decisions with conditions

    A condition in a program checks whether a statement is true or false, and the computer chooses what to do based on the result.

    1. True

    2. False


    Think about how a program could decide between two different messages depending on the weather.

Acerca de

Simple questions on what a program is, how sequences, loops and conditions work, and reading block-based instructions.
Materias
Computers
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