The following loop terminates when the lv_cnt_num variable holds a value of 6.
BEGIN
WHILE lv_cnt_num <= 5 LOOP
DBMS_OUTPUT.PUT_LINE( lv_cnt_num );
lv_cnt_num := lv_cnt_num + 1;
END LOOP;
END;
Correct Answer:
Verified
Q13: An infinite loop causes a program to
Q14: The EXIT WHEN clause ensures that a
Q15: The BEGIN section of a PL/SQL block
Q16: Assignment statements are used to put or
Q17: The following code fragment is a correct
Q19: The following loop iterates four times.
BEGIN
WHILE lv_cnt_num
Q20: The syntax of the following code fragment
Q21: If the WHERE clause is not included
Q22: Variables are named memory areas that hold
Q23: The only required sections of a PL/SQL
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents