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. In the special IF syntax - is it ELSIF - or ELSEIF?
elsif
preprocessor
v3 IN OUT NUMBER
DBMS_PIPE
2. Give the statement to make a program autonomous.
'
CURSOR - RETURN
PRAGMA AUTONOMOUS_TRANSACTION;
DBMS_PREPROCESSOR
3. The AUTHID property applies to PL/SQL objects that contain _____.
code
DECLARE - BEGIN - EXCEPTION - END
cannot
same
4. Exceptions: If there is no handler for an exception - PL/SQL returns an ________ exception error to the invoker or host environment.
BINARY_INTEGER
unhandled
array
name and datatype
5. The command used to populate PLSQL_CCFLAGS.
execute
is not
ALTER SESSION
boolean
6. You (can / cannot) wrap trigger source code.
cannot
is not
composite
do not
7. Define a nested table type - tN - which is a table NUMBERs.
END
TYPE tN IS TABLE of NUMBER
compiles
With a letter.
8. Parameter that controls how much Oracle optimizes your PL/SQL code on compilation.
<<>>
RECORDS
**
PLSQL_OPTIMIZE_LEVEL
9. I/O: The DBMS_OUTPUT function that writes output without a newline character.
EXECUTE IMMEDIATE
PUT
SESSION_USER
timing
10. The DECLARE keyword is only required in an _______ _______.
procedure P AUTHID definer;
RESULT_CACHE
Server Pages
anonymous block
11. Types: PL/SQL has all the _____ data types.
IR
UTL_FILE
SQL
$$
12. Exceptions: An exception in the declarations section does not go to the __________ section.
exception
select
exception handler
DATE
13. Cursors: Give the statement to close cursor C.
include
GET_LINES
IN
close C
14. The DEFINITION of a cursor is the part after the keyword __.
IS
USER_PLSQL_OBJECT_SETTINGS
package
RELIES_ON
15. List the transaction control statements.
bytecode
unconstrained
COMMIT - ROLLBACK - SAVEPOINT - SET TRANSACTION
package
16. The two kinds of CASE statements are simple and ________.
searched
...
DML
parameter
17. Abbreviation for Abstract Data Type.
ADT
DML
EXIT
fetch C into V
18. Fundamental: Character used to escape a single quote inside a literal.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. User-defined compiler directives are defined in this system compile parameter.
PLSQL_CCFLAGS
USER_PLSQL_OBJECT_SETTINGS
TYPE rec IS RECORD (num NUMBER - name VARCHAR2(10));
compile
20. Types: ______ data types are those storing values with no internal components.
TYPE t IS TABLE OF rPerson INDEX BY PLS_INTEGER;
literal
scalar
4
21. SIMPLE_INTEGER is like PLS_INTEGER - but it does not allow ____ values - and it does not raise overflow exceptions.
after
DATE
v3 IN OUT NUMBER
22. $$PLSQL_LINE and $$PLSQL_UNIT are ______-ly defined inquiry directives.
STANDARD
DBMS_SESSION.RESET_PACKAGE
can
implicit
23. If a result-cached function's data source (based on the RELIES_ON clause) is updated - any cached results become _______.
invalid
SESSION_USER
CLOSE_CURSOR
Reserved words.
24. Associative array types (can / cannot) be defined in the database.
L.V
aggregate - analytical
associative
cannot
25. Give the value list in the PLSQL_WARNINGS parameter to turn on SEVERE compiler warnings and make compiler warning 06002 be an error.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. Cursors: How many DML statements can a FORALL statement contain?
STANDARD
injection
CHAR - VARCHAR2
1
27. I/O: This package sends text output to SQLPlus
PRAGMA EXCEPTION_INIT (E - -1);
DBMS_OUTPUT
OPEN
manageable
28. Types: ________ data types have internal components.
EXTEND
REF CURSOR
composite
variable
29. With dynamic typing - type checking is done at ______time.
run
autonomous triggers
..
5
30. A GOTO cannot branch into a...
finishes
lower sub-block
anonymous
same arguments
31. Cursors: Define a ref cursor type called T.
ROLLBACK
EXECUTE IMMEDIATE
type T is ref cursor
SQLCODE
32. A FOR-loop counter is defined only within the _____.
loop
$IF
procedure P AUTHID current_user;
OTHERS
33. Data dictionary view giving the AUTHID values on a user's objects.
EXTEND
USER_PROCEDURES
cannot
package
34. Cursors: The first two keywords in a Cursor FOR loop.
API
FOR - IN
Double quotes.
RETURN
35. Triggers: Programmers (as opposed to DBAs) mostly make use of _____ triggers.
dynamic
DML
FOR i IN REVERSE 1..10 LOOP
value
36. The lowest index of a nested table is ___.
1
national
cannot
unhandled
37. What do you FETCH from?
$$PLSQL_LINE
dynamic
FETCH
a cursor
38. Fundamental: Delimiters are _____ and _____ symbols.
EXIT
unconstrained
constant
simple and compound symbols
39. The RESULT_CACHE clause comes (before / after) the RETURN clause.
CURRENT OF
commit - rollback
EXTEND
after
40. Dbms_sql: The DBMS_SQL procedure that closes a cursor.
network
RECORD OF ARRAYS
column
CLOSE_CURSOR
41. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.
implicit CASE_NOT_FOUND exception
hardware
system global area
definer's
42. Dbms_sql: The return type DBMS_SQL.open_cursor.
Web Toolkit
virtual machine
procedure P AUTHID definer;
integer
43. Are good for logging table DML operations.
execute immediate
autonomous triggers
<<
CURSOR - RETURN - IS
44. The _____ and ____ _____ collection types can be used in database table columns.
Reserved words.
elements - type
VARRAY - Nested table
select
45. A FOR loop can be indexed by numbers or by a ______.
cursor
cannot
RELIES_ON
$IF
46. An incomplete type is a type created by a ______ type definition.
forward
IN - OUT - IN OUT
an autonomous routine
COUNT
47. Cursors: A cursor with a name is an _________ cursor.
EXIT
FORALL i IN MyList.FIRST..MyList.LAST
explicit
FGA
48. What is the simplest statement for getting out of simple loop?
EXIT
1
$IF
implicit
49. Cursors: What is the 'name' of the implicit cursor?
SQL
plb
cursor
session cursor
50. DynSQL: In EXECUTE IMMEDIATE - the statement string can use either placeholders - or string ________.
exception handler
definition
aliases
concatenation
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