Chapter 7 Test 1

Chapter 7 Test 1 - Chapter 7 Test 1 Thursday, February 24,...

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

View Full Document Right Arrow Icon
1. Unlike regular variables, ________ can hold multiple values. A. constants B. named constants C. arrays D. floating-point variables E. None of these 2. The individual values contained in array are known as __________. A. parts B. elements C. numbers D. constants E. None of these 3. True/False: The amount of memory used by an array depends upon the array's data type and the number of elements in the array. A. True B. False 4. To access an array element, use the array name and the element's Chapter 7 Test 1 Thursday, February 24, 2011 5:12 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
data type B. subscript C. name D. value E. None of these 5. True/False: The statement float money[25.00]; is a valid C++ array declaration. A. True B. False 6. Which of the following is a valid C++ array declaration? A. int array[0]; B. float $payments[10]; C. void numbers[5]; D. int array[10]; E. None of these 7. True/False: An array initialization list must be placed on one single line. A.
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 7 Test 1 - Chapter 7 Test 1 Thursday, February 24,...

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