Unformatted text preview: Unit 7 Research Assignment 1: Exploring How to Stop or Exit an Infinite Loop
An infinite loop is an event in a program that is caused when a certain string of code is re-ran, over and
over again. Sometimes this happens with a purpose, sometimes not. This can be caused when a
condition is not met and the program is waiting for said condition to be met, or when there is no exit
command in the code anywhere, thus causing an infinite loop. In order to exit an infinite loop, a condition
must be met, or the code must be corrected to include the exit command.
View Full Document