ITP 100 Chapter 10 Study Guide

25 July 2022
4.7 (114 reviews)
22 test answers

Unlock all answers in this set

Unlock answers (18)
question
Object-oriented programmers usually specify that their data fields will have private access
answer
True
question
Methods in object-oriented programs use sequence, selection, and looping structures and make use of arrays.
answer
True
question
____ are the characteristics that define an object as part of a class.
answer
Attributes
question
In older object-oriented programming languages, simple numbers and characters are said to be ____ data types.
answer
Primitive
question
A(n) ____ is a programmer-defined type, such as a class.
answer
abstract data type
question
A ____ is a set of program statements that tell you the characteristics of the class's objects and the methods that can be used by its objects.
answer
class definition
question
The purpose of ____ is to set the values of data fields within the class.
answer
set methods
question
In addition to their attributes, class objects have methods associated with them; every object that is an instance of a class possesses different methods.
answer
False
question
____ is a style of programming that focuses on an application's data and the methods you need to manipulate that data.
answer
Object-oriented programming
question
Object attributes are often called ____ to help distinguish them from other variables you might use.
answer
fields
question
In most programming languages, you use the word ____ when you want to declare a static class member.
answer
static
question
Within any object-oriented program, you continuously make requests to objects' methods, often including arguments as part of those requests.
answer
True
question
The accessor method is another name for the set method.
answer
False
question
In a class method, the ____ reference can be used only with identifiers that are field names.
answer
this
question
Object-oriented programmers sometimes say an object is one ____ of a class.
answer
instantiation
question
Declaring a class does not create actual objects.
answer
True
question
When you think in an object-oriented manner, every object is a member of a ____.
answer
class
question
The concept of a class is useful because of its ____.
answer
reusability
question
All methods require a this reference.
answer
False
question
The term ____ implies that the type's data can be accessed only through methods.
answer
abstract data type
question
Within any object-oriented program, you continuously make requests to objects' methods, often including arguments as part of those requests.
answer
True
question
The term ____ is applied to situations in which you define multiple methods with a single name.
answer
overloading