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 English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Question # 2
Selection statements within selection statements are called:
Choose an answer
if else
condition
while
nested selection structures
Previous
Skip
Next
Question # 3
How many types of control statements
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 4
In which control all the statments are executed in the given dequence.
Choose an answer
Error Control Statements
Selection ctonrol statemetns
Repetition cotrol statements
Sequential Control Statements
Previous
Skip
Next
Question # 5
Software that facilitates programmers in writing computer programs is known as ___________:
Choose an answer
a complier
an editor
an IDE
a debugger
Previous
Skip
Next
Question # 6
Which of the following are advantages of using functions.
Choose an answer
Reusability of code
Separation of tasks
Readability of code
All of these
Previous
Skip
Next
Question # 7
Which of the following is not a type of control statements in C language ?
Choose an answer
Previous
Skip
Next
Question # 8
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Question # 9
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 10
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 # 11
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 # 12
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
Back