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
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 2
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
Question # 3
Which provides us the basic platform to write and execute programs ?
Choose an answer
tools
programming environemtn
designer
programming languages
Previous
Skip
Next
Question # 4
Which data type is used to store a real number ?
Choose an answer
float
negative integer
unsigned
original integer
Previous
Skip
Next
Question # 5
Which of the following is the condition to check a is a factor of c ?
Choose an answer
a % c == 0
c % a == 0
a*c == 0
a+c == 0
Previous
Skip
Next
Question # 6
Output of compiler is called:
Choose an answer
sourcecode
objectcode
binarycode
both b and c
Previous
Skip
Next
Question # 7
Which operator is used to subtract the value on right side from the value on left side ?
Choose an answer
+
-
*
%
Previous
Skip
Next
Question # 8
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 9
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 10
An array is a ______________ structure.
Choose an answer
Loop
Control
Data
Conditional
Previous
Skip
Next
Question # 11
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 12
GUI stands for:
Choose an answer
graphical user interface
user interface
global user interface
grammar interface
Previous
Skip
Next
Question # 13
Header file is started from _______ symbol:
Choose an answer
#
$
&
=
Previous
Skip
Next
Question # 14
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Question # 15
Which operators are applied over one operand only ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 16
Which of the following is not a type of control statements in C language ?
Choose an answer
Previous
Skip
Next
Question # 17
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 18
Statements that are ignored by the compiler and do not get executed:
Choose an answer
read only
comments
enclosed in braces
curly braces
Previous
Skip
Next
Question # 19
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 20
The __ of the function is the data type of the value returned by function.
Choose an answer
Return type
Input
Output
Value
Previous
Skip
Next
Back