Quiz 11
Quiz 11
(1) Points
True (*)
False
Correct
(1) Points
10
25
50 (*)
Correct
3. When a user session changes the value of a package variable, the new
value can immediately be seen by other sessions. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
(1) Points
True
False (*)
Correct
(1) Points
True
False (*)
Correct
6. The DBMS_OUTPUT gives programmers an easy-to-use interface to see,
for instance, the current value of a loop counter, or whether or not a
program reaches a particular branch of an IF statement. (True or False?)
Mark for Review
(1) Points
True (*)
False
Correct
(1) Points
True (*)
False
Correct
(1) Points
It is used to find out how much free space is left on an operating system
disk.
It is used to load binary files such as employees' photos into the database.
It is used to read and write text files stored outside the database. (*)
It is used to query CHAR and VARCHAR2 columns in tables.
Correct
9. The UTL_FILE package can be used to read and write binary files such as
JPEGs as well as text files. True or False?
Mark for Review
(1) Points
True
False (*)
Correct
(1) Points
Because DBMS_OUTPUT cannot be used inside procedures
Because anonymous blocks display messages while the block is executing,
while procedures do not display anything until their execution has finished
Because DBMS_OUTPUT should be used only for testing and debugging
PL/SQL code (*)
Because DBMS_OUTPUT can raise a NO_DATA_FOUND exception if used
inside a packaged procedure
Correct
Previous
11. The DBMS_OUTPUT.PUT procedure places text in a buffer but does not
display the contents of the buffer. True or False?
Mark for Review
(1) Points
True (*)
False
Correct
12. Which DBMS_OUTPUT package subprogram places text into the buffer at
Line 1? (Choose one)
(1) Points
DBMS_OUTPUT.PUT_LINE('IF branch was executed');
DBMS_OUTPUT.PUT('IF branch was executed'); (*)
DBMS_OUTPUT.NEW_LINE('IF branch was executed');
DBMS_OUTPUT.GET_LINE('IF branch was executed');
Correct
13. Which of the following procedures is not valid for the UTL_MAIL package
Mark for Review
(1) Points
SEND_ATTACH_VARCHAR2
All are valid.
SEND_ATTACH_BOOLEAN (*)
SEND_ATTACH_RAW
SEND
Correct
(1) Points
Trace the code execution path for a function or procedure (*)
Interact with a user during execution of a function or procedure
Write operating system text files to the user's screen
Display results to the developer during testing for debugging purposes (*)
Correct
(1) Points
INVALID_PATH (*)
INVALID_OPERATION (*)
NO_DATA_FOUND
ZERO_DIVIDE
WRITE_ERROR (*)
Correct
Previous