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
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
Previous
Skip
Next
Question # 2
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Question # 3
_________ 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 # 4
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 5
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 6
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 7
Which operator checks whether right and left operands are equal or not ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 8
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 9
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 10
A program written in high level language is called:
Choose an answer
source code
objectcode
normalcode
binarycode
Previous
Skip
Next
Question # 11
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Question # 12
Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
Choose an answer
Previous
Skip
Next
Question # 13
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Back