WorksheetsUnderstanding Algorithms
Total questions: 10
Worksheet time: 2mins
What is an algorithm?
A computer program
A flowchart
A step-by-step procedure to solve a problem
A programming language
Which of the following best describes an algorithm?
A set of random instructions
A finite sequence of clear instructions
An infinite process
A hardware component
Which one is NOT a characteristic of a good algorithm?
Finiteness
Ambiguity
Definiteness
Input
An algorithm must always have at least one ________.
Input
Variable
Output
Loop
Why are algorithms important in programming?
They make computers faster
They help solve problems logically
They replace hardware
They eliminate errors completely
Which of the following is an example of an algorithm in daily life?
Writing a letter
Playing music
A cooking recipe
Watching television
What does the term finiteness mean in an algorithm?
The algorithm is very long
The algorithm has unlimited steps
The algorithm ends after some steps
The algorithm uses variables
Which of the following is NOT required in an algorithm?
Clear steps
Start and stop
Programming language syntax
Output
An algorithm that gives unclear instructions is said to lack ________.
Output
Effectiveness
Definiteness
Input
Which statement is TRUE about algorithms?
Algorithms can only be written using computers
Algorithms are only used by programmers
Algorithms can be written in plain language
Algorithms must be written in code
