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
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Question # 2
The person who knows how to write a computer program correctly is known as:
Choose an answer
programmer
firmware
engineer
composer
Previous
Skip
Next
Question # 3
Whihc of the following is a decision statement is called.
Choose an answer
Nested if
Simple if
Many if
Multiple if
Previous
Skip
Next
Question # 4
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 # 5
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a:
Choose an answer
()
*
:
{ }
Previous
Skip
Next
Question # 6
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 7
If the value is not proceeded by a sign, it is considered:
Choose an answer
negative
positive
module
single constants
Previous
Skip
Next
Question # 8
Input of a function are called __________ of the function.
Choose an answer
Function
Program
Reader
Parameters
Previous
Skip
Next
Question # 9
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 10
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 11
Which of the following is a valid line of code ?
Choose an answer
int = 20;
grade = 'A';
line = this is a line,
none of these
Previous
Skip
Next
Question # 12
To initialize the array in a single statement, initialize it.............. declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 13
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Back