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;


Answer: D

Business

You might also like to view...

Because of the requirement for in-depth expertise, project management is generally restricted to specialists.

Answer the following statement true (T) or false (F)

Business

Assume that a U.S. importer imports furniture from China. If the Commerce Department makes a preliminary investigation and finds evidence of dumping, the U.S. importer must pay a special tariff equal to the

a. estimated dumping margin on all imports of that product. b. estimated dumping margin on all sales of that product. c. estimated manufacturing cost on all imports of that product. d. estimated dumping margin on all exports of that product.

Business

In organizational settings, internals do not require as much supervision as do externals. Why?

What will be an ideal response?

Business

The process which provides a baseline evaluation of risk in a rapid and cost-effective manner is known as:

a. Quantitative risk analysis b. Event management software c. Qualitative risk analysis d. Risk avoidance

Business