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
_________ part of for loop is executed first.
Choose an answer
Condition
Body
Initialization
Increments
Previous
Skip
Next
Question # 2
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 3
An______ is a data structure that can hold multiple values of same data type.
Choose an answer
Loop
Array
For loop
Index
Previous
Skip
Next
Question # 4
To initialize the array in a single statement, initialize it ___________ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 5
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 6
Which makes it easier to read and write values in arrays.
Choose an answer
Loop
While loop
end
simple loop
Previous
Skip
Next
Question # 7
array can be initialized _______ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 8
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 # 9
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Question # 10
An important property of __________ is that it stores all the values at consecutive locations inside the computer memory.
Choose an answer
Loop
Array
for loop
index
Previous
Skip
Next
Question # 11
If array first element has the index.
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 12
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Back