Text-based stimulus: A search flowchart with a start oval labeled "index = 0, found = False", a decision diamond labeled "index < 5 AND not found?", a process rectangle labeled "check array[index]", a decision diamond labeled "match?", a yes arrow to "found = True", a no arrow to "index = index + 1", and arrows returning to the first decision before a stop oval.
Use the text-based stimulus. It checks "index < 5 AND not found" before each scan, sets found when array[index] is a match, otherwise increments index. Which code matches the flowchart?