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

Chapter 12 Support for Object-Oriented Programming of Concepts of Programming La

ID: 3706614 • Letter: C

Question

Chapter 12 Support for Object-Oriented Programming of Concepts of Programming Languages MCQ

30. What is NOT true about abstract classes and abstract methods?

A. Abstract classes cannot be instantiated as is

B. Abstract classes must define their declared methods

C. An abstract class must have at least one abstract method

D. Instantiated classes of abstract classes must define all abstract methods

E. Abstract classes must include at least one concrete method

31. What is a primary purpose for the use of nested classes?

A. Abstraction

B. Information hiding

C. Inheritance

D. Polymorphism

E. Subtyping

32. In C++, what operator is used to explicitly deallocate heap-dynamic objects?

A. deallocate

B. delete

C. new

D. remove

E. free

33. In the C++ definition of an inherited class, the name of the inherited class has the name of the base class attached with what symbol?

A. Ampersand

B. Colon

C. Comma

D. Semicolon

34. In C++, how many constructors are required to be defined explicitly in a class definition?

A. Zero

B. One

C. Three

D. Two

E. at least one

Explanation / Answer

30. Abstract classes must include at least one concrete method 31. A. Abstraction (Not sure) 32. B. delete 33. B. Colon 34. A. Zero

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote