Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(1) Which of the following is an entity class? (a) OrderWindow (b) PlaceOrder (c

ID: 3831038 • Letter: #

Question

(1) Which of the following is an entity class?

(a) OrderWindow
(b) PlaceOrder
(c) OrderControl
(d) Customer

(2) Messages in sequence diagram become

(a) Methods in classes in the class diagram
(b) Use cases in use case diagram
(c) Actors in use case diagram
(d) Attributes in classes in the class diagram

(3) Which sequence is better?

(a) Actor-control-entity-boundary
(b) Actor-entity-control-boundary
(c) Actor-entity-boundary-control
(d) Actor-boundary-control-entity

(4) "Martin and you are working on a video rental system. Martin has identified Video, Customer, and Payment as classes. What type of classes are these?"

(a) Control as they coordinate activities across use cases
(b) Boundary as they are the point of contact for users to our system
(c) SuperClasses
(d) Entity as they model persistent data

(5) An external scanning system is to communicate with our video rental system to send us the bar code information from the videos that are scanned. Which of the following should this system use to communicate with our system?

(a) a control class
(b) a boundary class
(c) an entity class
(d) an interface

Explanation / Answer

1.(d)Customer

entity classes classes are your typical business entities

entity classes are combined key/value classes that are managed by entity bindings

2.(a)(a) Methods in classes in the class diagram

Objects calling methods on themselves use messages and add new activation boxes on top of any others to indicate a further level of processing.

3.(c) Actor-entity-boundary-control

4.(d) Entity as they model persistent data

5.(a) a control class

A "Control Class" is a class that contains an object which denotes an entity thatcontrols interactions between a collection of objects.