Control Instructions

Q1: Which of the following statements is correct?

A It is not possible to extend the if statement to handle multiple conditions using the else-if arrangement.

B The switch statement can include any number of case instances with two case statements having the same value.

C A jump statement such as a break is required after each case block excluding the last block if it is a default statement.

D The if statement selects a statement for execution based on the value of a Boolean expression.

E C# always supports an implicit fall through from one case label to another.

ANS:D - The if statement selects a statement for execution based on the value of a Boolean expression.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.