Teste PL SQL
Teste PL SQL
Teste PL SQL
None.
2. 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
3. Which of the following statements about SQL is true? Mark for Review (1) Points
4. (1) Points
5.
Mark for
6. In which three ways does PL/SQL extend the SQL programming language? Mark for Review (1) Points
By adding conditional control. test2 1. You can create a Web site application written entirely in PL/SQL. True or False? Mark for Review (1) Points
True
False
3. Procedural constructs give you better control of your SQL statements and their execution. True or False? Mark for Review (1) Points
True
False
4. When multiple SQL statements are combined into PL/SQL blocks, performance improves. True or False? Mark for Review (1) Points
True
False
5. PL/SQL differs from C and Java in which of the following ways? (Choose two.) Mark for Review (1) Points
6. Which of the following can be compiled as a standalone program outside the database? Mark for Review (1) Points
A program developed in C
test 3 1. Which statements are mandatory in a PL/SQL block? (Choose two.) Mark for Review
(1) Points
DECLARE
BEGIN
EXCEPTION
END;
2.
Which sections of a PL/SQL block are optional? for Review (1) Points
Mark
Exception only
Executable only
3.
environment?
(1) Points
Oracle jDeveloper
SQL*Plus
gSQL*Plus
4.
Which of the following is a PL/SQL programming environment? Mark for Review (1) Points
Oracle Cdeveloper
Java*Plus
PL/SQL Express
5.
What are the characteristics of an anonymous block? (Choose two.) Mark for Review
(1) Points
Unnamed
6.
DECLARE v_date DATE := SYSDATE; DBMS_OUTPUT.PUT_LINE(v_date); END; Mark for Review (1) Points
True
False
7.
How can you display results to check that a PL/SQL block is working correctly? Mark for Review (1) Points
Use DBMS_OUTPUT.PUT_LINE
8. What are the characteristics of a PL/SQL stored subprogram? (Choose two.) Mark for Review (1) Points
Named
9.
BEGIN DBMS_OUTPUT.PUT_LINE('Hello'); DBMS_OUTPUT.PUT_LINE(' and Goodbye'); (1) Points Mark for Review
10. Which lines of code will correctly display the message "Hello World" ? (Choose two.) Mark for Review (1) Points
DBMS_OUTPUT('Hello World');
DBMS_OUTPUT.PUT_LINE('Hello World');
DBMS_OUTPUT.PUT_LINE('Hello' || 'World');
11. In a PL/SQL block, which of the following should not be followed by a semicolon? Mark for Review (1) Points
DECLARE
END