MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
What is output for the following code?
1.
What is output for the following code?
A.
Null
B.
a is less than 20
C.
Error
D.
Exception
Answer» C. Error
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The searchedCASEstatement has no selector and theWHENclauses of the statement contain search conditions that give Boolean values.
In which Oracle does the PL/SQL Continue Statement is supported?
What are the selectors in case of CASE statement?
DECLARE grade char(1) := 'A'; BEGIN CASE grade when 'A' then dbms_output.put_line('Excellent'); when 'B' then dbms_output.put_line('Very good'); when 'C' then dbms_output.put_line('Well done'); when 'D' then dbms_output.put_line('You passed'); when 'F' then dbms_output.put_line('Better try again'); else dbms_output.put_line('No such grade'); END CASE; END; 7.CASE statement uses which keyword to work like IF statement?
The CASE statement selects one sequence of statements to execute.
BEGIN a := 100; IF( a < 20 ) THEN dbms_output.put_line('a is less than 20 ' ); ELSE dbms_output.put_line('a is not less than 20 ' ); END IF; END; 4.Which of the following is true?
BEGIN a:= 10; IF( a < 20 ) THEN dbms_output.put_line('a is less than 20 ' ); END IF; dbms_output.put_line('value of a is : ' || a); END;3.What is output for the following code?
What is output for the following code?
The __________ associates a condition with a sequence of statements enclosed by the keywords THEN and END IF.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies