Modeling UML Class Diagrams and Sequence diagrams

1. A class is a


Specific instance of an object

Category of user requirement

None of the above

2. In class diagrams, a class is represented with a


Human stick figure



3. From a class diagram it is evident that

All classes work in isolation

Each class is related with every other class

Most of the classes are related

Class diagram show object interactions

4. Inheritance among classes are represented by a

Solid line from the extending to the extended class

Line with an unfilled arrow head from the extending to the extended class

Line with a filled diamond from the extending to the extended class

Dotted line with extend stereotype from the extending to the extended class

5. Private members (or methods) in a class are indicated with a

Hash (#) sign

Minus (-) sign

Plus (+) sign

Tilde (~) sign

6. What does a sequence diagram represent?

Workflow in the system

How classes are related to each other

Sequence of events flow to achieve a target

Sequence of activities to be performed before moving to next state

7. In UML 2.0 a synchronous message is represented with a

Solid arrow with filled arrowhead

Solid arrow with empty arrowhead

Dotted arrow with filled arrowhead

Dotted arrow with empty arrowhead

9. An object can send a synchronous message and multiple asynchronous message in parallel



10. In context of Web, which of the following represent an asynchronous message passing?

HTTP GET request

HTTP POST request

AJAX calls

All of the above

Decrease font size Increase font size List of experiments