Now that we described the sub-components of our items, we would like to know how they connect to each other. Continuing with our previous examnple, let's say that we would like to know how our Car performs a right turn:
- Driver turns the Sterring Wheel to the right
- Steering Wheel turns the wheels to the right
- Driver pushed the Accelerator pedal
- Accelerator Pedal sends a signal to the Engine
- Engine rotates the wheels forward
Notice that we didn't use all the sub-components described in Part 1, which is ok. Also, notice that we found 2 other sub-components while describing the behaviour: Driver and Accelerator Pedal. That is common when describing a behaviour of a system: we often find gaps which are filled with newly discovered components. If you discover new components, remember to list them as part of your solution to Part 2.
Below is the list of behaviours you need to describe:
- Coffee Machine: Making a cappuccino
- Laptop: Displaying typed characters on the screen
- CodeYourFuture: Participating in a Sunday class