Devry CIS 247 Week 5 Quiz Latest

$12

Quantity:

Description

Devry CIS 247 Week 5 Quiz Latest

  1. 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

 

DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 247 Week 5 Quiz Latest, then contact us through call or live chat.

Devry CIS 247 Week 5 Quiz Latest

Best Devry CIS 247 Week 5 Quiz Latest

Devry CIS 247 Week 5 Quiz Latest