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
Escape sequences consists of ________ characters:
Choose an answer
two
three
four
five
Previous
Skip
Next
Question # 2
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
Question # 3
C language is:
Choose an answer
top sensitive
casesensitive
endsensitive
sectionsensitive
Previous
Skip
Next
Question # 4
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 5
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 # 6
Which facilitate other programmers to understand our code ?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 7
Multiple variables of same data type may also be declared in a:
Choose an answer
multiple
single statement
many
multiple variable
Previous
Skip
Next
Question # 8
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 9
How many types of comments in C language are ?
Choose an answer
1
2
3
6
Previous
Skip
Next
Question # 10
Which is a combination of backslash (\) and a code character to control printing of data on the screen ?
Choose an answer
escape sequence
format specified
character
printing
Previous
Skip
Next
Question # 11
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 12
Which operator checks whether right and left operands are equal or not ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 13
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Back