Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)

5.5. Quiz

Question 51 .

What statements are generally used for conditional branching?

Question 52 .

True or false: an if statement's condition must evaluate to an expression.

Question 53 .

Why should you use braces when there is only one statement following the if ?

Question 54 .

What kind of expression can be placed in a switch statement?

Question 55 .

True or false: you can never fall through in a switch statement.

Question 56 .

Name two uses of goto .

Question 57 .

What is the difference between while and do...while ?

Question 58 .

What does the keyword continue do?

Question 59 .

What are two ways to create a loop that never ends until you hit a break statement?

Категории