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
An______ is a data structure that can hold multiple values of same data type.
Choose an answer
Loop
Array
For loop
Index
Previous
Skip
Next
Question # 2
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 3
If the definition of called function appears after teh definition of calling function, then..... is required.
Choose an answer
Function signature
Call
Read
Function
Previous
Skip
Next
Question # 4
_________ structure allows repetition of a set of instructions.
Choose an answer
Loop
Conditional
Control
Data
Previous
Skip
Next
Question # 5
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
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
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Question # 8
Which function is to desplay anything on computer screen.
Choose an answer
output
Input
Scanf
Print f
Previous
Skip
Next
Question # 9
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Question # 10
How many types of logical operators ?
Choose an answer
3
1
4
2
Previous
Skip
Next
Question # 11
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 12
Which symbol is used to represent the OR operator ?
Choose an answer
Previous
Skip
Next
Question # 13
Which keyword is used to declare the floating type variable ?
Choose an answer
int
float
positive
char
Previous
Skip
Next
Back