Lab 11: Prelab Questions

Print a copy of this page and referring to the lab exercise, answer each of the questions on your copy. (You must turn in your answers at the beginning of your laboratory session.)


1. The values of an enumeration are called __________.




2. Both the prefix and postfix versions of ++ add 1 to the operand to which they are applied. What is the difference between the two operations?




3. Under what circumstances is using an enumeration preferable to using a string?




4. In order to input an enumeration value, the input operation must convert a __________ to a __________.




5. In order to output an enumeration value, the output operation must convert a __________ to a __________.





Back to This Lab's Home Page

Forward to the Lab Exercise


Copyright 1998 by Joel C. Adams. All rights reserved.