Question Detail
Question
If your program is stuck in an infinite loop, what action is recommended on the 'Stopping a Runaway Loop' slide to immediately stop the program?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 8, 'Stopping a Runaway Loop,' clearly states: 'If your program is stuck in an infinite loop, press Ctrl + C in your terminal/console.' This sends an interrupt signal.
Hint
Look for the specific keyboard shortcut mentioned for an 'Emergency Stop' on page 8.