CPE 112 Fall 2001 Test 4 1. F 2. T 3. T 4. T 5. T 6. T 7. F 8. F 9. F 10. Do-While 11. Do-While 12. pretest 13. Demotion 14. struct 15. e 16. a 17. d 18. e 19. b 20. a 21. b 22. int char short long bool 23. ***_*** **____** *_______* __________ _____________ 24. struct name { string first; string last; }; struct address { string street; string city; string state; int zip; }; struct date { int month; int year; }; struct day_date { int month; int day; int year; }; struct subscription { name customer; address mail_address; date expiration; day_date renewal_notice; int notices; int years; bool mailing_list; }; 25. enum isavowel {y, n, s}; isavowel VowelCheck (char ch) { isavowel result; switch (tolower(ch)) { case 'a' : case 'e' : case 'i' : case 'o' : case 'u' : result = y; break; case 'y' : result = s; break; default : result = n; break; } return result; }