Section 1 (Quiz)
Section 1 (Quiz)
Section 1
(1) Points
Application Builder
Utilities
Object Browser
SQL Workshop (*)
Correct
BEGIN
DBMS_OUTPUT.PUT_LINE('Hello');
DBMS_OUTPUT.PUT_LINE(' and Goodbye');
(1) Points
The Declaration section is missing
There is nothing wrong with the block, it will work fine.
The END; statement is missing (*)
The Exception section is missing
Incorrect. Refer to Section 1 Lesson 3.
DECLARE
v_date DATE := SYSDATE;
DBMS_OUTPUT.PUT_LINE(v_date);
END;
(1) Points
True
False (*)
Incorrect. Refer to Section 1 Lesson 3.
4. Errors are handled in the Exception part of the PL/SQL block. True or False?
Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section 1 Lesson 3.
(1) Points
BEGIN
DECLARE (*)
EXCEPTION (*)
END;
Correct
(1) Points
PL/SQL (*)
Java (*)
C++ (*)
MySQL
SQL
Incorrect. Refer to Section 1 Lesson 1.
(1) Points
True
False (*)
Incorrect. Refer to Section 1 Lesson 1.
9. Nonprocedural languages allow the programmer to produce a result when a series of steps
are followed. True or False?
Mark for Review
(1) Points
True
False (*)
Incorrect. Refer to Section 1 Lesson 1.
(1) Points
nonprocedural constructs (*)
constants
conditional statements
variables
reusable program units
Incorrect. Refer to Section 1 Lesson 1.
(1) Points
All of these can be done (*)
Develop Web applications using the Web Application Toolkit
Create customized reports
Update data (DML)
Manage database security
Correct
12. Using Oracle Application Express, you can create Web applications that include PL/SQL.
True or False?
Mark for Review
(1) Points
TRUE (*)
FALSE
Correct
13. Procedural constructs give you better control of your SQL statements and their execution.
True or False?
Mark for Review
(1) Points
True (*)
False
Correct
14. Which of the following statements about exception handling in PL/SQL is false?
Mark for Review
(1) Points
Exception handling code tells your program what to do when an error is encountered.
You can prepare for database exceptions by creating exception handlers.
All of these are false
None of these are false (*)
You can prepare for application exceptions by creating exception handlers.
Incorrect. Refer to Section 1 Lesson 2.
15. When multiple SQL statements are combined into PL/SQL blocks, performance will
typically improve. True or False?
Mark for Review
(1) Points
True (*)
False
Correct