170k views
0 votes
Owen is writing a program that will lock his computer for one hour if the incorrect password is entered more than five times. This set of instructions is an example of

a loop
an algorithm
debugging
logical reasoning

1 Answer

5 votes

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.

User Rinkert
by
8.2k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.