Professional Documents
Culture Documents
UNIT 3-COMPUTATIONAL THINKING - Done
UNIT 3-COMPUTATIONAL THINKING - Done
a. Counter loop
b. Conditional loop
1
Ans: Counter loop
8. A conditional loop is controlled by a __________
Ans: Logical test
9. Identify the conditional loop available in Scratch.
a.
b.
c.
d.
Ans: d
2
a. It adds 10 and 0.
b. It asks the user to enter 10 numbers.
c. It prints the sum of 10 numbers.
Ans: c
11. ____________ loop is used to execute the commands without a limit and come to a stop
only when the user stops the program.
Ans: Forever
12. Read the below algorithm and choose the corresponding program code for the given
algorithm.
a.
3
b.
c.
Ans: b
b.
Ans: a
5
14. Find the error for the below program code.
The program asks the user to enter the name after the output is displayed along with the answer
block.
17. Match each line of algorithm to the code blocks given below:
The aim of the program below is to output your year of birth when the current age is entered.
Input age
Loop until answer>100
Subtract answer from 2024 and store in year
Output year