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. Cursors: The two keywords in a mere cursor declaration (one is optional).
CURSOR - RETURN
invoker's
..
error code
2. I/O: The DBMS_OUTPUT function that writes output WITH a newline character.
PUT_LINE
IF - CASE or LOOP
portable
scalable
3. To enable result-caching for a function - use the _____________ clause.
Server Pages
FOR - IN
RESULT_CACHE
32 -000
4. Declare an input/output NUMBER parameter - v3.
v3 IN OUT NUMBER
USING
BINARY_INTEGER
IN
5. I/O: This package does email.
FALSE
UTL_SMTP
.
virtual machine
6. Declare an unconstrained subtype of NUMBER called NUMB.
bind
1
SUBTYPE numb IS number;
is
7. Types: One of the scalar data types specific to PL/SQL: P________
static boolean
:=
EXIT
PLS_INTEGER
8. A type of compiler directive - begins with 'e'.
compiles
VARCHAR2
fail
error
9. Cursors: The value of SQL%ISOPEN is always ______.
PUT
FALSE
cannot
constant
10. I/O: The DBMS_OUTPUT buffer will not be flushed until it is full or until the current PL/SQL block _________.
finishes
Server Pages
OPEN_CURSOR
..
11. A GOTO cannot branch into an...
after
drop procedure
compile
IF - CASE or LOOP
12. If a procedure fails - an OUT parameter passed to it by value (will / will not) be passed back with changes.
non-editioning views
*/
will not
stored
13. Cursors: WHERE _______ ______ makes an UPDATE or DELETE apply to the current row of a cursor.
CURRENT OF
IS
fail
simple and compound symbols
14. Delimiters: Single-line comment marker.
$END
-
does not
error code
15. By default - OUT and IN OUT parameters are passed by _____.
context
cursor number
value
cannot
16. A PL/SQL extension to the WHERE clause of the SQL statements UPDATE and DELETE
server
simple and compound symbols
WHERE CURRENT OF
17. Dbms_sql: DBMS_SQL package is compiled with _______ rights.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. When a parameter is passed by reference - changes made to it inside the procedure cannot be undone. True/False.
True
database
include
function f (n number) return number result_cache relies_on (emps);
19. By default - an IN parameter is passed by ______.
EXIT WHEN
reference
SQL
cursor number
20. The DEFINITION of a cursor is the _____ that returns the records.
query
%
constant
1 million
21. The inquiry directive that gives the current line number in the procedure.
$$PLSQL_LINE
FETCH
SQL
IN OUT
22. With static typing - type checking is done at ______ time.
invoker's
compile
.
associative arrays
23. Fundamental: Delimiters are _____ and _____ symbols.
simple and compound symbols
RELIES_ON
an AUTHID property
must
24. The 2 characters that begin all inquiry directives.
cannot
$$
binding
error code
25. The NOCOPY option on an OUT or IN OUT parameter - causes it to be passed by ______.
simple and compound symbols
FORALL i IN MyList.FIRST..MyList.LAST
expression
reference
26. For a collection - the NEXT method returns ____ when there is no next index value.
machine code
/*
..
27. The method to add one or more elements to a nested table or VARRAY is ______.
source
numeric and cursor
=
EXTEND
28. Subprograms are stored in __________ form.
is certain
COUNT
executable
CHAR - VARCHAR2
29. The four keywords that define a PL/SQL block.
code
non-editioning views
DECLARE - BEGIN - EXCEPTION - END
collections
30. I/O: The string table type in DBMS_OUTPUT for holding lines of text.
CHARARR
run
does not
simple
31. A PL/SQL block that is not stored.
implicit
anonymous block
elements
object
32. Exceptions: The _________ package defines the PL/SQL environment.
DBMS_DDL
nested
STANDARD
inquiry
33. In interpreted mode - the PL/SQL VM interprets the _________.
bytecode
close C
name-value
parameter
34. Give the clause you add to a CREATE TABLE statement - when there is a collection column myColl - that you want to be stored in a table called myCollTab.
NESTED TABLE myColl STORE AS myCollTab
invoker's
Web Toolkit
1
35. Declaration of a varchar2 constant - called vname - with value 'x'.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. A GOTO statement cannot branch from an exception handler back into the...
# - $ - _
<> - != - ^=
$IF $THEN $ELSE $END
current BEGIN-END block
37. Types: One of the scalar data types specific to PL/SQL: b_____.
EXECUTE IMMEDIATE
reference
BOOLEAN
implicit
38. A national character literal is composed of characters in the ________ character set.
associative
elements
national
RETURN
39. Types: One of the scalar data types specific to PL/SQL: R_________.
COUNT
REF_CURSOR
loop
comments
40. Cursors: Define a ref cursor type called T.
VARRAY - Nested table
CHAR - VARCHAR2
cannot
type T is ref cursor
41. A GOTO statement can branch from an exception handler into...
WHERE CURRENT OF
CURRENT_USER - DEFINER
server
an enclosing block
42. A CASE expression ends with _____.
END
associative
scalar
3
43. Triggers: In a per-row trigger - the ____ record shows you the original state of an affected row.
after
OLD
elsif
DECLARE - BEGIN - EXCEPTION - END
44. Triggers: There are __ types of triggers.
5
CURSOR - RETURN - IS
FOR - IN
rollback to ab
45. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.
TYPE tN IS TABLE of NUMBER
-20 -000
do not
information that changes infrequently
46. Keyword for doing assignment to a variable with SELECT.
pseudocolumn
error code
PUT_LINE
INTO
47. Declare an input NUMBER parameter - v2 - that defaults to 20.
DML
FOR UPDATE
implicit
v2 IN NUMBER default 20
48. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.
implicit cursor
single-line
optional
inquiry
49. Cursors: A pointer to a cursor is called a ______ _______.
L.V
cached
LOOP - END LOOP
cursor variable
50. The _____ and ____ _____ collection types can be used in database table columns.
VARRAY - Nested table
after
CHARARR
SIMPLE_INTEGER
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