Home > Articles > Programming

  • Print
  • + Share This
This chapter is from the book

Workshop

This workshop tests whether you understand all the concepts you learned in this hour. It is very helpful to know and understand the answers before starting the next hour's lesson.

Quiz

  1. How does developing with only a rough plan work?

    1. The customer manages progress and so improves the plan if necessary.

    2. The planning practice is supported by the use of small releases; the team can make adjustments as they go.

    3. This is poor practice and should be avoided by the use of the Planning Game.

    4. XP developers are generally more skilled than the average and so need less guidance.

  2. Which of the following are aspects of simple design as defined by XP?

    1. The system is easy to change.

    2. The system passes all the tests.

    3. Can be modeled simply using cards or whiteboard.

    4. The system contains no duplicate code.

  3. Why does refactoring need testing to support it?

    1. It doesn't, but can be improved by testing.

    2. Developers need a way of determining what impacts their changes have had on the system.

    3. Without testing developers have no way of knowing what needs to be refactored.

    4. Testing tools can also be used for refactoring.

  4. What are the three categories of XP?

    1. Planning, process, and people.

    2. Core, support, and optional.

    3. Programming, team, and process.

    4. Process, development, and testing.

  5. What is the idea behind using a metaphor to describe the system?

    1. It forms a bridge between customer and developer.

    2. It allows for greater flexibility.

    3. Better communication speeds development.

    4. Using tools such as Wiki Wiki are much easier to use with metaphors.

Answers

  1. a.

  2. b. and d.

  3. b.

  4. c.

  5. a.

Activities

  1. Visit the xUnit testing frameworks download page at http://www.xprogramming.com/software.htm. Find your relevant language tool (Java, C++, Visual Basic, .NET, and so on) and begin experimenting with the tool, today.

  2. Create the coding standard for your development shop. Use resources from Sun, Microsoft, Apple, or your language vendor.

  3. Investigate how you can implement an XP practice on your current project. If you're a developer, consider pair programming. Could you use it today? Research more on the costs and benefits before approaching your manager!

  • + Share This
  • 🔖 Save To Your Account