Software Engineering Mcqs
Question: Which diagram shows the configuration of run-time processing elements ?
- 1. Deployment diagram
- 2. Component diagram
- 3. Node diagram
- 4. ER-diagram
Question: What is a physical element that exists at runtime in UML ?
- 1. A node
- 2. An interface
- 3. An activity
- 4. None of the mentioned
Question: Which of the following is a building block of UML ?
- 1. Things
- 2. Relationships
- 3. Diagrams
- 4. All of the mentioned
Question: Which of the following statement(s) is true about interaction diagrams ?
- 1. Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen
- 2. Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects
- 3. Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects
- 4. All of the mentioned
Question: At Conceptual level Class diagrams should include_____________________?
- 1. operations only
- 2. attributes only
- 3. both operations and attributes
- 4. none of the mentioned
Question: What is an object________________?
- 1. An object is an instance of a class
- 2. An object includes encapsulation of data
- 3. An object is not an instance of a class
- 4. All of the mentioned
Question: What is an abstract class ?
- 1. A class that has direct instances, but whose descendants may have direct instances
- 2. A class that has direct instances, but whose descendants may not have direct instances
- 3. A class that has no direct instances, but whose descendants may have direct instances
- 4. All of the mentioned
Question: Select the statement true for activity diagrams ?
- 1. They can be used to discover parallel activities
- 2. They are used to depict workflow for a particular business activity
- 3. Activity diagram do not tell who does what and are difficult to trace back to object models
- 4. All of the mentioned
Question: Which of the following are the valid relationships in Use Case Diagrams______________________?
- 1. Generalization
- 2. Include
- 3. Extend
- 4. All of the mentioned
Question: UML interfaces are used to_____________________?
- 1. specify required services for types of objects
- 2. program in Java, but not in C++ or Smalltalk
- 3. define executable logic to reuse across classes
- 4. define an API for all classes