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
Computer Science 10th Class English Medium Online Test MCQs With Answers
Question # 1
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 # 2
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Question # 3
The process of running a program is called:
Choose an answer
debugging
compiling
execution
using
Previous
Skip
Next
Question # 4
A set of multiple instructions enclosed in braces is called a block or:
Choose an answer
if
compound
while
if else
Previous
Skip
Next
Question # 5
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 6
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 # 7
These are the values without a decimal point:
Choose an answer
integer constants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 8
If we need to repeat one or more statements, than we use.
Choose an answer
Index
array
Iteration
Loop
Previous
Skip
Next
Question # 9
How many keyword (Reserve words) are ?
Choose an answer
28
29
32
31
Previous
Skip
Next
Question # 10
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 11
Which data type is used to store a real number ?
Choose an answer
float
negative integer
unsigned
original integer
Previous
Skip
Next
Question # 12
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a:
Choose an answer
()
*
:
{ }
Previous
Skip
Next
Back