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
_________ structure allows repetition of a set of instructions.
Choose an answer
Loop
Conditional
Control
Data
Previous
Skip
Next
Question # 2
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Question # 3
An important property of __________ is that it stores all the values at consecutive locations inside the computer memory.
Choose an answer
for loop
index
Loop
Array
Previous
Skip
Next
Question # 4
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 5
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Question # 6
Which is a countainer to store collection of data items in a specific layout.
Choose an answer
Data structure
Simple Strucutre
Normal Structure
Complex structure
Previous
Skip
Next
Question # 7
Each run of a loop is called an
Choose an answer
Condition
Iteration
Standard
Index
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
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
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 # 11
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 # 12
If array first element has the index.
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 13
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
Back