Student Center
|
Instructor Center
|
Information Center
|
Home
Intro to VB.NET
Projects
Comprehensive Projects
Choose a Chapter
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter Objectives
PowerPoint Presentations
Multiple Choice Quiz
True or False
Examples from the Text
Feedback
Help Center
Learning Programming Using Visual Basic.Net
Bill Burrows, University of Washington
Joe Lanford, University of Rochester
Specifying Alternative Courses of Action: Selection Statements
True or False
1
A Select Case statement differs from an If...Then...Else statement in the fact that its test condition may be any numeric or string value, whereas the If...Then...Else statement strictly requires a numeric condition.
A)
True.
B)
False.
2
The Exit Sub statement can be used prematurely end a subroutine, preventing any unnecessary processing from running.
A)
True.
B)
False.
3
If... statements can
not
be nested whatsoever due the complexity of this programming challenge.
A)
True.
B)
False.
4
If none of the conditions of a Select Case statement are met, then whatever code is specified in the Case Else section will run as a last resort.
A)
True.
B)
False.
5
Nested If statements can
not
be used to determine an outcome if the conditions used in the statement are not related to each other.
A)
True.
B)
False.
2003 McGraw-Hill Higher Education
Any use is subject to the
Terms of Use
and
Privacy Policy
.
McGraw-Hill Higher Education
is one of the many fine businesses of
The McGraw-Hill Companies
.