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 compiler directive governing conditional compilation.
IN OUT
integrated
$IF
decimal
2. Types: One of the scalar data types specific to PL/SQL: b_____.
BOOLEAN
same
definer's
composite
3. Triggers: By default - a trigger is created in the ______ state.
implicit
type T is ref cursor
enabled
dense
4. A value that is neither represented by an identifier nor calculated from other values.
FOR i IN REVERSE 1..10 LOOP
literal
fetch cv into myvar
integer
5. I/O: This package has hypertext functions that generate HTML tags
CURRENT_USER - DEFINER
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
VARCHAR2
HTF
6. You can use the BULK COLLECT INTO clause in a SELECT or a ______.
%ROWTYPE
FETCH
a number := 10
can
7. Exceptions: If there is no handler for an exception - PL/SQL returns an ________ exception error to the invoker or host environment.
oname
explicit
is not
unhandled
8. Types: A ______ has the same valid operations as its base type.
-20 -000
searched
OPEN
subtype
9. IDs: How an ordinary user-defined identifier must begin.
execute immediate
manageable
With a letter.
label
10. Term for a character literal with zero characters.
null string
type T is ref cursor
definition
non-editioning views
11. Triggers: On a non-editioning view - you can only define __________ triggers.
INSTEAD OF
constructor
does not
SQLERRM
12. A subprogram created inside a block is a _________ subprogram.
BINARY_INTEGER
nested
USER_PLSQL_OBJECT_SETTINGS
decimal
13. A basic PL/SQL datatype that SQL does not have.
elements - type
hardware
INTO
boolean
14. Types: One of the scalar data types specific to PL/SQL: B_______
suspended
BINARY_INTEGER
invoker's
buffer
15. A national character literal is composed of characters in the ________ character set.
non-editioning views
national
code
CREATE TYPE
16. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.
-20 -000
varray
RAISE
WHERE CURRENT OF
17. The DECLARE keyword is only required in an _______ _______.
OUT
name-value
anonymous block
PLSQL_OPTIMIZE_LEVEL
18. A result-cached function caches its results in the _____ _____ ____ (SGA)
Declaration
compilation
fetch cv into myvar
system global area
19. I/O: The most basic PL/SQL way to give output to the user.
inquiry
vname CONSTANT VARCHAR2 := 'x';
dbms_output.put_line
do not
20. Dbms_sql: A cursor opened with OPEN_CURSOR (can/cannot) be reused for multiple queries without first closing it.
EXECUTE IMMEDIATE
can
OPEN
Gateway
21. Triggers: You (can/cannot) explicitly invoke a trigger.
PLS_INTEGER
invoker's
cannot
implicit cursor
22. How to reference a variable V declared in a block labelled L: ____.
L.V
INSTEAD OF
RECORD OF ARRAYS
EXTEND
23. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.
30
context
decimal
%BULK_ROWCOUNT
24. A __________ can have an AUTHID property
ordinary
v2 IN NUMBER default 20
package
currval and nextval
25. Triggers: The clause to make a trigger run before inserting or updating table EMPS.
Double quotes.
before insert or update on emps
include
explicit
26. Conditional ______ allows backward compability with older database versions.
significant
True
colon
compilation
27. I/O: One of the 3 types of data stored in the DBMS_OUTPUT buffer.
EXIT WHEN
placeholders
NUMBER
compiles
28. Subprograms are stored in __________ form.
DBMS_PIPE
executable
FORALL and BULK COLLECT
wrap
29. Advantage: PL/SQL gives SCALABILITY because stored procedures are executed on the _______.
FALSE
associative
server
create
30. Declare an associative array type - t - whose elements are of type rPerson - and whose index is PLS_INTEGER.
-20 -000
enclosing
TYPE t IS TABLE OF rPerson INDEX BY PLS_INTEGER;
hardware
31. A unit with AUTHID = DEFINER is a ________ rights unit.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. With dynamic typing - type checking is done at ______time.
column
savepoint ab
run
will not
33. To get the current value of CURRENT_SCHEMA - CURRENT_USER - or SESSION_USER - use the ____ function.
fields
SYS_CONTEXT
definer's
DBMS_CRYPTO
34. Cursors: The second keyword of a FETCH statement.
FOR i IN REVERSE 1..10 LOOP
does not
network
INTO
35. Official acronym for PL/SQL's runtime engine.
Wrap
PVM
=>
error code
36. Exceptions: The ________ function returns the current error code.
dbms_output.put_line
SQLCODE
suspended
implicit CASE_NOT_FOUND exception
37. An incomplete type only has a ____.
:=
cannot
network
name
38. Exceptions: User-defined exceptions must have _______.
WHEN
names
strong
pseudocolumn
39. Cursors: The statement that closes a cursor.
CLOSE
PL/SQL Gateway
invoker's
FGA
40. A (simple / searched) CASE statement begins with CASE WHEN <boolean expression>.
open C
mandatory
searched
Gateway
41. You (can / cannot) wrap trigger source code.
cannot
1
IN OUT
run
42. Cursors: What are the 3 possible values of SQL%FOUND and SQL%NOTFOUND?
savepoint ab
manageable
E Exception;
TRUE - FALSE - NULL
43. The 2 characters that begin all inquiry directives.
1
pseudocolumn
DBMS_DDL
$$
44. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.
FALSE
3
compiles
cursor number
45. Cursors: Give the statement for getting out of a FETCH loop for cursor CV.
TYPE t IS TABLE OF rPerson INDEX BY PLS_INTEGER;
EXIT WHEN cv%NOTFOUND
after
include
46. Types: One of the 4 PL/SQL things that have a data type (begins with 'c').
aggregate - analytical
explicit
constant
CHAR - VARCHAR2
47. Triggers: An INSTEAD OF trigger is (always/never) a row-level trigger.
always
DBMS_OUTPUT
EXECUTE IMMEDIATE
nested tables - associative arrays
48. Exceptions: An exception in the declarations section propagates to the enclosing _______.
True - false or NULL.
block
value
1
49. Declare an output NUMBER parameter - v1 - that defaults to 10.
SQL cursor
DBMS_DDL
strong
v1 OUT number default 10
50. Default value of PLSQL_OPTIMIZE_LEVEL.
do not
ALTER SESSION
DBMS_PREPROCESSOR
2
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