Chapter 4


Chapter 3

1. 

List and describe the four project-approach strategy areas.

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

2. 

What is the purpose of the project-approach strategy?

 - to maintain a sense of forward momentum

3. 

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

 - plan, code, test, integrate

4. 

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

 - iteratively, in a tight spiral fashion

5. 

What is method stubbing?

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

6. 

What is the purpose of method stubbing?

image from book

7. 

When should you first compile and test your programming project?

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

8. 

What is a javadoc comment?

 - a comment contained between /** and */ that can include doctags and html formatting

9. 

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

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

10. 

What is the purpose of a state transition diagram?

image from book

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




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net