Answer:
A algorithm.
Step-by-step explanation:
A technique or process used to solve a problem is known as a programming algorithm. It is based on carrying out a series of predetermined actions that, when combined, indicate how to carry out a task, and your computer will always carry out that task in that same manner. An algorithm operates by following a set of input-based steps.
This algorithm is designed to lock someone out after a certain # of tries for a set period of time, so we know it's not a loop.
We can also eliminate debugging & logical reasoning because they aren't related to the program that he wrote.