FB

PLSQL Chapter 3 Quiz

Welcome to your PLSQL Chapter 3 Quiz

1. 
What is the keyword used as part of an IF statement that runs code if none of the provided conditions are met?

2. 
What does the FOR statement do?

3. 
Which of the following pieces of code will correctly check that two conditions are true in an IF statement?

4. 
What is wrong with this code?

DECLARE   
l_loop_counter NUMBER(3) := 8;
BEGIN
WHILE (l_loop_counter < 5) LOOP
DBMS_OUTPUT.PUT_LINE('Loop number: ' || l_loop_counter);
l_loop_counter := l_loop_counter + 1;
END LOOP;
END;

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.