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. The inquiry directive that gives the current line number in the procedure.
HTF
$$PLSQL_LINE
unhandled
buffer
2. Abbreviation of definer's rights
expression
DR
production
inclusive
3. The four keywords that define a PL/SQL block.
DECLARE - BEGIN - EXCEPTION - END
FORALL i IN MyList.FIRST..MyList.LAST
transaction
upper - coalesce
4. Fundamental: Which one of these is a simple symbol: a - = - !=
FOR UPDATE
=
USING
exception
5. Triggers: You create a trigger with the _______ ________ statement.
anonymous
DBMS_DDL
CREATE TRIGGER
EXIT WHEN
6. DynSQL: Native Dynamic SQL
native dynamic
NDS
nested
loop
7. Web: mod_plsql is an _______ module.
SQL
can
Apache
upper - coalesce
8. A GOTO statement can branch from an exception handler into...
enclosing
an enclosing block
$IF
run
9. The 4 keywords in the $IF compiler directive.
network
True - false or NULL.
$IF $THEN $ELSE $END
does not
10. The compiler directive governing conditional compilation.
r tRec := tRec(9 - 'Jones');
$IF
anonymous block
cached
11. A national character literal is composed of characters in the ________ character set.
literal
SYS_REFCURSOR
oname
national
12. Web: mod_plsql is an implementation of the PL/SQL _________.
1
Gateway
IN OUT
include
13. You (can/cannot) put a label before an END LOOP statement.
cannot
do not
CLOSE
is certain
14. An incomplete type is a type created by a ______ type definition.
bytecode
literal
implicit
forward
15. I/O: The string table type in DBMS_OUTPUT for holding lines of text.
CHARARR
invalid
CHAR - VARCHAR2
invoker's
16. A type of compiler directive - begins with 's'.
open C
selection
optional
procedure - function
17. Dbms_sql: The DBMS_SQL procedure that closes a cursor.
finishes
CLOSE_CURSOR
constrained
propagates
18. I/O: The DBMS_OUTPUT function that writes output without a newline character.
current
autonomous transaction
PUT
SUBTYPE n IS number not null;
19. Triggers: A compound trigger can fire at more than one ______ point.
3
placeholders
timing
explicit
20. Pkgs: The _______ package gives access to such SQL things as ALTER SESSION.
DBMS_SESSION
NEW
deletions
invoker's
21. Cursors: How many implicit cursors can you access?
reference
WHEN
fail
1
22. An anonymous block is a(n) ____ statement.
disable
block
closed
SQL
23. CREATE TYPE cannot be used for _______ array types.
colon
associative
optional
source code
24. Types: One of the 4 PL/SQL things that have a data type (begins with 'r').
EXECUTE IMMEDIATE
does not
bind
return value
25. Triggers: In a per-row trigger - the ____ record shows you the changed state of an affected row.
ALTER SESSION
TYPE tV IS VARRAY(100) OF NUMBER
NEW
END IF
26. IDs: The 3 non-alphanumeric characters that can be in an ordinary user-defined identifier.
cursor variable
deletions
# - $ - _
VARRAYs
27. Triggers: The clause to make a trigger run before inserting or updating table EMPS.
error code
fail
source code
before insert or update on emps
28. Bulk: The implicit cursor attribute that gives the number of rows affected by each DML statement in a FORALL statement.
specification - body
DBMS_SESSION.RESET_PACKAGE
%BULK_ROWCOUNT
implicit CASE_NOT_FOUND exception
29. Wrapped code (is / is not) not backward compatible.
same
is not
SESSION_USER
PLSQL_CCFLAGS
30. Delimiters: The left label delimiter.
FETCH - INTO
<<
bind
object
31. A result-cached function caches its results in the _____ _____ ____ (SGA)
RETURN
FOR i IN REVERSE 1..10 LOOP
system global area
injection
32. Fundamental: A label can only go directly before an _______ statement.
executable
type T is ref cursor
Ordinary - Quoted.
cursor c;
33. You cannot bulk collect into an ARRAY OF RECORDS. You can into a ________________ (3 words).
vname CONSTANT VARCHAR2 := 'x';
RECORD OF ARRAYS
<<
Declaration
34. A GOTO cannot branch into an...
IF - CASE or LOOP
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
-20 -000
associative
35. Conversion: It is best to use (implicit / explicit) conversion.
searched
explicit
information that changes infrequently
FORALL and BULK COLLECT
36. Fundamental: Which one of these is a compound symbol: = - :=
disable
boolean
quoted
:=
37. Cursors: The value of SQL%ISOPEN is always ______.
FALSE
unhandled
REF CURSOR
exit when cgo%NOTFOUND
38. The two main parts of a package are the ____ and the _____.
library
bb:true
specification - body
cursor number
39. In a FORALL loop - you (can / cannot) use the index variable for purposes other than indexing into the collection.
cannot
bytecode
DML
FORALL and BULK COLLECT
40. Cursors: WHERE _______ ______ makes an UPDATE or DELETE apply to the current row of a cursor.
boolean
CURRENT OF
drop procedure
for update of
41. Triggers: The clause to make a trigger run after inserting into table EMPS.
after insert on emps
VARRAYs
subtype
512
42. To run a PIPE ROW statement in your autonomous routine - you must close any _____________.
integrated
cursor c;
autonomous transaction
CURSOR - RETURN - IS
43. Exceptions: A GOTO statement cannot branch into an _______ ________.
exception handler
package
%
RECORDS
44. For a collection - the NEXT method returns ____ when there is no next index value.
can
CREATE TRIGGER
EXECUTE IMMEDIATE
45. IDs: Maximum number of bytes in a user-defined identifier.
nested
30
DATE '2005-12-25'
END LOOP
46. Types: One of the 4 PL/SQL things that have a data type (begins with 'p').
Oracle
parameter
closed
DBMS_CRYPTO
47. Parameter that controls how much Oracle optimizes your PL/SQL code on compilation.
HTF
IR
PLSQL_OPTIMIZE_LEVEL
3
48. List the transaction control statements.
FOR - IN
constrained
quoted
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
49. The RESULT_CACHE clause comes (before / after) the RETURN clause.
512
binding
STANDARD
after
50. PL/SQL does not automatically create bind variables in ________ SQL.
calls
literals
dynamic
does not
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