Solved

Which of the Following Code Fragments Would Not Raise an Error

Question 56

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents