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 main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 2
Which is software that is responsible for conversion of a computer program written in some programming language to machine language code ?
Choose an answer
header
compiler
progammer
text editor
Previous
Skip
Next
Question # 3
Which can be thought of as grammar of a programming language ?
Choose an answer
syntax
rules
english
programming
Previous
Skip
Next
Question # 4
In whihc statement we -specify a condition, and assoclate a code to it.
Choose an answer
go to
selection
If
loop
Previous
Skip
Next
Question # 5
Software that facilitates programmers in writing computer programs is known as ___________:
Choose an answer
a complier
an editor
an IDE
a debugger
Previous
Skip
Next
Question # 6
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 7
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 8
Choose an answer
a++;
a--;
both (a) and (b)
none
Previous
Skip
Next
Question # 9
What is the name given to a memory location as the data is physically stored inside the computer's memory ?
Choose an answer
constant
realconstants
characterconstants
variable
Previous
Skip
Next
Question # 10
An if statement inside another if statement is called _______ structure:
Choose an answer
nested
boxed
repeated
decomposed
Previous
Skip
Next
Question # 11
Which language was developed by Dennis Ritchie ?
Choose an answer
Java
C
Python
COBOL
Previous
Skip
Next
Question # 12
Header files have extension:
Choose an answer
.c
.h
.doc
.ppt
Previous
Skip
Next
Question # 13
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Back