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
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 2
Which of the following is the default control structure in C language ?
Choose an answer
Previous
Skip
Next
Question # 3
Which format specifier is used for integer data type ?
Choose an answer
%d
%i
both a and b
none of these
Previous
Skip
Next
Question # 4
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 5
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
Previous
Skip
Next
Question # 6
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 # 7
A float uses __________ bytes of memory:
Choose an answer
4
3
5
6
Previous
Skip
Next
Question # 8
Which of the following is not a type of control statements in C language.
Choose an answer
Sequential Control Statements
Selection control statements
Repetitio contorl statements
Error Control Statements
Previous
Skip
Next
Question # 9
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 # 10
array can be initialized _______ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 11
Let the following part of code, what will be the value of variable an after execution:
int a = 4;
float b= 2.2;
a = a * b;
Choose an answer
8.8
8
8.2
8.0
Previous
Skip
Next
Question # 12
Which operator performs division of left operand by the right operand and returns the remainder value after division ?
Choose an answer
+
%
*
.
Previous
Skip
Next
Back