Which of the following code fragments would not raise an error?

A. BEGIN
   WHILE lv_cnt_num <= 5                             
       DBMS_OUTPUT.PUT_LINE(lv_cnt_num);
       lv_cnt_num := lv_cnt_num + 1;
   END LOOP;
END;

B. BEGIN
   WHILE lv_cnt_num <= 5       
       DBMS_OUTPUT.PUT_LINE(lv_cnt_num);
       lv_cnt_num := lv_cnt_num + 1;
END;

C. BEGIN
   WHILE lv_cnt_num <= 5 LOOP      
       DBMS_OUTPUT.PUT_LINE(lv_cnt_num);
       lv_cnt_num := lv_cnt_num + 1;
   END LOOP;

D. BEGIN
   WHILE lv_cnt_num <= 5 LOOP      
       DBMS_OUTPUT.PUT_LINE(lv_cnt_num);
       lv_cnt_num := lv_cnt_num + 1;
   END LOOP;
END;


Answer: D

Business

You might also like to view...

In the context of teams, ________ have no managerial responsibilities.

A. traditional work groups B. autonomous work groups C. self-designing teams D. semiautonomous work groups E. self-managed teams

Business

Scanner data have an obvious disadvantage over surveys and purchase panels, because they reflect purchasing behavior that is not subject to interviewing, recording, memory, or expert biases

Indicate whether the statement is true or false

Business

Criminal action is more common when frauds involve other organizations

Indicate whether the statement is true or false

Business

Evan is evaluating a website before using it as a source for his business report. In checking when the site was last updated, he is evaluating its ________

A) currency B) authority C) content D) accuracy

Business