Page 22 - CA_Blue( J )_Class10
P. 22

18.  Which of the following statements best describes the relationship between reusability and inheritance in OOP?
                    a.  Reusability is achieved through polymorphism
                    b.  Inheritance promotes code reuse by enabling the creation of subclasses
                    c.  Reusability is unrelated to the concept of inheritance
                    d.  Encapsulation facilitates code reuse in OOP
                 19.  Which part of java does the below picture represents?









                    a.  Inheritance                                 b.  Class and object
                    c.  Polymorphism                                d.  Abstraction
                 20.  The below picture resembles ………………… principle in OOPs.




















                    a.  Polymorphism                                b.  Inheritance
                    c.  Object                                      d.  Class

                Answers
                  1. d        2. b       3. a        4. c        5. b       6. a        7. d       8. b       9. a      10. c
                11. a      12. c     13. d     14. b     15. d     16. d     17. d     18. b     19. a     20. a

              B.  Fill in the blanks.
                  1.  The class that inherits the features of another class is called ………………… class.
                  2.  The word Polymorphism comes from two Greek words ………………… and ………………….
                  3.  …………………hides the internal details of how an object does something for security reasons.

                  4.  ………………… is the ability of an object to take on many forms.
                  5.  Procedures are also known as ………………….
                  6.  ………………… programming follows a bottom-up approach.
                  7.  The base class is also known as ………………….
                  8.  The objects that are created by a class are called ………………….
                  9.  The other name of subclass is ………………… class.
                 10.  The meaning of the first ‘O’ in OOP is ………………….


                Answers
                1. subclass      2. Poly, morphe      3. Encapsulation         4. Polymorphism       5. methods
                6. Object-oriented  7. Superclass      8. instances           9. child         10. object


                2020  Touchpad Computer Applications-X
   17   18   19   20   21   22   23   24   25   26   27