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. CREATE TYPE cannot be used for _______ array types.
RESULT_CACHE
execute
associative
national
2. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.
implicit
EXTEND
is certain
fetch cv into myvar
3. Delimiters: the attribute indicator.
fields
searched
%
selection
4. Characters that begin a single-line comment.
bind
-
cannot
SESSION_USER
5. Delimiters: The assignment operator.
REUSE SETTINGS
:=
production
error code
6. Types: In addition to the SQL data types - PL/SQL has ___ more scalar data types.
dbms_output.put_line
suspended
4
associative
7. Cursors: If no SELECT or DML statement has run - the value of SQL%ROWCOUNT is what?
boolean
3
3
8. The DEFINITION of a cursor is the _____ that returns the records.
ALTER SESSION
ROLLBACK
query
fetch cv into myvar
9. The BEGIN section is (optional/mandatory)
mandatory
cannot
DATE '2005-12-25'
create procedure
10. Cursors: SYS_REFCURSOR is a predefined type based on _____ ______.
REF CURSOR
error code
null string
optional
11. An anonymous block is a(n) ____ statement.
exception handler
SQL
procedure - function
searched
12. Cursors: An explicit cursor (can/cannot) accept parameters.
TYPE tN IS TABLE of NUMBER
can
PVM
END LOOP
13. Fundamental: What is the exponentiation operator?
**
is
can
execute immediate
14. I/O: The most basic PL/SQL way to give output to the user.
current transaction
PRAGMA EXCEPTION_INIT (E - -1);
dbms_output.put_line
query
15. Delimiters: Item separator.
CLOSE_CURSOR
procedure P AUTHID current_user;
OTHERS
16. A subprogram created inside a block is a _________ subprogram.
cannot
nested
INTO
does not
17. The 4 keywords in the $IF compiler directive.
$IF $THEN $ELSE $END
finishes
error
HTF
18. Define a nested table type - tN - which is a table NUMBERs.
package
TYPE tN IS TABLE of NUMBER
SQL
can
19. I/O: This DBMS_OUTPUT proc retrieves multiple lines from the buffer.
nested
GET_LINES
ordinary
RECORDS
20. A pointer to a private SQL area that stores information about processing a specific SELECT or DML statement.
TIMESTAMP.
cursor
SQL cursor
OUT
21. Cursors: A cursor that lives in session memory until the session ends.
autonomous triggers
session cursor
include
buffer
22. Exceptions: An exception in the declarations section does not go to the __________ section.
PLSQL_CCFLAGS
simple and compound symbols
decimal
exception
23. Cursors: Give the statement to close cursor C.
collections
PUT
close C
TIMESTAMP.
24. Declare a constrained subtype of NUMBER called N that is not null.
TYPE tA IS TABLE OF NUMBER INDEX BY VARCHAR2(20)
concatenation
multi-row
SUBTYPE n IS number not null;
25. Types: The storage size of a NUMBER value is based on the number of ______ digits.
CLOSE_CURSOR
significant
invalid
in the database
26. The default value of the AUTHID property.
DEFINER
SUBTYPE numb IS number;
3
FORALL i IN MyList.FIRST..MyList.LAST
27. Exceptions: The built-in procedure for raising an application-defined error.
$END
FGA
<> - != - ^=
raise_application_error
28. Advantage: Performance: Stored subprograms are ______ in memory.
literals
virtual machine
cached
exception handler
29. A type of compiler directive - begins with 'e'.
DBMS_SESSION.RESET_PACKAGE
error
SQL
preprocessor
30. Declare a variable r whose type is that of the records in table t.
GET_LINE
is certain
CASE_NOT_FOUND
r t.%ROWTYPE;
31. To recompile a procedure - use the _____ ______ command.
alter procedure
once
explicit cursor
scalar
32. Cursors: Opening keyword of a cursor FETCH loop.
LOOP
Abstract
INTO
significant
33. What is the exception that is implicitly raised in a CASE statement with no ELSE clause?
CASE_NOT_FOUND
HTP
bind
WHERE CURRENT OF
34. Delimiters: The left label delimiter.
USER_PLSQL_OBJECT_SETTINGS
<<
$END
concatenation
35. When an autonomous routine begins execution - the main transaction is ________.
suspended
ALTER SESSION
EXIT
type T is ref cursor
36. Value of a character literal with zero characters.
column
PUT_LINE
library
37. 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
38. Conversion: It is best to use (implicit / explicit) conversion.
<> - != - ^=
explicit
delimiters
bind arguments
39. User-defined compiler directives are defined in this system compile parameter.
type T is ref cursor
DBMS_SESSION
4
PLSQL_CCFLAGS
40. Conversion: If the specific value is suitable - ____ or _______ values can convert to almost any datatype
do not
identifiers
CHAR - VARCHAR2
1
41. Declare an input/output NUMBER parameter - v3.
execute
null string
v3 IN OUT NUMBER
INTO
42. Abbreviation for Abstract Data Type.
FOR i IN REVERSE 1..10 LOOP
associative
dense
ADT
43. 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
44. The attribute used to get the type of a row without knowing what it is.
%ROWTYPE
3
CURSOR - RETURN
sequence pseudo-columns
45. I/O: The DBMS_OUTPUT function that writes output without a newline character.
$IF
preprocessor
USER_PROCEDURES
PUT
46. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.
ROLLBACK
network
cannot
-20 -000
47. DynSQL: EXECUTE IMMEDIATE does both dynamic SQL and dynamic _______.
compilation
UTL_SMTP
@
PL/SQL
48. This is a CASE (expression / statement): CASE num WHEN 1 THEN goto LABEL1 WHEN 2 THEN var := 2 END CASE;
injection
after insert on emps
statement
statically
49. _____ arrays cannot be used as the type of an Oracle table column.
associative
255
for each row
finishes
50. The _____ and ____ _____ collection types can be used in database table columns.
VARCHAR2
VARRAY - Nested table
bytecode
currval and nextval
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