Multiple Choice
Which of the following code fragments would not raise an error?
A) BEGIN
LOOP
DBMS_OUTPUT.PUT_LINE( lv_cnt_num ) ;
Lv_cnt_num := lv_cnt_num + 1;
END LOOP;
END;
B) BEGIN
LOOP
DBMS_OUTPUT.PUT_LINE( lv_cnt_num ) ;
EXIT WHEN lv_cnt_num >= 5;
Lv_cnt_num := lv_cnt_num + 1;
END;
C) BEGIN
LOOP
DBMS_OUTPUT.PUT_LINE( lv_cnt_num ) ;
EXIT WHEN lv_cnt_num >= 5;
Lv_cnt_num := lv_cnt_num + 1
END LOOP
END
D) BEGIN
LOOP
DBMS_OUTPUT.PUT_LINE( lv_cnt_num ) ;
EXIT WHEN lv_cnt_num >= 5;
Lv_cnt_num := lv_cnt_num + 1;
END LOOP;
END;
Correct Answer:

Verified
Correct Answer:
Verified
Q60: The following code fragment is a correct
Q61: Which of the following code fragments would
Q62: The EXIT WHEN clause ensures that a
Q63: Which of the following statements is correct?<br>A)
Q64: If the <u>WHERE </u>clause is not included
Q66: The syntax of the following code fragment
Q67: The Searched CASE statement does not use
Q68: If the EXIT WHEN clause is not
Q69: BEGIN LOOP<br>DBMS_OUTPUT.PUT_LINE(lv_cnt_num);<br>Lv_cnt_num := lv_cnt_num + 1;<br>EXIT WHEN
Q70: _ statements are used to put or