MENTORWEB PROGRAMMING LAB • THINK BEFORE YOU CODE

20 Algorithm Identification Questions

Read the algorithm. Decide what problem it solves. Choose the correct answer.

📚 Simple Dataset

All algorithms below use these small datasets. The aim is to understand what a loop, condition, nested loop, counter or accumulator is doing.

students = ["Asha","Bala","Chitra","Dinesh","Esha","Farhan"]
🧠 Think like a programmer: Ask: What is being repeated? What is being tested? What is being counted or added? Is there a second loop?
Score: 0 / 20   |   Answered: 0 / 20