CSE2305 - Object-Oriented Software Engineering
Self Assesment Questions
For each question choose the single response which best answers the question, or which completes the statement most accurately.
| Question 137: | An sequence diagram is: |
| a time-line illustrating a typical sequence of calls between object function members |
| a call tree illustrating all possible sequences of calls between class function members |
| a time-line illustrating the changes in inheritance and instantiation relationships between classes and objects over time |
| a tree illustrating inheritance and relationships between classes |
| a directed acyclic graph illustrating inheritance and instantiation relationships between classes and objects |
| Question 138: | In the UML notation a class can be represented by : |
| A rectangular box with the name of the class in the box |
| A rectangular box with the name of the object, a : and the class name that the object belongs to |
| A rectangular box with the class name prefixed by the word "class" |
| A thin vertical line with key method calls shown as outward arrows |
| A rectangular box with an inserted dashed box on the top right corner. |
| Question 139: | In the UML notation, an object can be represented by: |
| A comment or explanatory note associated with a class. |
| A rectangular box with the object name and the constraint "{object}" immediatly following it |
| A rectangular box with the name of the object in the box. |
| A rectangular box with the name of the object, a : and the class name that the object belongs to. |
| A thin vertical line with key method calls shown as outward arrows . |
| Question 140: | In the UML notation, inside each class in a class diagram are printed: |
| its name, attributes, operations, and derived classes. |
| its name, attributes and operations. |
| its name, and attributes. |
| its name, and operations. |
| just its name. |
| Question 141: | Inheritance relationships are represented in the UML notation by: |
| nesting of classes |
| lines with a solid diamond at one end |
| lines with a hollow diamond at one end |
| lines with a triangular arrow at one end |
| lines with a triangular arrow at both ends |
| Question 142: | Key elements of the use-case diagram are: |
| people, computers |
| actors, use-cases |
| people, classes, and objects |
| uses, cases |
| scenarios in point form |
| Question 143: | Aggregation (encapsulation) relationships are represented in the UML notation by: |
| nesting of classes |
| lines with a solid diamond at one end |
| lines with a hollow diamond at one end |
| lines with an arrow at one end |
| lines without an arrow at either end |
| Question 144: | In the UML notation, parameterized (generic) classes are represented by: |
| the normal class representation with a dotted arrow pointing at the template parameter classes |
| the normal class representation but shaded grey. |
| the normal class representation with a dotted outline and the names of its parameter classes listed on the top right-hand corner. |
| the normal class representation with a rectangular box in its top left-hand corner. |
| Its a trick question - parameterized classes can't be specified in the UML notation. |
Last updated: September 3, 2005