Chapter 11 Test 1

Chapter 11 Test 1 - Chapter 11 Test 1 Thursday, February...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. A(n) _________ is a definition that includes 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. A ________ is required after the closing brace of the structure declaration. A. square bracket B. period C. semicolon D. colon Chapter 11 Test 1 Thursday, February 24, 2011 5:15 AM General Page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
E. None of these 4. True/False: A struct can contain members with varying data types. A. True B. False 5. True/False: Any mathematical operations that can be performed on regular C++ variables can be performed on structure members. A. True B. False 6. The statement BookList[2].Publisher[3] = 't'; 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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Chapter 11 Test 1 - Chapter 11 Test 1 Thursday, February...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online