A
B
C
D
Share : | ||||||||
Directions to Solve In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences. A RQPS
B QPRS
C RSQP
D SPQR
Share : | ||||||||
A 4321
B 1234
C 3214
D 2134
Share : | ||||||||
A 1, 2
B 2, 4
C 1, 2, 3
D 3, 4, 5
Share : | ||||||||
A Only 1, 2
B Only 1, 2, 4
C Only 4, 5
D Only 1, 2, 3
E All of the above
Share : | ||||||||
A Compile error at label:.
B Prints 2 to 8
C Prints 1 to 9
D Prints 0 to 8
E Prints 2 to 9
Share : | ||||||||
A 20 16 12 84 0 -4 -8
B 16 12 8 4 0
C 16 8 0 -8
D 20 16 12 8 4 0 -4 -8 -12
E 20 16 12 8 4 0
Share : | ||||||||
A The switch statement can include any number of case instances with two case statements having the same value.
B A jump statement such as a break is required after each case block excluding the last block if it is a default statement.
C The if statement selects a statement for execution based on the value of a Boolean expression.
D C# always supports an implicit fall through from one case label to another.
E It is not possible to extend the if statement to handle multiple conditions using the else-if arrangement.
Share : | ||||||||
A 0
B blue
C 1
D red
E 2
Share : | ||||||||
A B int i = 0;
while (i <= 11)
{
Console.WriteLine(i);
i += 1;
} C D E Share : |
