GATE 1987
March 15, 2025GATE 1989
March 16, 2025GATE 1989
Question 9
|
An unrestricted use of the “go to” statement is harmful because of which of the following reason(s):
It makes it more difficult to verify programs.
|
|
It makes programs more inefficient.
|
|
It makes it more difficult to modify existing programs.
|
|
It results in the compiler generating longer machine code.
|
Question 9 Explanation:
Dijkstra’s argued that unrestricted goto statements should abolished from the higher-level languages because they complicated the task of analyzing and verifying the correctness of programs.
Correct Answer: A
Question 9 Explanation:
Dijkstra’s argued that unrestricted goto statements should abolished from the higher-level languages because they complicated the task of analyzing and verifying the correctness of programs.