SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Oracle PL - SQL
Start Test
Study First
Subjects
:
oracle
,
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. DynSQL: The main command for Native Dynamic SQL.
fine-grained auditing
IF - CASE or LOOP
an AUTHID property
EXECUTE IMMEDIATE
2. In a collection - the internal components always have the _____ data type.
Oracle
network
same
source code
3. A unit with AUTHID = CURRENT_USER is an ________ rights unit.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
4. Exceptions: The ________ function returns the error message associated with an error code.
<> - != - ^=
SQLERRM
non-editioning views
TRUE - FALSE - NULL
5. The two kinds of CASE statements are simple and ________.
integer
OPEN_CURSOR
injection
searched
6. Exceptions: Write the call (2 args) to associate message 'Bad' with error code -20 -100.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
7. Delimiters: The left label delimiter.
<<
is not
%BULK_ROWCOUNT
inclusive
8. What is the simplest statement for conditionally getting out of simple loop?
implicit CASE_NOT_FOUND exception
column
EXIT WHEN
view
9. Fundamental: Maximum string length of a PL/SQL variable.
elements - type
mandatory
TYPE tA IS TABLE OF NUMBER INDEX BY VARCHAR2(20)
32 -000
10. DynSQL: EXECUTE IMMEDIATE can be used for any SQL statement or PL/SQL block - except for ________ queries.
multi-row
Ordinary - Quoted.
CLOSE_CURSOR
execute immediate
11. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.
associative arrays
context
associative
12. List the transaction control statements.
True - false or NULL.
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
anonymous block
wrap
13. An incomplete type only has a ____.
base
IN - OUT - IN OUT
name
colon
14. Triggers: INSTEAD OF triggers only run on ______ views.
SUBTYPE n IS number not null;
unqualified
non-editioning views
3
15. A GOTO statement cannot branch from an exception handler back into the...
current BEGIN-END block
NEW
PVM
bind
16. Wrap ______=xxxx oname=zzzzz
disable
CHAR - VARCHAR2
iname
explicit
17. Fundamental: Delimiters are _____ and _____ symbols.
cursor
simple and compound symbols
compilation
once
18. The 2 characters that begin all inquiry directives.
for each row
associative
$$
ADT
19. Define a record type REC with number num and varchar2(10) name.
SQLCODE
exit when cgo%NOTFOUND
iname
TYPE rec IS RECORD (num NUMBER - name VARCHAR2(10));
20. Cursors: A Cursor FOR loop does not use a ______ statement.
FETCH
PRAGMA AUTONOMOUS_TRANSACTION;
an enclosing block
Wrap
21. I/O: The string table type in DBMS_OUTPUT for holding lines of text.
BINARY_INTEGER
CHARARR
scalar
index
22. Command to delete a procedure.
IS
drop procedure
1
variable
23. What are two categories of SQL functions that cannot be used in procedural statements?
cursor
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
aggregate - analytical
after
24. Delimiters: Host variable indicator.
can
PVM
...
commit - rollback
25. PL/SQL is a ________ typed programming language.
enabled
cursor
numeric and cursor
statically
26. DynSQL: Maximum string length to pass to EXECUTE IMMEDIATE.
cursor
strong
for each row
32 -000
27. Conditional compilation is useful for compiling a program under different ______ of Oracle.
EXIT
base
versions
DBMS_DDL
28. _________ exceptions can not be trapped with an error handler
Declaration
label
-20 -000
subtype
29. Advantage: Performance: PL/SQL automatically creates ______ variables for variables in WHERE and VALUES clauses.
bind
FETCH - BULK COLLECT INTO
virtual machine
follows
30. Bulk: The use of FORALL statements cuts down on ______ traffic.
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
3
network
VARRAYs
31. Advantage: PL/SQL gives SCALABILITY because stored procedures are executed on the _______.
cursor c RETURN rC;
server
unhandled
CREATE TRIGGER
32. Conversion: Implicit conversion can be (faster / slower) than explicit conversion.
slower
RECORD OF ARRAYS
statically
cannot
33. The EXTEND method is not used with ______ _______.
cannot
associative arrays
$IF
unqualified
34. Types: One of the 4 PL/SQL things that have a data type (begins with 'r').
inquiry
return value
index
# - $ - _
35. Dbms_sql: The return type DBMS_SQL.open_cursor.
IR
integer
DBMS_SESSION
SQL cursor
36. Cursors: The FOR UPDATE phrase goes at the (beginning/end) of the cursor definition.
dynamic
anonymous block
end
NEW
37. Web: PL/SQL ______ ______ (PSPs) let you develop web pages with dynamic content.
nested
Server Pages
ALTER SESSION
scalar
38. DynSQL: The clause that supplies bind arguments to EXECUTE IMMEDIATE.
never
drop procedure
cannot
USING
39. I/O: This package has hypertext functions that generate HTML tags
associative
index
HTF
r tRec := tRec(9 - 'Jones');
40. To run DDL statements - a trigger must be autonomous and must use ______ ______ SQL.
INSTEAD OF
PL/SQL Gateway
column
native dynamic
41. In interpreted mode - the PL/SQL VM interprets the _________.
PRAGMA EXCEPTION_INIT (E - -1);
PRAGMA AUTONOMOUS_TRANSACTION;
bytecode
ex := tbl1 MULTISET EXCEPT tbl2
42. Cursors: The type definition of a WEAK ref cursor type has no _______ clause.
suspended
RETURN
bind
CURRENT_USER - DEFINER
43. %ROWTYPE gets the type of a table or _______.
SQL
invoker's
cursor
FETCH - INTO
44. I/O: This package handles HTTP.
UTL_HTTP
virtual machine
scalar
identifiers
45. The exception raised when a SELECT INTO statement returns more than one row.
TOO_MANY_ROWS
RETURN
current BEGIN-END block
cannot
46. Bulk: The two features that comprise Bulk SQL are:
savepoint ab
fields
EXCEPTION_INIT
FORALL and BULK COLLECT
47. What word is in a function header but not in a procedure header?
OLD
RETURN
SQL
compile
48. Triggers and views always have _________ rights.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. In the IF syntax - is if ENDIF or END IF?
network
fetch cv into myvar
execute
END IF
50. You (can/cannot) put a label before an END LOOP statement.
-
single-line
cannot
DBMS_CRYPTO
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests