Beruflich Dokumente
Kultur Dokumente
#students
v$testresult(*)
yesterday's date
yesterday(*)
number_of_students_in_the_class
2.) Which statements about lexical units are true? (Choose two.)
Letter (*)
Number
Special character
3.) Which of the following should NOT be used as the name of a variable?
4.) Which of the following is NOT a good guideline for declaring variables?
v_result := v_number * 5;
All of these are correct (*)
v_result := ROUND(49.77);
v_result := 100 / 2;
True (*)
False
6. Two variables with the same name can be declared in an outer block and an inner
block. True or False
True (*)
False
8.) If an outer block is labeled, the inner block must be labeled also. True or
False?
Mark for Review
True
False (*)
9.) Which of the following are valid assignment statements? (Choose two.)
v_string := Hello;
v_string = 'Hello';
v_number := 17 + 34; (*)
v_string := 'Hello'; (*)
v_date := 28-Dec-2006;
10.) PL/SQL can implicitly convert a CHAR to a NUMBER, provided the CHAR contains a
numeric value, for example '123'. True or False?
True (*)
False
Operators
Implicit conversion functions
Explicit conversion functions (*)
Character functions
12.) Which of the following are scalar data types? (Choose three.)
Date (*)
Array
Character (*)
Boolean (*)
Table
13.) Which of the following are PL/SQL data types? (Choose three.)
Lexical
Delimiter
Large Objects (LOB) (*)
Scalar (*)
Composite (*)
14. Comments change how a PL/SQL program executes, so an unsuitable comment can
cause the program to fail. True or False?
True
False (*)