1 |
Array elements are stored at _________ memory locations: |
- A. contiguous
- B. scattered
- C. divided
- D. none
|
2 |
Array can be initialized _________ declaration. |
- A. At the time of
- B. After
- C. Before
- D. Both a and b
|
3 |
An important property of __________ is that it stores all the values at consecutive locations inside the computer memory. |
- A. Loop
- B. Array
- C. for loop
- D. index
|
4 |
_________ part of for loop is executed first. |
- A. Condition
- B. Body
- C. Initialization
- D. Increments
|
5 |
If array first element has the index. |
|
6 |
To initialize the array in a single statement, initialize it.............. declaration. |
- A. At the time of
- B. After
- C. Before
- D. Both a and b
|
7 |
Which makes it easier to read and write values in arrays. |
- A. Loop
- B. While loop
- C. end
- D. simple loop
|
8 |
If the size of an array is 100, the range of indexes will be ............ |
- A. 0 - 99
- B. 0 - 100
- C. 1 - 100
- D. 2 - 102
|
9 |
_________ structure allows repetition of a set of instructions. |
- A. Loop
- B. Conditional
- C. Control
- D. Data
|
10 |
We use ............. loops to repeat a pattern multiple times. |
- A. Loop
- B. While loop
- C. Nested
- D. Simple loop
|