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 symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 2
________ are added in the source code to further explain the techniques and algorithms and by the programmer.
Choose an answer
messages
hints
comments
explanations
Previous
Skip
Next
Question # 3
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 4
_______ 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 # 5
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 6
Which operator checks whether right and left operands are equal or not ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 7
How many types of function.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 8
________ are the values that do not change during the whole execution of program:
Choose an answer
variables
constants
strings
comments
Previous
Skip
Next
Question # 9
The functions which are available in C standard Library are called.
Choose an answer
Built in function
Library functions
Standard functions
All of these
Previous
Skip
Next
Question # 10
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 11
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 12
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 # 13
If statement is used within another if statement is called:
Choose an answer
nested if
simple if
many if
multiple if
Previous
Skip
Next
Back