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 language was developed by Dennis Ritchie ?
Choose an answer
Java
C
Python
COBOL
Previous
Skip
Next
Question # 3
___________ is a software that is responsible for the conversion of program files to machine understandable and executable code:
Choose an answer
compiler
editor
ide
debugger
Previous
Skip
Next
Question # 4
Which operator checks whether right and left operands are equal or not ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 5
Which of the following is not a valid variable name ?
Choose an answer
height
9A
f_name
average
Previous
Skip
Next
Question # 6
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 7
We can call a suer -defined function from another user defined function, same as we call other functions in ........... function.
Choose an answer
Main
Call
Define
Out
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
Which help us to understand our own code even after years of writing it?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 10
The process of feeding or storing the instruction in the computer is known as:
Choose an answer
computer program
software
hardware
computer programming
Previous
Skip
Next
Question # 11
Which is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
Previous
Skip
Next
Question # 12
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 13
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Back