30 likes | 34 Views
<br>Visit Below Link, To Download This Course:<br><br>https://www.tutorialsservice.net/product/cis-247-devry-week-5-quiz-latest/<br><br>Or <br>Email us on<br>SUPPORT@TUTORIALSSERVICE.NET<br><br>CIS 247 DeVry Week 5 Quiz Latest<br>CIS247<br>CIS 247 DeVry Week 5 Quiz Latest<br>1. Question : (TCO 3) Which of the following is/are the mechanism(s) for code reuse?<br>• Inheritance<br>• Composition<br>• Inheritance and composition<br>• None of the above<br>
E N D
CIS 247 DEVRY WEEK 5 QUIZ LATEST Visit Below Link, To Download This Course: https://www.tutorialsservice.net/product/cis-247-devry-week-5-quiz-latest/ Or Email us on SUPPORT@TUTORIALSSERVICE.NET CIS 247 DeVry Week 5 Quiz Latest CIS247 CIS 247 DeVry Week 5 Quiz Latest 1. Question : (TCO 3) Which of the following is/are the mechanism(s) for code reuse? Inheritance Composition Inheritance and composition None of the above Question 2. Question : (TCO 4) Which of the following is true about inheritance? 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. Question 3. Question : (TCO 4) Select the parent class. Barking Dog Yodeling Dog Golden Retriever Dog Question 4. Question : (TCO 4) Which of the following is not a good example of a hierarchy that could be modeled by inheritance? Airplanes
Geometric shapes Animals Prime numbers Question 5. Question : (TCO 4) Which of the following examples represent(s) the “is-a” relationship in the parent/child format? dog/cat rectangle/circle checking account/saving account None of the above Question 6. Question : (TCO 3) What is/are the reason(s) to use inheritance? Labor division Introducing modularity into program Reusing design All of the above Question 7. Question : (TCO 3) If class B is inherited from class A, which of the following statements is true? Class A has access to the methods and fields of class B. Class A has access to the methods and fields of class B and class B’s subclasses. Class B does not have access to the methods and fields of class A. Class B has access to the methods and fields of class A. Question 8. Question : (TCO 4) Which accessibility modifier is most general? Private Default Public Protected Question 9. Question : (TCO 4) Which of the following refers to a class that inherits from a parent class? Child classes Derived classes Subclass classes All of the above Question 10. Question : (TCO 6) Which of the following are benefits of using inheritance? Smaller chance of errors Ease of use for users of class Time saving
All of the above