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
The value passed to the function are called.
Choose an answer
Value
Input
Output
Arguments
Previous
Skip
Next
Question # 2
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 3
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 4
An _______ consists of tools that help a programmer throughout the phases or writing, executing an testing a computer program:
Choose an answer
DBA
IDE
EDP
editor
Previous
Skip
Next
Question # 5
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 6
Which section corresponds to the main function and the body of the main function ?
Choose an answer
header
main
body
full
Previous
Skip
Next
Question # 7
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 8
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 # 9
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Question # 10
Which are used to include additional information about the program ?
Choose an answer
comments
read only
colon
underscore
Previous
Skip
Next
Question # 11
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 12
How many characters can be stored in a char type variable ?
Choose an answer
1
3
4
2
Previous
Skip
Next
Question # 13
_______ make it easier to read and write values in array:
Choose an answer
loops
conditions
expressions
functions
Previous
Skip
Next
Back