nerdexam
Oracle

1Z0-144 · Question #68

Which two statements are true about the exit statement encountered in loop? (Choose two)

The correct answer is B. The loop completes immediately and control passes to the statement after end loop C. The statements after the exit statement in the Iteration are not executed before terminating the. A is wrong, loop (not block) execution terminates immediatelly D is wrong, loop execution terminates immediatelly, it does not continue

Writing Executable Statements

Question

Which two statements are true about the exit statement encountered in loop? (Choose two)

Options

  • AThe PL/SQL block execution terminates immediately after the exit statement.
  • BThe loop completes immediately and control passes to the statement after end loop
  • CThe statements after the exit statement in the Iteration are not executed before terminating the
  • DThe current iteration of the loop completes immediately and control passes to the next iteration of

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    78% (29)
  • D
    8% (3)

Explanation

A is wrong, loop (not block) execution terminates immediatelly D is wrong, loop execution terminates immediatelly, it does not continue

Topics

#EXIT statement#loop control#loop termination#control flow

Community Discussion

No community discussion yet for this question.

Full 1Z0-144 Practice