Consider the following Action (https://drive.google.com/file/d/1L6qUwd2jjqWAluUB-Kv5gQghendWoMr2/view?usp=sharing), that calculates the square root (sqrt) of a positive decimal number (N). Knowing that the function was called with N = 0, and the debugger is stopped at the Start node, what will happen when the developer selects the Continue (F9) option highlighted in the picture?

Consider the following Action (https://drive.google.com/file/d/1L6qUwd2jjqWAluUB-Kv5gQghendWoMr2/view?usp=sharing), that calculates the square root (sqrt) of a positive decimal number (N). Knowing that the function was called with N = 0, and the debugger is stopped at the Start node, what will happen when the developer selects the Continue (F9) option highlighted in the picture?
A . The Action will end, with sqrt = 0.
B. The Action will throw an exception and sqrt will have no value.
C. The debugger will stop in the N < 0 If node.
D. The debugger will stop at the breakpoint in the End node.

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments