Match each term with the sentence for which it is the best completion.
_____1. class
_____2. overloading
_____3. structure type
_____4. accessor
_____5. constructor
_____6. default constructor
_____7. member
_____8. constant
A. A(n) _____ is a class member function that provides a mechanism for declaring and initializing class objects.
B. The C++ _____ definition facility allows programmers to create a new C++ type by combining a collection of data elements and operations defined on these data.
C. A member function that does not alter the values of any object data members is a(n) _____ function
D. If height is a private data member of class Tree, any _____ function of the class can reference height's value just by using the name height.
E. Using the same name for several different functions or operators in a single scope is called _____.
F. A(n) _____ is a public member function that allows "read-only" use of a private data member.
G. A(n) _____ takes no arguments.
H. A _____ is a data type for a record composed of multiple components.
1. B
2. E
3. F
4. A
5. G
6. D
7. C
8. H
You might also like to view...
Answer the following statements true (T) or false (F)
1. Vector assignment is well behaved. 2. If v is a vector and i is an int variable, then in the following the value of i can be any nonnegative int value: v[i] = i; 3. If we use an out of range index with a vector, there will be an error message from the compiler. 4. Using the resize member function alone, you can increase the capacity of an STL vector. 5. If vector v has fewer than 24 elements and you call v.resize(24) the newly allocated elements are not initialized.
The Photos app allows you to view photos and videos on your computer.
Answer the following statement true (T) or false (F)
Describe three control structure testing strategies.
What will be an ideal response?
A(n) ____________________ contains a computer chip that can verify and validate several pieces of information instead of just a PIN.
Fill in the blank(s) with the appropriate word(s).