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 symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 2
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 3
Input of a function are called __________ of the function.
Choose an answer
Function
Program
Reader
Parameters
Previous
Skip
Next
Question # 4
The conversion of program file into binary file is called:
Choose an answer
editing
compilation
linking
execution
Previous
Skip
Next
Question # 5
__________ is the unique identifier, used to refer to the array:
Choose an answer
data type
array name
array size
none
Previous
Skip
Next
Question # 6
A condition can be any ____________ expression:
Choose an answer
arithmetic
relational
logical
arithmetic, relational or logical
Previous
Skip
Next
Question # 7
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise:
Choose an answer
if else
condition
while
compound
Previous
Skip
Next
Question # 8
The set of statement whihc are excuted in the function to fulfill the specified task.
Choose an answer
Body of the function
Calling the function
Opening a function
Closing the function
Previous
Skip
Next
Question # 9
Single-line comments start with:
Choose an answer
//
==
??
&&
Previous
Skip
Next
Question # 10
If we want to assocate more than one statements to an if statement, then they need to be enclosed inside a.
Choose an answer
()
{ }
*
:
Previous
Skip
Next
Question # 11
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 # 12
Each variable has a unique name called:
Choose an answer
identifier
simple name
formula
constant
Previous
Skip
Next
Question # 13
Char cd () { return 'a} , in this function " char" is............
Choose an answer
Bodies
Return type
Array
Arguments
Previous
Skip
Next
Back