Classical Software Engineering

Computing

Quiz 17 :

More on UML

Quiz 17 :

More on UML

Question Type
search
arrow
Use UML to model the following: Turn on the oven. Mix the ingredients for a chocolate cake. Mix the ingredients for an apple pie. Place the (raw) cake and pie in the oven. Remove the chocolate cake when it is done. Remove the apple pie when it is done. Turn off the oven.
Free
Essay
Answer:

Answer:

Activity diagram represents how all the events are coordinated. It is used when various activities are occurred parallel.
• The oven is turned on. Ingredients are mixed of chocolate cake on one side and ingredients of apple pie are mixed on the other side. The two parallel activities are completed and join in the oven and baked.
• The fork in the activity diagram has one incoming transition and many parallel transitions in outgoing. The join has many incoming transition and one outgoing transition.
The UML activity diagram to turn on the oven, mixing the ingredients of chocolate cake and apple pie, placing cake and pie in oven and removing when done is as follows:
img img

Tags
Choose question tag
close menu
arrow
Use UML to model airports. (Hint: Do not show any more details than are strictly needed to answer the question.)
Free
Essay
Answer:

Answer:

The full form of UML is Unified Modelling language. UML is a language which models software using UML use cases, class diagrams, use case diagrams, interaction diagrams, activity diagrams etc. UML is a language using which developers specify and analysis a software system. It a simple tool for expressing the software product.
The figure 1 below shows the simplest class diagram of Airport class. Figure 2 represents the details of Airport class in which the upper part of the Airport class represents the instance and the lower part represents the methods.
img

Tags
Choose question tag
close menu
arrow
Is UML a methodology? Carefully explain your answer.
Free
Essay
Answer:

Answer:

The full form of UML is Unified Modelling language. It is used to explain the software development process using object oriented analysis and unified process.
• UML is a language which models software using UML use cases, class diagrams, use case diagrams, interaction diagrams, activity diagrams etc.
• UML is a language using which developers specify and analysis a software system.
• UML is not a method that tells how to develop a software product instead UML provides notations which helps in how a software product can be analysed and structured so that the development of software product can be done.
• UML is a language which can be described as a simple tool for expressing the ideas (software product).
Thus, UML is not a methodology. It is a notation that can be used in conjunction with any method.

Tags
Choose question tag
close menu
arrow
Model chocolate cakes and apple pies using one package.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Use UML to model dining rooms. Every dining room has to have a table, four or more chairs, and a sideboard. Optionally, it may also have a fireplace.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Use UML to model chocolate cakes. A chocolate cake is made with eggs, flour, sugar, baking powder, milk, and cocoa. A chocolate cake is mixed, baked, frosted, and then eaten. To prevent unauthorized individuals from baking a chocolate cake, the ingredients are private, as are all but the last operation.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Modify your model of Problem 17.6 to reflect that the chocolate cake is prepared by the chocolate cake baker, the apple pie by the apple pie baker, and that the oven is switched on and off by the chief baker.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Use UML to model John Cage's somewhat controversial 1952 piano composition entitled 4? 33?. The piece consists of three silent movements, of length 30 seconds, 2 minutes 23 seconds, and 1 minute 40 seconds, respectively. (The title of the piece comes from its total length.) The pianist walks onto the stage holding a stopwatch and the score (in conventional music notation but with blank measures). The pianist sits down on the piano stool, puts the score and the stopwatch on the piano, opens the score, starts the stopwatch, and then signals the start of the first movement by lowering the lid of the piano. At the end of the first movement (that is, after 30 seconds of silence during which the pianist carefully follows the blank score, turning the page when necessary), the lid of the piano is raised to signal the end of the first movement. These actions are repeated for the second movement (2 minutes 23 seconds) and the third movement (1 minute 40 seconds). The pianist then closes the score, picks up the score and the stopwatch, gets up, and leaves the stage.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Model the dining rooms of Problem 17.9 using a combination of aggregation and composition.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Add a note to your diagram of Problem 17.3 pointing out that the cake you modeled is a chocolate cake.
Essay
Answer:
Tags
Choose question tag
close menu
arrow
How does your UML model of Problem 17.5 cope with the fact that we do not know, from the information given, which of the two items is removed from the oven first?
Essay
Answer:
Tags
Choose question tag
close menu
arrow
Modify your UML model of Problem 17.9 to reflect that a dining room is a specific type of room.
Essay
Answer:
Tags
Choose question tag
close menu