Please only comment if you actually know the answers. Thanks! ____ 1. This descr
ID: 3647814 • Letter: P
Question
Please only comment if you actually know the answers. Thanks!____ 1. This describes only the general characteristics of an object.
A. Initialization
B. abstraction
C. detailed specification
D. initiation
E. None of these
____ 2. Which of the following is an example of a C++ primitive
data type?
A. unsigned short int
B. long double
C. unsigned char
D. All of these
E. None of these
____ 3. This is required after the closing brace of the structure
declaration.
A. square bracket
B. period
C. semicolon
D. colon
E. None of these
____ 4. Look at the following statement.
bookList[2].publisher[3] = 't';
This statement...
A. is illegal in C++.
B. will change the publisher's name of the second book in bookList
to 't'.
C. will store the character 't' in the fourth element of the publisher
member of booklist[2].
D. will ultimately result in a runtime error.
E. None of these.
____ 5. When a structure is passed _________to a function, its members
are not copied.
A. by reference
B. by value
C. Neither of these
Explanation / Answer
C. detailed specification D. All of these C. semicolon B. will change the publisher's name of the second book in bookList to 't'. A. by reference