Zum Inhalt springen
Prüfung 10 Fragen

Coding with Simple Algorithms

Fragen 10

Die Lösungen sehen angemeldete Lehrkräfte.

  1. Multiple ChoiceComputersalgorithm definitionproblem solvinginstructions

    What is an algorithm?

    Which of the following best describes an algorithm?

    1. A kind of computer virus

    2. A step-by-step set of instructions to solve a problem

    3. A type of computer screen

    4. A game played with cards


    Think about how a recipe tells you what to do, one step at a time.
  2. Multiple ChoiceComputersalgorithm stepsorder of operationslogical thinking

    Order of steps

    Why is the order of steps important in an algorithm?

    1. Only the last step is ever carried out

    2. The order never matters

    3. Steps are always done at random

    4. Changing the order can change the result


    Imagine putting on your shoes before or after your socks.
  3. Multiple ChoiceComputerssequenceorder of instructionsbasic coding concepts

    What is a sequence?

    In coding, what is a sequence?

    1. Instructions carried out one after another in order

    2. A repeated instruction that runs many times

    3. A question the computer asks the user

    4. A picture stored in memory


    Sequence is a word that means things that come in a certain order, like beads on a string.
  4. Multiple ChoiceComputersloopsrepetitionprogram structure

    Purpose of a loop

    What is the main purpose of a loop in a program?

    1. To turn off the computer

    2. To delete all the code

    3. To repeat a set of instructions

    4. To store a single number forever


    Think about doing the same jump again and again instead of writing it many times.
  5. Multiple ChoiceComputersloopsrepetitioncounting

    Counting with a loop

    A program uses a loop to say 'Hello' 5 times. How many times is the instruction 'say Hello' carried out?

    1. 5

    2. 6

    3. 4

    4. 3


    Count how many times the loop is told to repeat.
  6. Multiple ChoiceComputerssequencerobot commandsorder of steps

    Sequence of a robot

    A robot is told to: move forward, turn right, move forward. Which statement is true?

    1. The robot turns left before moving

    2. The robot moves backward first

    3. The robot skips the turn

    4. The robot follows the three steps in order


    Read each command from top to bottom, just as the computer does.
  7. Multiple ChoiceComputersconditionsrepeat untilloop types

    Repeat until done

    Which type of loop repeats its instructions until a condition becomes true?

    1. A repeat-until loop

    2. A variable name

    3. A picture frame

    4. A sound loop only


    The name of the loop tells you when it stops: until something happens.
  8. Multiple ChoiceComputersdebuggingfinding errorstesting programs

    Debugging an algorithm

    Which action is a good way to find a mistake in an algorithm?

    1. Test the algorithm step by step and check each result

    2. Guess and change random lines

    3. Delete the whole program immediately

    4. Ignore the error message


    Checking one step at a time helps you spot where things go wrong.
  9. Multiple ChoiceComputersloopsrepetitiondrawing shapes

    Following a pattern

    A loop draws a square by repeating 'move 10 steps, turn right 90 degrees'. How many times should this be repeated to draw a complete square?

    1. 3

    2. 4

    3. 2

    4. 8


    A square has four sides and four corners.
  10. Multiple ChoiceComputersalgorithmsfollowing instructionseveryday algorithms

    Algorithm for everyday life

    Which everyday task is best described as an algorithm?

    1. Feeling happy about a sunny day

    2. Looking at the clouds in the sky

    3. Following a recipe to bake a cake

    4. Listening to a song you like


    Look for a task that has clear steps to follow in a set order.

Info

Questions on what an algorithm is, sequences, loops and simple flowcharts, with examples from everyday life.
Fächer
Computers
Zielgruppe
Grundschule · Klassenstufen 3–5
Schwierigkeit
3 von 10
Sprache
Englisch
Wer es sehen kann
Alle
Von KI ergänzt
Was mit einem Funkelsymbol markiert ist, wurde von KI hinzugefügt.
Von KI geschrieben
Claude Haiku 5.5
Erstellt

Kommentare

  1. Noch keine Kommentare.
© Alle Rechte vorbehalten