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
_______ structure allows repetition of a set of instructions:
Choose an answer
loop
conditional
control
data
Previous
Skip
Next
Question # 2
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 # 3
Which makes it easier to read and write values in arrays.
Choose an answer
Loop
While loop
end
simple loop
Previous
Skip
Next
Question # 4
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 # 5
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 6
_________ part of for loop is executed first.
Choose an answer
Condition
Body
Initialization
Increments
Previous
Skip
Next
Question # 7
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 # 8
Array can be initialized _________ declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 9
To initialize the array in a single statement, initialize it.............. declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 10
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 11
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 # 12
__________ part of for loop is executed first:
Choose an answer
condition
body
intialization
increment/decrement
Previous
Skip
Next
Question # 13
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Back