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
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 # 2
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 # 3
Array can be initialized _________ declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 4
_________ part of for loop is executed first.
Choose an answer
Condition
Body
Initialization
Increments
Previous
Skip
Next
Question # 5
_______ make it easier to read and write values in array:
Choose an answer
loops
conditions
expressions
functions
Previous
Skip
Next
Question # 6
If array first element has the index.
Choose an answer
0
1
2
3
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 and b
Previous
Skip
Next
Question # 8
___________ make it easier to read and write values in array.
Choose an answer
Loop
Conditions
Expressions
Functions
Previous
Skip
Next
Question # 9
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 10
array can be initialized _______ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 11
__________ is the unique identifier, used to refer to the array:
Choose an answer
data type
array name
array size
none
Previous
Skip
Next
Question # 12
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 13
Which of the following is not a type of loop.
Choose an answer
for loop
while loop
do while loop
none of these
Previous
Skip
Next
Back