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

Please only answer if you actually know the answers. Positive rating will only b

ID: 3647818 • Letter: P

Question

Please only answer if you actually know the answers. Positive rating will only be received if answers are correct. Thanks!

21. Objects are created from abstract data types that encapsulate
_______ and _______ together.

A. numbers, characters
B. data, functions
C. addresses, pointers
D. integers, floats
E. None of these

____ 22. In OOP terminology, an object's member variables are often
called its _________, and its member functions are sometimes
referred to as its behaviors, or ____________.

A. values, morals
B. data, activities
C. attributes, activities
D. attributes, methods
E. None of these

____ 23. A C++ class is similar to one of these.

A. inline function
B. header file
C. library function
D. structure
E. None of these

____ 24. Examples of access specifiers are the keywords:

A. near and far
B. opened and closed
C. private and public
D. table and row
E. None of these

____ 25. This is used to protect important data.

A. public access specifier
B. private access specifier
C. protect() member function
D. class protection operator, @
E. None of these

____ 26. Class declarations are usually stored here.

A. On separate disk volumes
B. In their own header files
C. In .cpp files, along with function definitions
D. Under pseudonyms
E. None of these

Explanation / Answer

21.B

22.D

23.D

24.C

25.C