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
How many types of loop are in C language.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 3
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 4
__________ is the unique identifier, used to refer to the array:
Choose an answer
data type
array name
array size
none
Previous
Skip
Next
Question # 5
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 6
_______ make it easier to read and write values in array:
Choose an answer
loops
conditions
expressions
functions
Previous
Skip
Next
Question # 7
Array elements are strored at ................. memory locations.
Choose an answer
Contiguous
Scattered
Divided
None
Previous
Skip
Next
Question # 8
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 # 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
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
Back