1 / 13

Vehicle Size:real Capacity:real Topspeed:int outputData () get size() g et capacity()

guy
Download Presentation

Vehicle Size:real Capacity:real Topspeed:int outputData () get size() g et capacity()

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Draw an inheritance class diagram which shows “Vehicle” class. This should have the attributes Size, Capacity, Topspeed and methods to retrieve these values and one outputData(). Show two subclasses, one “Car” and one “Ship”, select some appropriate additional attributes for these classes and any new methods needed. Mark clearly which methods are overriding in the subclasses. Vehicle Size:real Capacity:real Topspeed:int outputData() get size() get capacity() get topspeed() Ship shiptype:string outputData() get shiptype() Car make:string model:string outputData() get make() get mode() overriding overriding ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  2. Temporary teachers have all the attributes of teachers but, additionally, have an attribute lengthofcontract. Place the class ‘Tempoary Teacher’ on the class diagram in an appropriate position’. Temporary Teacher lengthofcontract:int get lengthofcontract() ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  3. What type of UML diagrams are these? What is the difference between them? Student1 studentid=123 studentname=“Chris” dateofbirth=“240795” :Student ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  4. Three entities are instantiated from the Car class: Car1, make=Seat, Model=Ibiza Car2, make=Fiat, Model=Punto Car3, make=Jaguar, Model=X-type Draw the object diagrams for these 3 entities. Car 1 make=Seat model=Ibiza Car 2 make=Fiat model=Punto Car 3 make=Jaguar model=X-type Vehicle Size:real Capacity:real Topspeed:int outputData() get size() get capacity() get topspeed() Ship shiptype:string outputData() get shiptype() Car make:string model:string outputData() get make() get mode() ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  5. 1) What type of UML diagram is this? 2) Explain what this diagram depicts. 3) Label up following components on the diagram: Receiving actor, Initiating actor, Use case Learns Teaches Receiving Actor student Use Case Initiating Actor teacher ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  6. Draw a Use Case diagram which shows the process of a “Booking being taken” at travel agents, the actors are the customer and travel agent. Label up the diagram correctly. Booking Receiving Actor Travel agent Use Case Initiating Actor customer ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  7. 1) What type of UML diagram is this? 2) Explain what this diagram depicts. 3) Explain what each box is and what is special about the labelling of the arrows. ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  8. At the entrance to a car park, a car driver has to stop at the barrier and press a button on the ticket machine. The machine issues a ticket to the driver, then raises the barrier to allow the car to enter. This is shown on the Communication Diagram below. The diagram is incomplete, add arrows and labels to so that it shows the process described (Do not add extra features which are not in the description). ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  9. 1) What type of UML diagram is this? 2) Explain what this diagram depicts. 3) Where is the entry point to the system? 4) What do the arrows represent? 5) What do the rounded rectangles represent? 6) What are the 3 states in this diagram? 7) Name the “trigger events” that change the state of this diagram? 8) Where is the exit point(s) to the system? ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  10. 1) What type of UML diagram is this? 2) Explain what this diagram depicts. 3) Label up following components on the diagram: Lifeline, Method Activation, Object ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  11. A shop has a lift which may be used by customers and staff. The sequence diagram below shows what happens when a person presses the button to call the lift when the lift is already at the correct floor. Explain the meaning of the vertical dotted lines in the diagram. From the diagram, give one example of each of the following: An Object, A Message, A Signal ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  12. 1) What type of UML diagram is this? 2) Explain what this diagram depicts. 3) There are 6 different types of symbol on this diagram, label them all up correctly. Starting point Activity Decision Input & Output activity Covers more than one activity that is done at a time End point ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

  13. 1) What is the difference between these two types of Activity Diagrams? ALLstudents MUSTbe able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOSTstudents WILLbe able to Explain (C)the basic key features of each of the 7 most common UML diagrams when presented with drawn examples. SOMEstudents WILLbe able to Analyse (B) and Link (A) their knowledge of the 7 UML diagrams in order to interrupt them fully and create basic class, object, use case & communication diagrams from simple scenarios.

More Related