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. A CASE statement (can / cannot) execute more than one group of statements.
cannot
associative
virtual machine
definition
2. Subprograms are stored in __________ form.
executable
v1 OUT number default 10
1 million
IN OUT
3. DynSQL: The clause that supplies bind arguments to EXECUTE IMMEDIATE.
USING
current BEGIN-END block
collections - records
aggregate - analytical
4. PL/SQL is a ________ typed programming language.
CURSOR - RETURN
cannot
statically
DBMS_SQL
5. A FOR-loop counter is defined only within the _____.
literals
loop
include
can
6. Triggers: When using the NEW or OLD pseudo-records in the body of the trigger - they must be prefixed with a _______.
TOO_MANY_ROWS
flushed
query
colon
7. A type of compiler directive - begins with 'i'.
aggregate - analytical
executable
-
inquiry
8. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.
null string
suspended
source code
BINARY_INTEGER
9. Dbms_sql: The return type DBMS_SQL.open_cursor.
select
close C
cursor
integer
10. In the special IF syntax - is it ELSIF - or ELSEIF?
FETCH
IN
elsif
finishes
11. The collection method that tells the number of elements in the collection.
COUNT
CLOSE_CURSOR
loop
names
12. Are good for logging table DML operations.
database
SESSION_USER
autonomous triggers
sql
13. GOTO branches to a ________.
machine code
aggregate - analytical
EDITION_NAME
label
14. A national character literal is composed of characters in the ________ character set.
constructor
API
an enclosing block
national
15. %ROWTYPE gets the type of a table or _______.
5
cached
<<
cursor
16. The FORALL statement to loop over a collection MyList using index i.
FORALL i IN MyList.FIRST..MyList.LAST
INTO
Ordinary - Quoted.
open cv for
17. Kind of comment not to put in a PL/SQL block to be processed dynamically by an Oracle Precompiler program.
database
names
EDITION_NAME
single-line
18. Cursors: The second keyword of a FETCH statement.
network
HTP
iname
INTO
19. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.
is certain
ADT
statement
definition
20. A record is a group of related data items stored in fields - each with its own...
name and datatype
decimal
EXECUTE IMMEDIATE
BINARY_INTEGER
21. The compiler directive governing conditional compilation.
open cv for
deletions
definition
$IF
22. 5 types of events that can have triggers: DML - DDL - INSTEAD OFs - database events - and ________ statements.
suspended
RECORDS
cannot
an AUTHID property
23. Advantage: PL/SQL runs anywhere Oracle runs - so it is very ________.
an enclosing block
=>
follows
portable
24. The RESULT_CACHE clause comes (before / after) the RETURN clause.
3
SESSION_USER
block
after
25. Exceptions: Some internal exceptions have ________ names.
3
associative arrays
predefined
;
26. PL/SQL does not automatically create bind variables in ________ SQL.
dynamic
<<>>
concatenation
exception handler
27. Triggers: Programmers (as opposed to DBAs) mostly make use of _____ triggers.
DML
CURRENT_USER
CHAR - VARCHAR2
STANDARD
28. DynSQL: In EXECUTE IMMEDIATE - the statement string can use either placeholders - or string ________.
concatenation
inquiry
identifiers
in the database
29. A pointer to a private SQL area that stores information about processing a specific SELECT or DML statement.
# - $ - _
cannot
SESSION_USER
cursor
30. Associative arrays (do / do not) have to be initialized with a constructor.
do not
GET_LINE
create procedure
%ROWTYPE
31. A kind of variable used as a placeholder.
suspended
do not
PSP
bind
32. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.
hardware
transaction
3
currval and nextval
33. Delimiters: The component indicator/selector.
...
unqualified
.
alter procedure
34. Advantage: Caching of programs and sharing among users lowers _______ requirements.
L.V
index
memory
base
35. What are the two sequence pseudo-columns?
CHARARR
predefined
currval and nextval
varray
36. To insert or update on a table that has a collection column - you have to have _______ privilege on the collection type.
RETURN
EXECUTE
source
define
37. How many types of compiler directives are there?
HTP
in the database
3
cannot
38. A basic PL/SQL datatype that SQL does not have.
ADT
procedure P AUTHID current_user;
boolean
DBMS_PREPROCESSOR
39. I/O: This package has hypertext functions that generate HTML tags
HTF
expression
bind arguments
same
40. An anonymous block always has _________ rights.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. A SELECT statement with the FOR UPDATE clause puts a ______ on the selected rows.
database
lock
predefined
DEFINER
42. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.
RECORD OF ARRAYS
cannot
OTHERS
L.V
43. $$PLSQL_LINE and $$PLSQL_UNIT are ______-ly defined inquiry directives.
FETCH
SESSION_USER
implicit
v2 IN NUMBER default 20
44. I/O: SQLPlus command for turning on buffered output.
set serveroutput on
3
RAISE
SQLPlus
45. Fundamental: Maximum string length of a PL/SQL variable.
32 -000
return value
LOOP
PSP
46. Triggers: There are __ types of triggers.
TIMESTAMP.
5
compilation
L.V
47. When a session starts - CURRENT_SCHEMA has the value of the schema owned by ___________.
static boolean
can
SESSION_USER
TIMESTAMP.
48. Cursors: The SQL%FOUND attribute has how many possible values?
DATE
implicit CASE_NOT_FOUND exception
TIMESTAMP.
3
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. A value that is neither represented by an identifier nor calculated from other values.
literal
cannot
EVERE - PERFORMANCE - INFORMATIONAL
portable