4
AssignmentMultiple Choice

Iteration

Question 4 • VA-Information Technology Fundamentals B

What keyboard combination can a programmer issue to stop an infinite-loop statement?

Answer
A
CTRL+S
B
CTRL+N
C
CTRL+T
D
CTRL+C

Explanation

Pressing CTRL+C sends an interrupt signal that commonly stops a running program, including one stuck in an infinite loop. CTRL+S usually pauses or suspends terminal output rather than stopping the program. The correct choice is CTRL+C.

AI-written and checked against the verified answer.

Previous
Next