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. IDs: What a quoted user-defined identifier is enclosed in.
value
Double quotes.
database
must
2. Declare a cursor c with no parameters or return type.
injection
=
DBMS_PIPE
cursor c;
3. If none of a CASE expression's conditions are TRUE - it returns _____.
production
RELIES_ON
wrap
4. Declare an input NUMBER parameter - v2 - that defaults to 20.
single-line
exit when cgo%NOTFOUND
v2 IN NUMBER default 20
USER_PLSQL_OBJECT_SETTINGS
5. Exceptions: The package that defines pre-defined exceptions.
a number := 10
constructor
STANDARD
package
6. Cursors: The FOR UPDATE phrase goes at the (beginning/end) of the cursor definition.
end
drop procedure
WHERE CURRENT OF
machine
7. Types: One of the 4 PL/SQL things that have a data type (begins with 'p').
parameter
ROLLBACK
scalable
FORALL i IN MyList.FIRST..MyList.LAST
8. A subprogram defined within another subprogram is a _______ subprogram.
CREATE TRIGGER
FOR i IN REVERSE 1..10 - LOOP - NULL; END LOOP;
nested
REUSE SETTINGS
9. Delimiters: The component indicator/selector.
.
-20 -000
implicit
ALTER SESSION
10. An editioning view can only select a subset of the columns from the base table and provide ________ for them
aliases
PLSQL_CCFLAGS
1
OLD
11. Abbreviation of invoker's rights
unconstrained
implicit cursor
IR
virtual machine
12. An anonymous block is a(n) ____ statement.
definer's
$$PLSQL_LINE
FETCH - INTO
SQL
13. Triggers and views always have _________ rights.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
14. Delimiters: The left label delimiter.
INSTEAD OF
Ada
wrap
<<
15. Exceptions: User-defined exceptions must have _______.
Wrap
names
can
%FOUND - %ISOPEN - %NOTFOUND - %ROWCOUNT
16. In a record - the internal components are called ______.
lower sub-block
literal
fields
$IF
17. Assigning values to PL/SQL variables that appear in SQL statements is called _______.
enclosing
%FOUND - %ISOPEN - %NOTFOUND - %ROWCOUNT
anonymous
binding
18. IDs: How an ordinary user-defined identifier must begin.
/*
v1 OUT number default 10
Apache
With a letter.
19. Advantage: Performance: Stored subprograms are ______ in memory.
cached
cursor
order
function f (n number) return number result_cache relies_on (emps);
20. Cursors: Define a ref cursor type called T.
type T is ref cursor
INTO
base
BINARY_INTEGER
21. With dynamic typing - type checking is done at ______time.
FOR i IN REVERSE 1..10 - LOOP - NULL; END LOOP;
run
30
null string
22. 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
23. An INSTEAD OF trigger is used - e.g - when you want to insert into a complex _____.
INTO
view
simple
suspended
24. The EXTEND method is not used with ______ _______.
associative arrays
aliases
IN
REF CURSOR
25. A __________ can have an AUTHID property
quoted
index
package
compilation
26. Cursors: Give the statement to fetch data from cursor C into variable V.
finishes
fetch C into V
DBMS_DDL
CASE_NOT_FOUND
27. The 2 characters that begin all inquiry directives.
composite
significant
PRAGMA AUTONOMOUS_TRANSACTION;
$$
28. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.
implicit cursor
-20 -000
significant
constant
29. Cursors: The first two keywords of a basic fetch statement.
FETCH - INTO
compiles
binding
DATE
30. The valid values of the AUTHID property.
CURRENT_USER - DEFINER
label
index
can
31. Abbreviation for Abstract Data Type.
ADT
SIMPLE_INTEGER
vname CONSTANT VARCHAR2 := 'x';
static
32. In Native Mode - PL/SQL code is compiled into ______ ______.
parameter
REF CURSOR
machine code
type T is ref cursor
33. DynSQL: The main command for Native Dynamic SQL.
.
executable
EXECUTE IMMEDIATE
select
34. Exceptions: The keyword that begins an exception handler.
cursor number
IS
iname
WHEN
35. Triggers: Programmers (as opposed to DBAs) mostly make use of _____ triggers.
currval and nextval
FETCH
DML
context
36. Wrap iname=xxxx _____=zzzzz
view
32 -000
oname
IN
37. Dbms_sql: The DBMS_SQL procedure that closes a cursor.
1 million
before insert or update on emps
after
CLOSE_CURSOR
38. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.
%FOUND - %ISOPEN - %NOTFOUND - %ROWCOUNT
2
source code
current
39. Official acronym for PL/SQL's runtime engine.
DR
context
package
PVM
40. Exceptions: The built-in procedure for raising an application-defined error.
<<>>
current transaction
is
raise_application_error
41. Kind of comment not to put in a PL/SQL block to be processed dynamically by an Oracle Precompiler program.
CHARARR
order
INTO
single-line
42. Cursors: A Cursor FOR loop does not use a ______ statement.
FETCH
%
implicit
colon
43. VARRAYs are (always / never) sparse.
never
session cursor
USER_PROCEDURES
;
44. I/O: This package handles HTTP.
parameter
UTL_HTTP
pseudocolumn
SQL
45. Triggers: INSTEAD OF triggers only run on ______ views.
EXIT WHEN
non-editioning views
varray
invoker's
46. I/O: SQLPlus command for turning on buffered output.
literals
set serveroutput on
enabled
EXIT
47. Triggers: In a per-row trigger - the ____ record shows you the original state of an affected row.
OLD
user-defined
a number := 10
enabled
48. The command used to populate PLSQL_CCFLAGS.
CURRENT_USER
ALTER SESSION
inquiry
explicit cursor
49. Define a record variable r - of type tRec - initialized with values 9 and 'Jones' in its two fields.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
50. Cursors: Only a _____ _____ cursor can appear in the CURRENT OF clause of an UPDATE or DELETE statement.
EVERE - PERFORMANCE - INFORMATIONAL
executable
procedure P AUTHID definer;
FOR UPDATE
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