NEW
Font size
WorksheetsUnderstanding Algorithms and Programming
Total questions: 8
Worksheet time: 4mins
What is an algorithm?
A computer machine
A step-by-step set of commands to solve a problem
A programming language
A type of error
Which of the following is the BEST example of an algorithm?
Playing games on a tablet
Writing code without steps
Following steps to make a sandwich
Watching a video
What does sequencing mean in programming?
Repeating steps many times
Fixing programming errors
Arranging steps in the correct order
Choosing different outputs
Which activity shows correct sequencing?
Baking a cake before mixing ingredients
Cutting bread before taking it out
Following a recipe step by step
Skipping steps to save time
What type of structure is used when a program chooses different paths based on a condition?
Loop
Sequencing
Selection
Error
Which of the following is an example of selection?
Brushing teeth every morning
If it is raining, take an umbrella; otherwise, do not
Writing steps in order
Repeating a task many times
What is a loop used for in programming?
To stop a program
To repeat an action again and again
To check spelling mistakes
To arrange steps
Which of the following best represents a loop?
Choosing what to wear
Making a sandwich once
Hammering a nail repeatedly
Writing one instruction
