Chapter 7 Test 2

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

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

View Full Document Right Arrow Icon
1. An array can store a group of values, but the values must be A. the same data type B. each of a different data type C. constants D. integers E. None of these 2. An array's size declarator must be a(n)______ with a value greater than ______. A. number, one B. number, zero C. constant integer expression, zero D. variable, -1 E. None of these 3. Subscript numbering in C++ A. can be set at runtime B. can begin with a programmer-defined value C. varies from program to program D. automatically begins with zero Chapter 7 Test 2 Thursday, February 24, 2011 5:13 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
None of these 4. True/False: If you attempt to store data past an array's boundaries, the compiler will issue an error. A. True B. False 5. Arrays may be ___________ at the time they are __________. A. resized, executed B. re-scoped, deleted C. initialized, declared D. pre-compiled, typecast E. None of these 6. True/False: An individual array element can be processed like any other type of C++ variable. 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.

This note was uploaded on 02/24/2011 for the course CS 245 taught by Professor Duke during the Fall '10 term at VCU.

Page1 / 6

Chapter 7 Test 2 - Chapter 7 Test 2 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