Class 10th Computer Chapter 4
Total Marks: 10
1. An array is a ______ structure. | ||||
Loop | Control | Data | Conditional | |
2. If the size of an array is 100, the range of indexes will be _______ . | ||||
0 - 99 | 0 - 100 | 1 - 100 | 2 - 2012 | |
3. A common problem that we face is how to ________ a set of instructions for multiple time without writing them again and again . | ||||
Write | Repeat | Execute | Read | |
4. If we need to store and process the marks of 100 students then we need to declare ___________ | ||||
None of these | Both A & B | 100 variables | 100 constants | |
5. An important property of array is that it ________ all the values at consecutive locations inside the computer memory. | ||||
Execute | Fetch | None of these | Stores | |
6. If we want to declare an array of type int that holds the daily wages of a laborer for seven days, then how we can declare it? | ||||
Intdaily_wage[7]; | Intdaily_wage(7); | Intdaily_wage[7] | Intdaily_wage[7];; | |
7. Parts of array declaration are. | ||||
Four | Three | Five | Six | |
8. If we do not initialize an array at the time of declaration , then we need to initialize the array elements ___________ . | ||||
Two by two | Three by three | One by one | Four by four | |
9. Index can be used with the array name as ______ to access the data stored at that particular index. | ||||
Array-name[index];,, | Array-name(index); | Array-name;,, | Array-name[index] | |
10. In C programming language , FOR loop has the following general syntax. | ||||
For initialization; condition; increment/decrement) {{code to repeat }} | For initialization; condition; increment/decrement) [code to repeat ] | For initialization; condition; increment/decrement) {code to repeat } | For initialization; condition; increment/decrement) )(code to repeat ) |