Page 139 - TP_Plus_v2.2_Class_8
P. 139
Tech Fact Factopedia
Research shows coding activates brain areas tied to memory,
attention, and language, boosting learning.
Let’s CatCh uP
1. Which construct allows a program to execute a block of code Algorithms are often
repeatedly as long as a certain condition is met? evaluated based on
a. Variable assignment b. Loop their time complexity
2. What is the result when using the "AND" condition in a program? (measured in Big O
a. True only if both conditions are true notation) and space
complexity.
b. True if either of the conditions is true
3. What type of loop repeats a certain number of times?
a. Conditional loop b. Counting loop
4. Conditional loops in a program repeat until:
a. A fixed number of times
b. A certain condition is reached
One of the oldest
known algorithms
is the Euclidean
Let’s BaCk-uP algorithm, which
dates back to
Conditional statements are used in a program to instruct the ancient Greece
computer to make a decision. around 300 BC.
A loop allows a set of instructions or a block of code to be
executed repeatedly.
When a loop repeats forever (endlessly), it is called an infinite
loop.
Algorithms help
Google find the most
relevant results for
your search query.
Algorithmic Intelligence 137

