7
AssignmentMultiple Choice

Iteration

Question 7 • VA-Information Technology Fundamentals B

A programmer can interrupt an infinite loop by pressing which keyboard combination?

Answer
A
CTRL+C
B
ESC
C
ALT+S
D
CTRL+S

Explanation

Pressing CTRL+C sends an interrupt signal to many running programs, which can stop an infinite loop. ESC and ALT+S do not generally interrupt a program, and CTRL+S usually pauses or controls output rather than stopping execution. The correct choice is CTRL+C.

AI-written and checked against the verified answer.

Previous
Next