Design And Implementation Mcqs
Q.1: UML interfaces are used to_____________________?0
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
Q.2: Which of the following are the valid relationships in Use Case Diagrams______________________?^
A. Generalization
B. Include
C.
D. All of the mentioned
Q.3: Select the statement true for activity diagrams ?1
A. They can be used to discover parallel activities0
B. They are used to depict workflow for a particular business activityC
C. Activity diagram do not tell who does what and are difficult to trace back to object models[
D. All of the mentioned
Q.4: What is an abstract class ?
A. A class that has direct instances, but whose descendants may have direct instancesR
B. A class that has direct instances, but whose descendants may not have direct instancesV
C. A class that has no direct instances, but whose descendants may have direct instancesU
D. All of the mentioned
Q.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
Q.6: At Conceptual level Class diagrams should include_____________________?G
A. operations only
B. attributes only
C. both operations and attributes
D. none of the mentioned
Q.7: Which of the following statement(s) is true about interaction diagrams ?H
A. Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happeny
B. Interaction diagrams are good at designing part or all of one use cases functionality across multiple objectsp
C. Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objectsp
D. All of the mentioned
Q.8: Which of the following is a building block of UML ?3
A. Things
B. Relationships
C. Diagrams
D. All of the mentioned
Q.9: What is a physical element that exists at runtime in UML ?:
A. A node
B. An interface
C. An activity
D. None of the mentioned
Q.10: Which diagram shows the configuration of run-time processing elements ?G
A. Deployment diagram
B. Component diagram
C. Node diagram
D. ER-diagram