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
If statement is used within another if statement is called:
Choose an answer
nested if
simple if
many if
multiple if
Previous
Skip
Next
Question # 3
Which is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
Previous
Skip
Next
Question # 4
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 5
The process of feeding or storing the instruction in the computer is known as:
Choose an answer
computer program
software
hardware
computer programming
Previous
Skip
Next
Question # 6
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 7
Which of the following are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 8
A float uses __________ bytes of memory:
Choose an answer
4
3
5
6
Previous
Skip
Next
Question # 9
Multiple variables of same data type may also be declared in a:
Choose an answer
multiple
single statement
many
multiple variable
Previous
Skip
Next
Question # 10
Selection statements within selection statements are called:
Choose an answer
if else
condition
while
nested selection structures
Previous
Skip
Next
Question # 11
A function can have multiple parameters, bu tit cannot return more that ..... values.
Choose an answer
One
Two
Three
Four
Previous
Skip
Next
Back