On This Page

This set of Unified Modeling Language (UML) Multiple Choice Questions & Answers (MCQs) focuses on Unified Modeling Language Uml Set 1

Q1 | What does a simple name in UML Class and objects consists of ?
  • letters
  • digits
  • punctuation characters
  • all of the mentioned
Q2 | What Does a Composite name consists of in a UML Class and object diagram ?
  • delimiter
  • simple names
  • digits
  • all of the mentioned
Q3 | A class is divided into which of these compartments ?
  • name compartment
  • attribute compartment
  • operation compartment
  • all of the mentioned
Q4 | An attribute is a data item held by which of the following ?
  • class
  • object
  • all of the mentioned
  • none of the mentioned
Q5 | What should be mentioned as attributes for conceptual modelling ?
  • initial values
  • names
  • all of the mentioned
  • none of the mentioned
Q6 | Which of these are part of class operation specification format ?
  • name
  • parameter list
  • return-type list
  • all of the mentioned
Q7 | Which among the following are not the valid notations for package and component diagram?
  • notes
  • box
  • extension mechanisms
  • packages
Q8 | Which of the following is false?
  • a note is a dog-eared box connected to any model element by a dashed line
  • the main way to extend uml is by constraints, properties, etc
  • a dependency relation holds between two entities d and i where change in i does not affect d
  • all of the mentioned
Q9 | Which of these depicts the true definition for the UML extensions?
  • a constraint is the statement that must be true of the entities designated by one or more model elements
  • a property is a characteristic of the entity designated by a model element
  • a stereotype is a uml model element given more specific meaning
  • all of the mentioned
Q10 | Which of the following in incorrect in reference to dependency?
  • module d uses module i when a correct version of i must be present for d to work correctly
  • module d depends for compilation on module i
  • class i imports elements from package d
  • none of the mentioned
Q11 | What is collection of model elements called?
  • box
  • dependency
  • uml packages
  • package members
Q12 | What types of units does Component follow?
  • modular unit
  • replaceable unit
  • unit with well defined interface
  • all of the mentioned
Q13 | Which of these is true with respect to interfaces?
  • interfaces in component diagram defines relationship between components and environment
  • interfaces realized by a class or a component are required interfaces
  • interface on which a class or component depends are called provided interfaces
  • all of the mentioned
Q14 | What is delegation connector?
  • a delegation connector ties a component interface to one or more internal classes or components
  • delegation connectors are solid arrows stereotyped <>
  • a delegation connector may also extend from an internal class to an external interface
  • all of the mentioned
Q15 | Which of these are diagrammatic heuristics?
  • use notes, constraints, properties and stereotypes to add information to uml models
  • use stereotypes to name dependencies
  • use packages to group elements in static models
  • all of the mentioned
Q16 | Which of the following is true ?
  • a logical architecture is the realization of product as code and data files residing and executing on computational resource
  • a physical architecture is the configuration of product’s major constituents
  • all of the mentioned
  • none of the mentioned
Q17 | Which among these are the common notations for deployment diagrams?
  • artifacts and nodes
  • stereotypes
  • components
  • all of the mentioned
Q18 | Which of the following is true?
  • a uml artifact is any physical representation of data used or produced during software development or software product operation
  • a node is a computational resource
  • all of the mentioned
  • none of the mentioned
Q19 | Which are the ways to represent nodes in a deployment diagram?
  • nodes instances are underlined identifiers of the form name:type
  • the name may be left off,indicating an unnamed instance of the type
  • the type may be left off, indicating a named instance with an unspecified type
  • all of the mentioned
Q20 | What does a deployment diagram consists of?
  • computational resource
  • communication path between resource
  • artifacts that execute resource
  • all of the mentioned
Q21 | Which of the following is incorrect in deployment diagram?
  • communication connections between nodes are shown by communication paths
  • communication paths are represented by dotted lines
  • artifacts are deployed inside nodes where they reside and execute
  • none of the mentioned
Q22 | Which of these is correct?
  • artifacts instances and types have same names
  • artifact names and instances are underlines
  • all of the mentioned
  • none of the mentioned
Q23 | What is true about the artifacts?
  • an artifact is a physical entity
  • an artifact has spatio temporal location
  • all of the mentioned
  • none of the mentioned
Q24 | What are the ways in which artifacts can be deployed?
  • artifact symbol can be placed within node symbol
  • the artifact symbol can appear outside the node but be attached to it by dependency arrow from the artifact
  • artifact name can be listed inside the node symbol
  • all of the mentioned
Q25 | Detailed design is further classified into which of the following?
  • mid-level design
  • low-level design
  • all of the mentioned
  • none of the mentioned