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 Chapter 3 Online Test MCQs With Answers
Question # 1
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 # 2
A condition can be any ____________ expression:
Choose an answer
arithmetic
relational
logical
arithmetic, relational or logical
Previous
Skip
Next
Question # 3
Which of the following is the condition to check a is a factor of c ?
Choose an answer
a % c == 0
c % a == 0
a*c == 0
a+c == 0
Previous
Skip
Next
Question # 4
In whihc statement we -specify a condition, and assoclate a code to it.
Choose an answer
go to
selection
If
loop
Previous
Skip
Next
Question # 5
Conditional logic helps in, _________:
Choose an answer
decision
iterations
traversing
all
Previous
Skip
Next
Question # 6
How many types of selection structure ?
Choose an answer
1
3
2
4
Previous
Skip
Next
Question # 7
Which of the followingt is the default control structrue in C language.
Choose an answer
Sequenctial Control Statements
Selection Control statements
Repetition Control Statements
Error Control Statements
Previous
Skip
Next
Question # 8
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise,
Choose an answer
if - else
condition
while
compound
Previous
Skip
Next
Question # 9
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 # 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
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Question # 12
Selection statements within selection statements are called.
Choose an answer
if -else
condition
while
nested selection structures
Previous
Skip
Next
Question # 13
How many types of selection structure.
Choose an answer
1
2
3
4
Previous
Skip
Next
Back