Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
sectiunea1

sectiunea1

Ratings: (0)|Views: 424|Likes:
Published by Marius Iordaque

More info:

Published by: Marius Iordaque on Dec 03, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/26/2014

pdf

text

original

 
1. Which of the following statements about SQL is true?
SQL is an ANSI-compliant, nonprocedural, 4GL programming language. (*)
2. In which three ways does PL/SQL extend the SQL programming language?
By adding procedural constructs. (*)By adding iterative control. (*)By adding conditional control. (*)
3. PL/SQL stands for:
Procedural Language extension for SQL. (*)
4. Nonprocedural languages allow the programmer to produce a result when a series of steps arefollowed. True or False?
False (*)
5. Which of the following statements is true?
You can embed SQL statements within PL/SQL code. (*)
6. Which of the following statements is true?
PL/SQL is an Oracle proprietary, procedural, 3GL programming language. (*)
1. You can create a Web site application written entirely in PL/SQL. True or False?
True (*)
2. 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. (*)
3. 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. (*)
4. Procedural constructs give you better control of your SQL statements and their execution. Trueor 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. Trueor False?
 
 
True (*)
1. Which statements are mandatory in a PL/SQL block? (Choose two.)
BEGIN (*)END; (*)
2. 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'); (*)
3. How can you display results to check that a PL/SQL block is working correctly?
Use DBMS_OUTPUT.PUT_LINE (*)
4. In a PL/SQL block, which of the following should not be followed by a semicolon?
DECLARE (*)
5. What is wrong with this PL/SQL anonymous block?BEGINDBMS_OUTPUT.PUT_LINE('Hello');DBMS_OUTPUT.PUT_LINE(' and Goodbye');
The END; statement is missing (*)
6. This PL/SQL anonymous block will execute successfully. True or False?DECLAREv_date DATE := SYSDATE;DBMS_OUTPUT.PUT_LINE(v_date);END;
False (*)
7. Which sections of a PL/SQL block are optional?
Declaration and Exception (*)
8. What are the characteristics of a PL/SQL stored subprogram? (Choose two.)
Named (*)Can be invoked at any time (*)
9. What are the characteristics of an anonymous block? (Choose two.)
Unnamed (*)Compiled each time the application is executed (*)

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Simona Sym liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->