Page 95 - Code_GPT_Class_8
P. 95
Experiential Learning Survey
Write the program to take Ananya to her home using Loops.
END
START
Program without loop: Program with loop:
Factbot
According to a research, coding activates five brain regions, which are related to working memory, attention
and language processing, which may enhance the process of learning.
Quick Quiz
1. Which construct allows a program to execute a block of code repeatedly as long as a certain condition
is met?
a. Variable assignment b. Loop
2. What is the result when using the "AND" condition in a program?
a. True only if both conditions are true 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
Algorithmic Intelligence 93

