Top 80+ Solved Unified Modeling Language (UML) MCQ Questions Answer

From 1 to 15 of 53

Q. What does a simple name in UML Class and objects consists of ?

a. letters

b. digits

c. punctuation characters

d. all of the mentioned

  • d. all of the mentioned

Q. What Does a Composite name consists of in a UML Class and object diagram ?

a. delimiter

b. simple names

c. digits

d. all of the mentioned

  • d. all of the mentioned

Q. A class is divided into which of these compartments ?

a. name compartment

b. attribute compartment

c. operation compartment

d. all of the mentioned

  • d. all of the mentioned

Q. An attribute is a data item held by which of the following ?

a. class

b. object

c. all of the mentioned

d. none of the mentioned

  • c. all of the mentioned

Q. What should be mentioned as attributes for conceptual modelling ?

a. initial values

b. names

c. all of the mentioned

d. none of the mentioned

  • c. all of the mentioned

Q. Which of these are part of class operation specification format ?

a. name

b. parameter list

c. return-type list

d. all of the mentioned

  • d. all of the mentioned

Q. Which among the following are not the valid notations for package and component diagram?

a. notes

b. box

c. extension mechanisms

d. packages

  • b. box

Q. Which of these depicts the true definition for the UML extensions?

a. a constraint is the statement that must be true of the entities designated by one or more model elements

b. a property is a characteristic of the entity designated by a model element

c. a stereotype is a uml model element given more specific meaning

d. all of the mentioned

  • d. all of the mentioned

Q. Which of the following in incorrect in reference to dependency?

a. module d uses module i when a correct version of i must be present for d to work correctly

b. module d depends for compilation on module i

c. class i imports elements from package d

d. none of the mentioned

  • c. class i imports elements from package d

Q. What is collection of model elements called?

a. box

b. dependency

c. uml packages

d. package members

  • d. package members

Q. What types of units does Component follow?

a. modular unit

b. replaceable unit

c. unit with well defined interface

d. all of the mentioned

  • d. all of the mentioned

Q. Which of these is true with respect to interfaces?

a. interfaces in component diagram defines relationship between components and environment

b. interfaces realized by a class or a component are required interfaces

c. interface on which a class or component depends are called provided interfaces

d. all of the mentioned

  • a. interfaces in component diagram defines relationship between components and environment

Q. What is delegation connector?

a. a delegation connector ties a component interface to one or more internal classes or components

b. delegation connectors are solid arrows stereotyped <>

c. a delegation connector may also extend from an internal class to an external interface

d. all of the mentioned

  • d. all of the mentioned

Q. Which of these are diagrammatic heuristics?

a. use notes, constraints, properties and stereotypes to add information to uml models

b. use stereotypes to name dependencies

c. use packages to group elements in static models

d. all of the mentioned

  • d. all of the mentioned

Q. Which of the following 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

  • d. none of the mentioned
Subscribe Now

Get All Updates & News