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
10th Class Computer Science Unit 4 Control Structure English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
_________ part of for loop is executed first.
Choose an answer
Condition
Body
Initialization
Increments
Previous
Skip
Next
Question # 2
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 # 3
______ is the unique identifiere, used ot refer to the array.
Choose an answer
Data type
Array name
Array size
None
Previous
Skip
Next
Question # 4
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
Question # 5
If array first element has the index.
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 6
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 # 7
_______ make it easier to read and write values in array:
Choose an answer
loops
conditions
expressions
functions
Previous
Skip
Next
Question # 8
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 9
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 # 10
___________ make it easier to read and write values in array.
Choose an answer
Loop
Conditions
Expressions
Functions
Previous
Skip
Next
Question # 11
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Back