A(n) ________ is used to depict percentages or proportions and is restricted to only one series of data

Fill in the blank(s) with correct word

pie chart

Computer Science & Information Technology

You might also like to view...

When an image is compressed, the file size is smaller but the image dimensions stay the same

Indicate whether the statement is true or false

Computer Science & Information Technology

Describe where the observer pattern is used in the analysis model (participating classes, roles). Answer the same question for the source code (object model).

Observer pattern – Implementation We will show the Observer pattern implementation Exercise – Programming Assignment: Adapter pattern 1) Adapter pattern – Modeling A new instrument (AnalogSpeedometer) from a legacy system has to be integrated into Asteroids (see Figure 1). The existing class AnalogSpeedometer must not be changed. Therefore an Adapter pattern should be used. Integrate the AnalogSpeedometer into the existing model. Figure 1: Asteroids classes, AnalogSpeedometer Task 1) Mapping the analysis objects to code The analysis objects in Figure 1 are implemented in the source code. For every class in the analysis model specify its implementing class and its package in the source code (and therefore in the object model). Hint: There is not necessarily a one to one mapping. Task 2) Identification of the observer pattern Describe where the observer pattern is used in the analysis model (participating classes, roles). Answer the same question for the source code (object model). Task 3) Extension of the model Extend the analysis model by a new class Compass that shows the direction of the space shuttle. Task 4) Observer pattern – Implementation (programming assignment) Implement the Compass according to your analysis. Task 5) Bonus: Adapter pattern Assume there the following new requirement has been formulated for the Asteroids game:

Computer Science & Information Technology