Worksheet-Algorithms
Section A: Multiple Choice Questions (MCQs)
Circle the correct answer.
1. What is the term for a repetition in an algorithm?
a) Selection
b) Loop
c) Variable
d) Condition
2. A loop that runs for a predetermined number of times is called a:
a) Condition-controlled loop
b) Indefinite loop
c) Forever loop
d) Count-controlled loop
3. Which type of loop repeats until a specific condition is met, and the number
of iterations is not known beforehand?
a) Count-controlled loop
b) Condition-controlled loop
c) Infinite loop
d) Simple loop
4. What is the main advantage of using repetition in algorithms?
a) It makes the algorithm more colorful.
b) It makes instructions repeat randomly.
c) It reduces the number of instructions, making the algorithm simpler and
more concise.
d) It ensures the algorithm never stops.
5. An algorithm that guides a girl to clap continuously uses which type of loop?
a) Count-controlled loop
b) Condition-controlled loop
c) Indefinite (forever) loop
d) Temporary loop
6. When comparing two algorithms that achieve the same task, the more
efficient one is typically the one that:
a) Is longer and more detailed.
b) Requires more turns and movements.
c) Uses fewer steps, less time.
d) Uses more complex code.
Section B: Fill in the Blanks
Complete the following sentences using the words from the box below.
( iteration, efficient, input, pen up, loop, condition, forever, number,
output , pen down)
1. A repetition in an algorithm is called a __________.
2. Each time a set of repeated instructions is executed, it is called
one __________.
3. A count-controlled loop repeats for a specific __________ of times.
4. A condition-controlled loop repeats until a __________ is met.
5. An indefinite loop repeats __________.
6. The result produced by an algorithm is called the __________.
7. The data provided to an algorithm is called the __________.
8. An algorithm that completes a task with the least waste of time and effort is
called an __________ algorithm.
9. Which instruction is used to start drawing ________________
10. Which instruction is used to stop drawing ________________
Section C: One-Word Answer
Answer the following questions in a single word.
1. What is the keyword often used in algorithms to start a repetition
command?
2. What keyword is used to repeat a certain set of instructions until the
condition is met?
Section D: Match the Following
Match the items in Column A with the most suitable descriptions in
Column B.
Column A Column B
1. Count-Controlled Loop A. Repeats a set of instructions forever.
2. Condition-Controlled Loop B. The number of repetitions is known
3. Indefinite Loop C. Used to make an algorithm shorter and
simpler.
4. Repetition D. Repeats until a specific situation occurs.
5. Efficiency E. Choosing the algorithm that uses the less
resources.
Section E: Answer based on the algorithm
A.
Step 1: get the first number
Step 2: get the second number
Step 3: add first number and second number
step 4: show the answer
1. If the first number is 5 and second number is 10, what is the
output of the program?
2. Which step of the algorithm gives the output?
Step 1: move 1 block forward
Step 2: turn right
step 3: repeat step 1 and 2 until the target is reached
1. Which type of loop is represented in the algorithm (count-
controlled, condition-controlled)
2. How many steps are there in the algorithm?
ANSWER KEY
Section A: Multiple Choice Questions (MCQs)
1. b) Loop
2. d) Count-controlled loop
3. b) Condition-controlled loop
4. c) It reduces the number of instructions, making the algorithm
simpler and more concise.
5. c) Indefinite (forever) loop
6. c) Uses fewer steps, less time.
Section B: Fill in the Blanks
1. loop
2. iteration
3. number
4. condition
5. forever
6. output
7. input
8. efficient
9. pen down
10. pen up
Section C: One-Word Answer
1. Repeat
2. Repeat-until
3. Name
Section D: Match the Following
1. B (Count-Controlled Loop - The number of repetitions is known before the
loop starts.)
2. D (Condition-Controlled Loop - Repeats until a specific situation occurs.)
3. A (Indefinite Loop - Repeats a set of instructions forever.)
4. C (Repetition - Used to make an algorithm shorter and simpler.)
5. E (Efficiency - Choosing the algorithm that uses the less resources.
6. Section E
A
1. 15
2. Step 4 (show the answer)
1. Condition-controlled
2. 3