Self-Review Exercises for Section 22.5

22.8 We typically identify the attributes of the classes in our system by analyzing the __________ in the requirements document.

a) nouns and noun phrases

b) descriptive words and phrases

c) verbs and verb phrases

d) All of the above.

22.9 Which of the following is not an attribute of an airplane?

a) length

b) wingspan

c) fly

d) number of seats

22.10 Describe the meaning of the following attribute declaration of class CashDispenser in the class diagram in Fig. 22.12:

count : Integer = 500

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.