250+ MCQs on UML Deployment Diagrams and Answers

Software Design Multiple Choice Questions on “UML Deployment Diagrams”.

1. Which of the following statement is true?
a) A logical architecture is the realization of product as code and data files residing and executing on computational resource
b) A physical architecture is the configuration of product’s major constituents
c) All of the mentioned
d) None of the mentioned

Answer: d
Clarification: A physical architecture is the realization of product as code and data files residing and executing on computational resource whereas, A logical architecture is the configuration of product’s major constituents

2. Which among these are the common notations for deployment diagrams?
a) Artifacts and nodes
b) Stereotypes
c) Components
d) All of the mentioned

Answer: a
Clarification: Artifacts and nodes are the common factors used for the deployment diagram.

3. Which of the following statement is true?
a) A UML artifact is any physical representation of data used or produced during software development or software product operation
b) A node is a computational resource
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned options are true definitions of the notations.

4. Which of these are types of nodes used in the deployment diagram?
a) Device
b) Execution Environment
c) Artifact
d) Device & Execution Environment

Answer: d
Clarification: The two types of nodes are the Device and execution environment.

5. Which are the ways to represent nodes in a deployment diagram?
a) Nodes instances are underlined identifiers of the form name:type
b) The name may be left off, indicating an unnamed instance of the type
c) The type may be left off, indicating a named instance with an unspecified type
d) All of the mentioned

Answer: d
Clarification: All of the above are the ways in which a node can be represented in a deployment diagram.

6. What does a deployment diagram consists of?
a) Computational resource
b) Communication path between resource
c) Artifacts that execute resource
d) All of the mentioned

Answer: d
Clarification: A deployment diagram consists of all the mentioned options.

7. Which of the following is incorrect in the deployment diagram?
a) Communication connections between nodes are shown by communication paths
b) Communication paths are represented by dotted lines
c) Artifacts are deployed inside nodes where they reside and execute
d) None of the mentioned

Answer: b
Clarification: Communication paths are represented by solid lines and not dotted lines.

8. Which of these is correct?
a) Artifacts instances and types have same names
b) Artifact names and instances are underlines
c) All of the mentioned
d) None of the mentioned

Answer: a
Clarification: Artifacts names are underlined but instances are not.

9. What is true about the artifacts?
a) An Artifact is a physical entity
b) An artifact has spatio temporal location
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned options

10. What are the ways in which artifacts can be deployed?
a) Artifact symbol can be placed within node symbol
b) The artifact symbol can appear outside the node but be attached to it by dependency arrow from the artifact
c) Artifact name can be listed inside the node symbol
d) All of the mentioned

Answer: d
Clarification: All of the above are the ways in which an artifact can be deployed.

Leave a Reply

Your email address will not be published. Required fields are marked *