12th Class Computer Science MCQS
break keyword is used in
None of the above
If-use
If statement
Else-if
From the followings which is different
Switch
If
Else-if
Function
Which of the following is equivalent to (p>=q)?
p<q
!(p<q)
1p<q
p<q
____________ is used to specify two different choices with “if” statement.
Switch
Else
If-else
If
Which of the following is used for making two way decision:
Switch
if-else
If
Nested if
Which of the following is NOT part of an if statement?
A condition that evaluates as true or false
A condition that evaluates as a Boolean
All of are part of an IF statement
A true block
Conditional operator takes _____________ operands.
2
1
5
3
Leave a Reply