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 are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 2
__________ part of for loop is executed first:
Choose an answer
condition
body
intialization
increment/decrement
Previous
Skip
Next
Question # 3
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 4
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 5
Which of the following is an example of IDE's for C language ?
Choose an answer
visual studio
Xcode
code::blocks
all of these
Previous
Skip
Next
Question # 6
A list of words that are predefined and must not be used by the programmer to name his own variables are known:
Choose an answer
auto words
reservedwords
restrictedwords
predefinedwords
Previous
Skip
Next
Question # 7
Which are used to include additional information about the program ?
Choose an answer
comments
read only
colon
underscore
Previous
Skip
Next
Question # 8
In If statement, what happens if condition is false ?
Choose an answer
program crashes
index out of bound error
further code executes
compiler asks to change condition
Previous
Skip
Next
Question # 9
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Question # 10
Choose an answer
a++;
a--;
both (a) and (b)
none
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
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Question # 13
Which of the following is escape sequence ?
Choose an answer
\n
\t
\a
all of these
Previous
Skip
Next
Back