Download 10 MCQ Which of the Following is Are the Mechanism for Code Reuse

Published on June 2016 | Categories: Documents | Downloads: 238 | Comments: 0 | Views: 416
of 2
Download PDF   Embed   Report

Download: http://solutionzip.com/downloads/10-mcq-which-of-the-following-isare-the-mechanisms-for-code-reuse/1. (TCO 3) Which of the following is/are the mechanism(s) for code reuse? (Points : 2)InheritanceCompositionInheritance and compositionNone of the above2. (TCO 4) Which of the following is true about inheritance? (Points : 2)Child classes are more generalized than their associated parent classes.Inheritance demonstrates the generalization/specialization relationship.Parent classes are more specialized than their associated child classes.Parent classes contains more functionality than child classes.3. (TCO 4) Select the parent class. (Points : 2)AutomobileConvertibleMiniVanSedan4. (TCO 4) Which of the following is not a good example of a hierarchy that could be modeled by inheritance? (Points : 2)AirplanesGeometric shapesPrime numbersEmployee5. (TCO 4) Which of the following examples represent(s) the “is-a” relationship in the parent/child format? (Points : 2)dog/catrectangle/circlechecking account/saving accountNone of the above6. (TCO 3) What is/are the reason(s) to use inheritance? (Points : 2)Labor divisionIntroducing modularity into programReusing designAll of the above7. (TCO 3) Inheritance always involves a _____ relationship. (Points : 2)general to generalspecific to specificspecific to generalgeneral to specific8. (TCO 4) The _____ accessibility establishes that an attribute can only be accessed from methods of the class itself. (Points : 2)privateprotectedpublicsecured9. (TCO 4) Inheritance is only possible in _____ languages. (Points : 2)proceduralobject-orientedGUI basednon-structured10. (TCO 6) _____ is the ability to combine data and operations on that data into a single unit. (Points : 2)InheritanceEncapsulationPolymorphismCompositionDownload: http://solutionzip.com/downloads/10-mcq-which-of-the-following-isare-the-mechanisms-for-code-reuse/

Comments

Content

Download: http://solutionzip.com/downloads/10-mcq-which-of-the-following-isare-themechanisms-for-code-reuse/
1. (TCO 3) Which of the following is/are the mechanism(s) for code reuse? (Points : 2) Inheritance Composition Inheritance and composition None of the above 2. (TCO 4) Which of the following is true about inheritance? (Points : 2) Child classes are more generalized than their associated parent classes. Inheritance demonstrates the generalization/specialization relationship. Parent classes are more specialized than their associated child classes. Parent classes contains more functionality than child classes. 3. (TCO 4) Select the parent class. (Points : 2) Automobile Convertible MiniVan Sedan 4. (TCO 4) Which of the following is not a good example of a hierarchy that could be modeled by inheritance? (Points : 2) Airplanes Geometric shapes

Prime numbers Employee 5. (TCO 4) Which of the following examples represent(s) the “is -a” relationship in the parent/child format? (Points : 2) dog/cat rectangle/circle checking account/saving account None of the above 6. (TCO 3) What is/are the reason(s) to use inheritance? (Points : 2) Labor division Introducing modularity into program Reusing design All of the above 7. (TCO 3) Inheritance always involves a _____ relationship. (Points : 2) general to general specific to specific specific to general general to specific 8. (TCO 4) The _____ accessibility establishes that an attribute can only be accessed from methods of the class itself. (Points : 2) private protected public secured 9. (TCO 4) Inheritance is only possible in _____ languages. (Points : 2) procedural object-oriented GUI based non-structured 10. (TCO 6) _____ is the ability to combine data and operations on that data into a single unit. (Points : 2) Inheritance Encapsulation Polymorphism Composition

Download: http://solutionzip.com/downloads/10-mcq-which-of-the-following-isare-themechanisms-for-code-reuse/

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close