MCQ King
Oracle – Functions Procedures Procedures and Cursors
1 / 27
1. What is the primary purpose of an Oracle stored function?
2 / 27
2. In Oracle, which keyword is used to declare a procedure?
3 / 27
3. What is the primary difference between a stored function and a stored procedure in Oracle?
4 / 27
4. Which of the following is true about cursors in Oracle?
5 / 27
5. What is the purpose of the “RETURN” statement in a stored function in Oracle?
6 / 27
6. Which of the following is an OUT parameter in Oracle procedures and functions?
7 / 27
7. In Oracle, what is the main purpose of a stored procedure?
8 / 27
8. What is the purpose of the “IS NULL” condition in Oracle procedures and functions?
9 / 27
9. Which Oracle statement is used to handle exceptions in a stored procedure or function?
10 / 27
10. What is the maximum number of parameters that can be passed to a procedure or function in Oracle?
11 / 27
11. Which statement is used to raise a user-defined exception in Oracle PL/SQL?
12 / 27
12. What is the purpose of the “EXCEPTION_INIT” pragma in Oracle procedures and functions?
13 / 27
13. In Oracle, what is the main purpose of a stored function?
14 / 27
14. What is an IN OUT parameter in Oracle procedures and functions?
15 / 27
15. Which of the following is a valid way to call a stored procedure in Oracle?
16 / 27
16. What is the purpose of the “EXCEPTION” section in Oracle procedures and functions?
17 / 27
17. What is the purpose of the “OUT” parameter in Oracle procedures and functions?
18 / 27
18. In Oracle, which keyword is used to declare a cursor in a stored procedure or function?
19 / 27
19. What is the purpose of the “IS NOT NULL” condition in Oracle procedures and functions?
20 / 27
20. What happens when an unhandled exception occurs in an Oracle procedure or function?
21 / 27
21. Which of the following is true about Oracle triggers?
22 / 27
22. What is the purpose of the “PRAGMA AUTONOMOUS_TRANSACTION” in Oracle procedures and functions?
23 / 27
23. In Oracle, what is the primary use of a stored function?
24 / 27
24. Which SQL statement is used to call a stored function in Oracle?
25 / 27
25. What is the purpose of the “AUTHID DEFINER” clause in Oracle procedures and functions?
26 / 27
26. Which statement is used to raise a predefined exception in Oracle?
27 / 27
27. What is the purpose of the “SAVEPOINT” statement in Oracle procedures and functions?
Your score is
Restart quiz