Вы находитесь на странице: 1из 3

1.

Which of the following statements about SQL is true? SQL is an ANSI-compliant, nonprocedural, 4GL programming language. (*) In which three ways does PL/SQL extend the SQL programming language? By adding procedural constructs. (*) By adding iterative control. (*) By adding conditional control. (*) PL/SQL stands for: Procedural Language extension for SQL. (*)

2.

3.

4. Nonprocedural languages allow the programmer to produce a result when a series of steps are followed. True or False? False (*) 5. Which of the following statements is true? You can embed SQL statements within PL/SQL code. (*) Which of the following statements is true? PL/SQL is an Oracle proprietary, procedural, 3GL programming language. (*)

6.

1.

You can create a Web site application written entirely in PL/SQL. True or False? True (*) PL/SQL differs from C and Java in which of the following ways? (Choose two.) It requires an Oracle database or tool. (*) It is the most efficient language to use with an Oracle database. (*) Which of the following can be compiled as a standalone program outside the database? Programs developed in Java or C, but not in PL/SQL. (*)

2.

3.

4. Procedural constructs give you better control of your SQL statements and their execution. True or False? True (*) 5. Which of the following can be done using PL/SQL? All of the above (*)

6. When multiple SQL statements are combined into PL/SQL blocks, performance improves. True or False?

True (*)

1.

Which statements are mandatory in a PL/SQL block? (Choose two.) BEGIN (*) END; (*) Which lines of code will correctly display the message "Hello World" ? (Choose two.) DBMS_OUTPUT.PUT_LINE('Hello World'); (*) DBMS_OUTPUT.PUT_LINE('Hello' || ' ' || 'World'); (*) How can you display results to check that a PL/SQL block is working correctly? Use DBMS_OUTPUT.PUT_LINE (*) In a PL/SQL block, which of the following should not be followed by a semicolon? DECLARE (*) What is wrong with this PL/SQL anonymous block? BEGIN DBMS_OUTPUT.PUT_LINE('Hello'); DBMS_OUTPUT.PUT_LINE(' and Goodbye'); The END; statement is missing (*) This PL/SQL anonymous block will execute successfully. True or False? DECLARE v_date DATE := SYSDATE; DBMS_OUTPUT.PUT_LINE(v_date); END; False (*) Which sections of a PL/SQL block are optional? Declaration and Exception (*) What are the characteristics of a PL/SQL stored subprogram? (Choose two.) Named (*) Can be invoked at any time (*) What are the characteristics of an anonymous block? (Choose two.) Unnamed (*) Compiled each time the application is executed (*)

2.

3.

4.

5.

6.

7.

8.

9.

10.

Which of the following is a PL/SQL programming environment? SQL*Workshop in Application Express (*) Which of the following is NOT a PL/SQL programming environment? gSQL*Plus (*)

11.

Вам также может понравиться