318
12.To have a value entered on the screen and provide it as a value of type double,
with what classes do we collaborate?
13.What is the goal of the brainstorming phase of the CRC card design process?
14.If you are working by yourself, how long should you wait to begin filtering after
you’ve completed brainstorming a CRC card design?
15.Do we need to identify all of the classes for solving a problem in the
brainstorming stage? Explain.
16.Is there a CRC card for every class identified during brainstorming? Explain.
17.At what point do you add initial responsibilities to the CRC cards?
18.During a scenario walk-through, how do you indicate that a class is active?
19.When does a class become inactive in a scenario?
20.What happens when the need for a new class is identified in the middle of a
scenario?
21.Inheritance enables us to create what kinds of classes?
22.What special notation do you make on a CRC card when you recognize that a
new class is just a variation of an existing class that adds some new responsi-
bilities?
23.Give some examples of additional information that you might add to a CRC
card to enhance it.
24.How many levels of abstraction are present in a functional decomposition
before you reach the point at which you can begin coding?
25.Is it software piracy if you make a copy of a commercial application for your
own use without paying for it?
26.Give an example of data that is public and an example of data that is confiden-
tial.
27.Hacking into somebody else’s computer and using it to send e-mail is obviously
unethical. But what about using an employer’s computer for personal work?
Explain your answer.
28.What is a computer virus?
29.Why is it unethical to write an application for public use without using proper
software engineering methodology?
30.What is self-documenting code?
- a. What is a compilation unit?
b.Can one compilation unit include multiple publicclasses?
c. Where is each compilation unit stored?
d.How is the file containing a compilation unit named?
e.Can multiple publicclasses appear in the same package?