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 array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Question # 2
__________ specifies the type of variable, the range of values allowed by that variable and the kind of operations that can be performed on it:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 3
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions.
Choose an answer
If
condition
while
compound
Previous
Skip
Next
Question # 4
Using loops inside loops is called ________ loops:
Choose an answer
for
while
do-while
nested
Previous
Skip
Next
Question # 5
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 6
How many keyword (Reserve words) are ?
Choose an answer
28
29
32
31
Previous
Skip
Next
Question # 7
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 8
The statements which help us to decide whihc statements should be executed next, on the basis of conditions, are called.
Choose an answer
Error Control Statements
Selection statements
Sequential Control Statements
Repetition Control Statements
Previous
Skip
Next
Question # 9
Selection statements within selection statements are called:
Choose an answer
if else
condition
while
nested selection structures
Previous
Skip
Next
Question # 10
A set of multiple instructions enclosed in braces is called a block or:
Choose an answer
if
compound
while
if else
Previous
Skip
Next
Question # 11
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 12
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 13
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Back