Pre-lab 5 questions
Name:
Cnet ID:
Lab start time:
Note: There may be more than one answer. Make sure you leave
all that apply
1. The convention for naming the values for enumerated types is:
(delete the incorrect ones)
a) All lowercase letters
b) First letter capitalized with rest lowercase
c) All capitalized
2. The convention for naming the type for enumerated types is:
(delete the incorrect ones)
a) All lowercase letters
b) First letter capitalized with rest lowercase
c) All capitalized
3. What is true about enumerated type values?
(delete the incorrect ones)
a) They may be compared just like integer values
b) You can force a particular value when you define the enumerated type
c) Unless otherwise specified, names defined consecutively have consecutive integer values
d) Unless otherwise specified, the first item will be value 1.