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
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 2
Which of the following is a decision making statement ?
Choose an answer
if
getch()
getche()
break
Previous
Skip
Next
Question # 3
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 4
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 5
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 # 6
Which statement is used to execute one set of instructions if a particular condition is true and another set of instructions if the condition is false ?
Choose an answer
if
if else
else
loop
Previous
Skip
Next
Question # 7
Which of the following is a valid line of code ?
Choose an answer
int = 20;
grade = 'A';
line = this is a line,
none of these
Previous
Skip
Next
Question # 8
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise,
Choose an answer
if - else
condition
while
compound
Previous
Skip
Next
Question # 9
_______ structure allows repetition of a set of instructions:
Choose an answer
loop
conditional
control
data
Previous
Skip
Next
Question # 10
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 11
GUI stands for:
Choose an answer
graphical user interface
user interface
global user interface
grammar interface
Previous
Skip
Next
Question # 12
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Back