More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science 10th Class English Medium Chapter 4 Online Test MCQs With Answers
Question # 1
If array first element has the index.
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 2
array can be initialized _______ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 3
If the size of an array is 100, the range of indexes will be ............
Choose an answer
0 - 99
0 - 100
1 - 100
2 - 102
Previous
Skip
Next
Question # 4
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 5
An array is a ______________ structure.
Choose an answer
Loop
Control
Data
Conditional
Previous
Skip
Next
Question # 6
Each elemet of an array has an _____ that can be used with the array name as array __ name.
Choose an answer
Index
array
for loop
simple variable
Previous
Skip
Next
Question # 7
Array elements are strored at ................. memory locations.
Choose an answer
Contiguous
Scattered
Divided
None
Previous
Skip
Next
Question # 8
______ is the unique identifiere, used ot refer to the array.
Choose an answer
Data type
Array name
Array size
None
Previous
Skip
Next
Question # 9
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 10
Which makes it easier to read and write values in arrays.
Choose an answer
Loop
While loop
end
simple loop
Previous
Skip
Next
Question # 11
_________ structure allows repetition of a set of instructions.
Choose an answer
Loop
Conditional
Control
Data
Previous
Skip
Next
Question # 12
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Back