1 |
Using loops inside loops is called ................. loops |
- A. For
- B. While
- C. Nested
- D. Do- while
|
2 |
Which makes it easier to read and write values in arrays. |
- A. Loop
- B. While loop
- C. end
- D. simple loop
|
3 |
__________ part of for loop is executed first: |
- A. condition
- B. body
- C. intialization
- D. increment/decrement
|
4 |
Which is a countainer to store collection of data items in a specific layout. |
- A. Data structure
- B. Simple Strucutre
- C. Normal Structure
- D. Complex structure
|
5 |
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
|
6 |
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
|
7 |
Array elements are strored at ................. memory locations. |
- A. Contiguous
- B. Scattered
- C. Divided
- D. None
|
8 |
To initialize the array in a single statement, initialize it ___________ declaration: |
- A. at the time of
- B. after
- C. before
- D. both a & b
|
9 |
How many types of loop are in C language. |
|
10 |
_______ structure allows repetition of a set of instructions: |
- A. loop
- B. conditional
- C. control
- D. data
|