Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please Answer 13. (TCO 7) Which of the following are effective tools for managin

ID: 3551167 • Letter: P

Question

Please Answer

13. (TCO 7) Which of the following are effective tools for managing software complexity? (Points: 4) O Dynamic and static binding O Inheritance and polymorphism O Encapsulation and instantiation O Simulation and debugging 14. (TCO 7) Which statement is true of a class object whose class is derived public from a base class? (Points 4) O The derived class object is also a base class object O The base class object is also a derived class object. The derived class object has no relation to an object of its base class It must have the same scope resolution of any and all the objects of its base class 15. MCO 7) f a class has a pure virtual function, then (Points 4) that class is an abstract class it is a derived class with multiple base classes O any class derived from it cannot redefine or override that function it automatically has a virtual destructor 16. TCO 7) Polymorphism means (Points 4) having the ability to use the same expression to denote different operations o having multiple objects of the same class that a derived class has more than one base class O creating new objects and classes from existing objects and classes 17. (TCO 8) hat is the general syntax of the namespace definition statement? (Points 4) O namespace namespace name members O using namespace namespace name O using namespace namespace name; O namespace std members

Explanation / Answer

13.(4)Simulation and debugging

14.(4)

15. Abstract Class.

Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods. Let's look at an example of an abstract class, and an abstract method.

In programming languages, polymorphism means that some code or operations or objects behave differently in different contexts.

For example, the + (plus) operator in C++: