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 format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 2
Which header file includes file that contains information related to input and output functions ?
Choose an answer
math.h
stdio.h
string.h
c.h
Previous
Skip
Next
Question # 3
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 4
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise:
Choose an answer
if else
condition
while
compound
Previous
Skip
Next
Question # 5
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Question # 6
Set of instruction given to the computer to perform a specific task is known as:
Choose an answer
computer program
software
both a and b
none of these
Previous
Skip
Next
Question # 7
If the size of an array is 100, the range of indexes will be ............
Choose an answer
0 - 99
0 - 100
1 - 100
2 - 102
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
Which function is to desplay anything on computer screen.
Choose an answer
output
Input
Scanf
Print f
Previous
Skip
Next
Question # 10
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 11
Char cd () { return 'a} , in this function " char" is............
Choose an answer
Bodies
Return type
Array
Arguments
Previous
Skip
Next
Question # 12
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 # 13
The advantages of using functions are.
Choose an answer
Readability
Reusability
Easy debugging
All
Previous
Skip
Next
Back