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
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 2
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 3
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 4
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 5
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 # 6
Which is used to display data in specific format ?
Choose an answer
read
data
specifiers
format specifiers
Previous
Skip
Next
Question # 7
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Question # 8
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 # 9
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 10
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 11
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 12
A __________ has a graphical user interface (GUI), meaning that a user can interact with it using windows and buttons to provide input and get output:
Choose an answer
IDE
programming
constant
EDA
Previous
Skip
Next
Question # 13
A tab stop is collection of _________ spaces:
Choose an answer
8
6
7
9
Previous
Skip
Next
Back