WorksheetsIntro to Algorithm
Total questions: 7
Worksheet time: 4mins
What is an algorithm?
A computer
A step-by-step way to solve a problem
A programming language
A device setting
Which of the following is an example of an algorithm in daily life?
Watching Netflix
Choosing a filter on Instagram
Following a recipe
Drinking Milo
In algorithm structure, which one is IF/ELSE?
Sequence
Selection
Repetition
Encryption
Which statement describes a loop?
A choice between two options
Repeating steps until a condition changes
Stopping the algorithm
Rearranging items
What does Bubble Sort do?
Sorts by splitting lists into halves
Sorts by comparing and swapping neighbors.
Sorts using hashtags
Sort randomly
Why does TikTok show you certain videos?
It knows your favourite food
It guesses randomly
Based on your interactions and watch time
It follows a country rule
Why do we write pseudocode before coding?
To make the computer happy
To plan the logic clearly
Because teachers ask us to
To decorate the program
