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. 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
2. Define a collection type - tA - which is an associative array of NUMBERS - indexed with varchar2(20) values.
STANDARD
constrained
TYPE tA IS TABLE OF NUMBER INDEX BY VARCHAR2(20)
%TYPE
3. Fundamental: Maximum string length of a PL/SQL variable.
SESSION_USER
32 -000
function f (n number) return number result_cache relies_on (emps);
static
4. Define a collection type - tV - which is a varray of 100 NUMBERs.
executable
definer's
boolean
TYPE tV IS VARRAY(100) OF NUMBER
5. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.
cursor number
RETURN
a number := 10
an autonomous routine
6. Types: One of the 4 PL/SQL things that have a data type (begins with 'v').
EXIT
END IF
variable
external subprogram
7. A unit with AUTHID = CURRENT_USER is an ________ rights unit.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
8. The best candidates for result-caching are functions that are invoked frequently but depend on __________________ or never.
ALTER SESSION
information that changes infrequently
iname
DBMS_PREPROCESSOR
9. Declare an associative array type - t - whose elements are of type rPerson - and whose index is PLS_INTEGER.
anonymous block
selection
TYPE t IS TABLE OF rPerson INDEX BY PLS_INTEGER;
code
10. A (simple / searched) CASE statement begins with CASE <expression>.
pls_integer
anonymous
simple
CREATE TYPE
11. What is the simplest statement for conditionally getting out of simple loop?
name-value
FOR - IN
EXIT WHEN
fields
12. When a session starts - CURRENT_SCHEMA has the value of the schema owned by ___________.
external subprogram
reference
SESSION_USER
INTO
13. You (can / cannot) wrap trigger source code.
cannot
<<>>
%ISOPEN.
virtual machine
14. You cannot bulk collect into an ARRAY OF RECORDS. You can into a ________________ (3 words).
PLSQL_OPTIMIZE_LEVEL
1
return value
RECORD OF ARRAYS
15. Exceptions: Associate exception E with error code -1.
finishes
lock
p.v
PRAGMA EXCEPTION_INIT (E - -1);
16. IDs: Predefined identifiers are declared in this package.
STANDARD
Declaration
a number := 10
ALTER SESSION
17. Default file extension of wrap's input file.
network
sql
collections - records
PUT_LINE
18. Cursors: Which cursor attribute is not meaningful for an implicit cursor?
dynamic
1
1 million
%ISOPEN.
19. _______ arrays can be sparse or dense - depending on how you fill them.
server
associative
composite
upper - coalesce
20. Java - C or other program called directly in PL/SQL.
external subprogram
DEFINER
open C
DBMS_PREPROCESSOR
21. Bulk: The keywords of a bulk collect FETCH statement.
FETCH - BULK COLLECT INTO
does not
=
in the database
22. Define a record type REC with number num and varchar2(10) name.
TYPE rec IS RECORD (num NUMBER - name VARCHAR2(10));
aggregate - analytical
memory
SQLERRM
23. Cursors: A cursor variable's type must be a ____ ______ type.
wrap
integer
cannot
REF CURSOR
24. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.
fields
implicit
include
context
25. In a collection - the internal components are called _______.
associative
elements
disable
injection
26. I/O: This DBMS_OUTPUT proc retrieves multiple lines from the buffer.
GET_LINES
255
elements
fail
27. Exceptions: You cannot GOTO from an exception handler back into the __________ block.
current
END
execute
**
28. Data dictionary view giving the AUTHID values on a user's objects.
nested tables - associative arrays
USER_PROCEDURES
virtual machine
FETCH - INTO
29. Pkgs: The _______ package gives access to such SQL things as ALTER SESSION.
colon
DBMS_SESSION
RELIES_ON
30. To exit an active autonomous transaction without causing an exception - you must issue _____ or ______.
commit - rollback
predefined
<> - != - ^=
SQLCODE
31. Exceptions: The ________ handler must always be the last handler.
associative
inclusive
currval and nextval
OTHERS
32. 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
33. Exceptions: The built-in procedure for raising an application-defined error.
FETCH
p.v
execute immediate
raise_application_error
34. Cursors: The SQL%FOUND attribute has how many possible values?
wrap
variable
3
PLSQL_OPTIMIZE_LEVEL
35. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.
reference
fetch cv into myvar
source code
TYPE t IS TABLE OF rPerson INDEX BY PLS_INTEGER;
36. Delimiters: Item separator.
STANDARD
SUBTYPE n IS number not null;
stored
37. You can have many autonomous transactions in ___________.
aliases
CLOSE_CURSOR
an autonomous routine
ROLLBACK
38. The _____ utility turns PL/SQL source code into unreadable text.
does not
USING
Wrap
anonymous block
39. Exceptions: The _________ package defines the PL/SQL environment.
STANDARD
$END
can
dense
40. I/O: One of the 3 types of data that can be passed to the DBMS_OUTPUT buffer.
preprocessor
VARCHAR2
TRUE - FALSE - NULL
server
41. Cursors: A session cursor that a PL/SQL user creates and manages.
%FOUND - %ISOPEN - %NOTFOUND - %ROWCOUNT
optional
explicit cursor
multi-row
42. Web: PL/SQL ______ ______ (PSPs) let you develop web pages with dynamic content.
cannot
RECORD OF ARRAYS
searched
Server Pages
43. A CASE expression ends with _____.
INTO
alter procedure
END
buffer
44. SIMPLE_INTEGER is like PLS_INTEGER - but it does not allow ____ values - and it does not raise overflow exceptions.
before insert or update on emps
'
DML
45. Delimiters: The left label delimiter.
cursor c RETURN rC;
SQLPlus
<<
;
46. Exceptions: The ________ function returns the error message associated with an error code.
-
SQL
SQLERRM
SESSION_USER
47. A __________ can have an AUTHID property
enclosing
1
DBMS_SQL
package
48. Delimiters: Statement terminator.
view
definition
system global area
;
49. Types: A data type family consists of a ______ type and its subtypes.
DBMS_SESSION
base
cursor
scalable
50. 5 types of events that can have triggers: DML - DDL - INSTEAD OFs - database events - and ________ statements.
dense
suspended
wrap
FETCH - BULK COLLECT INTO
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