Multiple Choice
switch (phoneDigit)
{
case 1:
num = 1;
break;
case 2:
num = 2;
break;
case 3:
num = 3;
break;
case 4:
num = 4;
break;
default:
num = 0;
break;
}
-Looking at the example above,what happens if the break is omitted?
A) a syntax error is generated
B) num is always assigned 0
C) num is never assigned a value
D) num is assigned 1
Correct Answer:

Verified
Correct Answer:
Verified
Q3: if (value1 > value2) largestOne = value1;<br>Else<br>If
Q16: if (amount > 1000)<br>result = 1;<br>else<br>if (amount
Q16: C# does not allow a fall through
Q26: if (amount > 1000)<br>result = 1;<br>else<br>if (amount
Q49: String operands can be compared using the
Q50: Two equal symbol characters == are used
Q57: In C#, the && and || operators
Q63: The switch statement also goes by the
Q67: Iteration, also called selection is used for
Q69: Using a single equal symbol inside a