Selection Statements Flashcards

1
Q

provides the means of choosing between two (2) or more execution paths in a program

A

selection statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two (2) categories of selection statements:

A

two-way and n-way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

allows the selection of one of any number of statements or statement groups

A

multiple selection statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The … clause is for unrepresented values; if there is no default, the whole statement does nothing

A

default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

transfers control out of the switch construct

A

break

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

which can transfer control to one of the selectable segments

A

goto

How well did you know this?
1
Not at all
2
3
4
5
Perfectly