MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Software Engg knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
UML_INTERFACES_ARE_USED_TO:?$ |
| A. | specify required services for types of objects |
| B. | program in Java, but not in C++ or Smalltalk |
| C. | define executable logic to reuse across classes |
| D. | define an API for all classes |
| Answer» B. program in Java, but not in C++ or Smalltalk | |
| 2. |
Which of the following statement(s) is true about interaction diagrams? |
| A. | Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen |
| B. | Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects |
| C. | Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects |
| D. | All of the mentioned |
| Answer» E. | |
| 3. |
Which of the following are the valid relationships in Use Case Diagrams |
| A. | Generalization |
| B. | Include |
| C. | Extend |
| D. | All of the mentioned |
| Answer» E. | |
| 4. |
What is an abstract class? |
| A. | A class that has direct instances, but whose descendants may have direct instances |
| B. | A class that has direct instances, but whose descendants may not have direct instances |
| C. | A class that has no direct instances, but whose descendants may have direct instances |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 5. |
What is an object? |
| A. | An object is an instance of a class |
| B. | An object includes encapsulation of data |
| C. | An object is not an instance of a class |
| D. | All of the mentioned |
| Answer» B. An object includes encapsulation of data | |
| 6. |
Constraints can be represented in UML by |
| A. | {text} |
| B. | [text]. |
| C. | Constraint |
| D. | None of the mentioned |
| Answer» B. [text]. | |
| 7. |
Select the statement true for activity diagrams. |
| A. | They can be used to discover parallel activities |
| B. | They are used to depict workflow for a particular business activity |
| C. | Activity diagram do not tell who does what and are difficult to trace back to object models |
| D. | All of the mentioned |
| Answer» E. | |
| 8. |
At Conceptual level Class diagrams should include |
| A. | operations only |
| B. | attributes only |
| C. | both operations and attributes |
| D. | none of the mentioned |
| Answer» C. both operations and attributes | |
| 9. |
Object oriented analysis and design can be handled by the one who knows UML. |
| A. | True |
| B. | False |
| Answer» C. | |