I start at 1 and double my number each time. After each doubling, I check if the number is greater than or equal to 20. I stop when it meets the condition. What type of loop am I?
While loop
I start at 1 and go up to 10, checking if each number is even or odd. If it's even, I say "This is an even number!" and if it's odd, I say "This is an odd number!". What type of loop am I?
For loop
You’re planning a picnic, and you need to decide if you should bring an umbrella based on the weather. If the weather is rainy, you should bring an umbrella. If the weather is sunny, you don’t need to bring an umbrella.
if.. else condition(Decision making)
I check if the player’s score is greater than or equal to 50. If yes, they win; if no, they lose. What type of flowchart symbol am I?
Decision symbol
Which loop does the flowchart represents
For loop
I involve breaking down a problem into smaller parts, recognizing patterns, and creating step-by-step solutions. What am I?
Decomposition(Computation Thinking)
I have a rounded shape and represent the start or end of a process in a flowchart. What am I?
Terminal symbol(Oval)
Which type of loop does the flowchart represents?
While loop
Your experience on this site will be improved by allowing cookies.