Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming

Self-Test Questions

1. 

List and describe the four project-approach strategy areas.

2. 

What is the purpose of the project-approach strategy?

3. 

List and describe the four phases of the development cycle demonstrated in this chapter.

4. 

How should the development cycle be applied to a programming project?

5. 

What is method stubbing?

6. 

What is the purpose of method stubbing?

7. 

When should you first compile and test your programming project?

8. 

What is a javadoc comment?

9. 

List at least three aspects of your project you should double-check before your turn it in to your instructor.

10. 

What is the purpose of a state transition diagram?

Answers

1. 

- application requirements, problem domain, language features, high-level design

2. 

- To maintain a sense of forward momentum

3. 

- plan, code, test, integrate

4. 

- Iteratively, in a tight spiral fashion

5. 

- A method that contains an empty body or a simple diagnostic message

6. 

- Method stubbing allows a programmer to give methods minimal functionality in order to test other parts of an application.

7. 

- As soon as and as frequently as possible; As soon as you create your first class.

8. 

- A comment contained between “/**” and “*/” that can include doctags and html formatting

9. 

- Formatting, comments, name on project, all required files are on disk

10. 

- To graphically illustrate the various values or states an object can assume during program execution

Категории