MCQ King
Oracle – Procedures Functions and Parameters
1 / 25
1. What is the primary purpose of using procedures and functions in Oracle?
2 / 25
2. In Oracle PL/SQL, which modular code unit allows you to perform a specific task and does not return a value?
3 / 25
3. When calling a procedure in Oracle, which keyword is used to pass values to the procedure?
4 / 25
4. In Oracle PL/SQL, what is the primary purpose of the procedure header?
5 / 25
5. What statement is used to explicitly exit a procedure in Oracle PL/SQL?
6 / 25
6. In Oracle PL/SQL, which modular code unit is used when you want to return a single value?
7 / 25
7. What is the primary difference between procedures and functions in Oracle?
8 / 25
8. In Oracle PL/SQL, which statement is used to explicitly exit a function and return a value?
9 / 25
9. What is the purpose of the RETURN datatype in Oracle functions?
10 / 25
10. In Oracle PL/SQL, what is the primary purpose of the function header?
11 / 25
11. When calling a function in Oracle, which keyword is used to pass values into the function?
12 / 25
12. In Oracle PL/SQL, which keyword is used to declare parameters that are used to pass values into and out of a subprogram?
13 / 25
13. What is the primary purpose of the NOCOPY parameter mode qualifier in Oracle PL/SQL?
14 / 25
14. In Oracle PL/SQL, what are the primary parameter modes for formal parameters?
15 / 25
15. In Oracle PL/SQL, what is the primary advantage of local modularization?
16 / 25
16. In Oracle PL/SQL, what is the scope of local modules defined within a larger program unit?
17 / 25
17. What is the primary benefit of using nested subprograms in Oracle PL/SQL?
18 / 25
18. In Oracle PL/SQL, what does subprogram overloading allow you to do?
19 / 25
19. What is a restriction when overloading subprograms in Oracle PL/SQL?
20 / 25
20. In Oracle PL/SQL, which statement is used to make a forward declaration of a subprogram before its actual definition?
21 / 25
21. In Oracle PL/SQL, what is the primary advantage of using table functions?
22 / 25
22. What is a deterministic function in Oracle PL/SQL?
23 / 25
23. In Oracle PL/SQL, what is the primary purpose of implicit cursor results?
24 / 25
24. When should you use the RETURNING clause in Oracle DML statements?
25 / 25
25. What is the primary purpose of the SAVEPOINT statement in Oracle PL/SQL?
Your score is
Restart quiz