Title | |
---|---|
____ are values used in PL/SQL blocks that do not change during execution____ are values used in PL/SQL blocks that do not change during execution.
The answer is:
B. Constants
|
|
PL/SQL Constant is a/an ____ literal valuePL/SQL Constant is a/an ____ literal value.
The answer is:
B. User-defined
|
|
Choose the correct syntax to declare a constantChoose the correct syntax to declare a constant.
The answer is:
A. constant_name CONSTANT datatype := VALUE;
|
|
What is TRUE about constant_name in PL/SQL Constant?What is TRUE about constant_name in PL/SQL Constant?
The answer is:
C. Both A. and B.
|
|
A value is assigned to a constant in PL/SQL at the time of –A value is assigned to a constant in PL/SQL at the time of –
The answer is:
B. Declaration
|
|
____ are values which do not have an identifier and are numeric, character, string, or boolean____ are values which do not have an identifier and are numeric, character, string, or boolean.
The answer is:
B. Literals
|
|
Which is the correct example of the literal of type BooleanWhich is the correct example of the literal of type Boolean.
The answer is:
C. Both A. and B.
|
|
Select the correct statementSelect the correct statement.
The answer is:
A. PL/SQL literals are case-sensitive
|
|
Which of the following is NOT a type of PL/SQL literal?Which of the following is NOT a type of PL/SQL literal?
The answer is:
D. Check
|
|
Which of the following is Numeric literal?Which of the following is Numeric literal?
The answer is:
D. All of the above
|
|
Which of the following is NOT a Boolean literal?Which of the following is NOT a Boolean literal?
The answer is:
C. HELLO
|
|
Which of the following is a Character literal?Which of the following is a Character literal?
The answer is:
D. All of the above
|
|
What programming languages features are used in PL/SQL?What programming languages features are used in PL/SQL?
The answer is:
C. Both A. and B.
|
|
Which of the following is correct syntax of IF statement?Which of the following is correct syntax of IF statement?
The answer is:
D. All of the above
|
|
IF-THEN syntax is used –IF-THEN syntax is used –
The answer is:
B. If the condition is TRUE, then you want statements to be executed
|
|
IF-THEN-ELSE syntax is used –IF-THEN-ELSE syntax is used –
The answer is:
A. Depending on whether the condition is TRUE or FALSE, you may want to execute one set of statements or another set.
|
|
IF-THEN-ELSIF syntax is used –IF-THEN-ELSIF syntax is used –
The answer is:
C. As long as condition1 is TRUE, then one set of statements will be executed, and when condition2 is TRUE, another set will be executed.
|
|
____ executes the corresponding code whenever a TRUE condition is found. Otherwise, the condition cannot be checked again____ executes the corresponding code whenever a TRUE condition is found. Otherwise, the condition cannot be checked again.
The answer is:
B. IF-THEN-ELSE statement
|
|
In the absence of a condition, the ELSE part of the ____ statement will be executedIn the absence of a condition, the ELSE part of the ____ statement will be executed.
The answer is:
A. IF-THEN-ELSE statement
|
|
Which portion is optional in IF statements?Which portion is optional in IF statements?
The answer is:
C. ELSE
|
MCQs
Views
Best Answers
Points