Oracle – Object-Oriented Aspects of PL/SQL MCQ

Oracle – Object-Oriented Aspects of PL/SQL

1 / 25

1. What is the primary purpose of Oracle’s object features in PL/SQL?

2 / 25

2. What is an Object Type in Oracle?

3 / 25

3. In Oracle, what is a subtype of an object type?

4 / 25

4. What are methods in Oracle object types primarily used for?

5 / 25

5. In Oracle Database 11g and later, how can you invoke supertype methods in a subtype?

6 / 25

6. How do you store and retrieve persistent objects in Oracle?

7 / 25

7. What is the purpose of an INSTEAD OF trigger in Oracle object views?

8 / 25

8. What is the primary difference between object views and object tables in Oracle?

9 / 25

9. What is used to maintain Oracle object types and object views in the data dictionary?

10 / 25

10. In Oracle, what do privileges control when working with object types and object views?

11 / 25

11. What is the primary benefit of using object types in PL/SQL?

12 / 25

12. In Oracle, what is the main role of a subtype in relation to a base type?

13 / 25

13. What is the keyword used to override a method from a supertype in a subtype in Oracle?

14 / 25

14. What does PL/SQL use to handle object-relational mapping in Oracle?

15 / 25

15. In Oracle Database 11g and later, what keyword is used to invoke a method from a supertype in a subtype?

16 / 25

16. In Oracle, what are object views primarily used for?

17 / 25

17. What is the primary purpose of INHERIT keyword in Oracle object types?

18 / 25

18. In Oracle, what is the main difference between a base type and a subtype?

19 / 25

19. What is the primary role of an INSTEAD OF trigger in Oracle object views?

20 / 25

20. In Oracle, how do you create a new subtype based on an existing object type?

21 / 25

21. What is the primary benefit of using object types in PL/SQL?

22 / 25

22. In Oracle, what do object views represent?

23 / 25

23. What is the primary role of an INSTEAD OF trigger in Oracle object views?

24 / 25

24. In Oracle, what is the primary benefit of using object views?

25 / 25

25. What is the primary role of the SUPER keyword in Oracle object types?

Your score is

0%