Question Detail

BIO 107 While Loops & Control Flow Objective Question

Question

If your program is stuck in an infinite loop and you need to stop it immediately, what key combination is recommended?
Options
A Ctrl + X
B Ctrl + S
C Ctrl + C
Correct Answer
D Ctrl + V
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 8 explicitly states, "If your program is stuck in an infinite loop, press Ctrl + C in your terminal/console."

Hint

This is a standard command for sending an interrupt signal.

Question Info