Design Patterns/Software Design Modeling MCQ QUESTIONS AND ANSWER Sample Test,Sample questions

Question:
	
In an Activity Diagram, organizing the activities into groups is called ________

1.forking

2.joining

3.swimlane

4.synchronization

Posted Date:-2024-02-09 10:17:00


Question:
	
State that is active after the completion of the transition is called ________

1.source state

2.target state??

3.history state??

4.final state??

Posted Date:-2024-02-09 12:51:21


Question:
 A visitor class is used which changes the executing algorithm of an element class…

1. Business Delegate Pattern

2.Composite Entity Pattern

3.Visitor Pattern

4.MVC Pattern

Posted Date:-2024-02-09 08:28:03


Question:
 Forward engineering and reverse engineering can be applicable to _____

1.class diagram??

2.stereotypes

3.tagged values??

4.adornments

Posted Date:-2024-02-09 13:04:47


Question:
A model is a _________ of reality. 

1.complication

2.simplification

3.realization

4.generalization

Posted Date:-2024-02-09 13:00:16


Question:
A set of messages exchanged among a set of objects is called as  ________

1.use case??

2.activity

3.interaction

4.deployment

Posted Date:-2024-02-09 10:26:12


Question:
A set of ________ models are used to approach a complex system. 

1.dependent

2.independent

3.both dependent and independent??

4.different

Posted Date:-2024-02-09 13:00:35


Question:
A state that has substates, that is nested states, is called ________

1.composite state??

2.history state??

3.target state??

4.source state??

Posted Date:-2024-02-09 12:48:39


Question:
A The relationship between two states is called ________

1.transition

2.state

3.association

4.generalization

Posted Date:-2024-02-09 12:49:57


Question:
A ______ is a behaviour that specifies the sequence of states, an object goes through during its life time in reponse to an events.

1.class

2.state machine??

3.use case??

4.activity

Posted Date:-2024-02-09 12:47:40


Question:
A ________   is a condition during the life of an object during which it satisfies performs some activity or waits for some event

1.class

2.state

3.actor

4.component

Posted Date:-2024-02-09 12:48:05


Question:
A ________  is a relationship between two states indicating that an object in the first s will enter the second state

1.transition

2.state

3.association

4.generalization

Posted Date:-2024-02-09 12:48:21


Question:
A ________  is a stream of messages exchanged between objects

1.sequence

2.modeling

3.transition

4.objects

Posted Date:-2024-02-09 10:23:46


Question:
Absolute time of an event is modeled as ________

1.timing constraint??

2.timing mark??

3.timing expression??

4.timing semantics??

Posted Date:-2024-02-09 12:51:59


Question:
Activity diagram is a special kind of ________

1.use case diagram??

2.state chart diagram??

3.interaction diagram??

4.component diagram

Posted Date:-2024-02-09 10:21:12


Question:
All public methods in business model objects are defined directly or indirectly because of a ________ requirement. 

1.use case??

2.dependency

3.association

4.sequence

Posted Date:-2024-02-09 13:01:13


Question:
An operation can be described as__________.

1.object

2.class

3.functions

4.object & class

Posted Date:-2024-02-09 12:57:59


Question:
An ________ shows an interaction consisting of a set of objects and their relationships, including the messages. 

1.interaction diagram??

2.class diagram??

3.use case diagram??

4.activity diagram

Posted Date:-2024-02-09 10:24:09


Question:
Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2

1.public

2.private

3.protected

4.none of these

Posted Date:-2024-02-09 13:03:01


Question:
Design Axioms are 1.Maintain the independence of components2.Minimize the information content of the design

1.only 1 is correct

2.only 2 is correct

3.both 1 and 2 are correct

4.both 1 & 2 are wrong

Posted Date:-2024-02-09 13:07:34


Question:
designers look for candidate classes ?why?

1.to model entities in charge of or involved in program tasks

2.to model things in the world that interact directly with the program

3.to model structures and collections of objects

4.all of the mentioned

Posted Date:-2024-02-09 12:59:39


Question:
During the design phase, the overall ———— of the system is described.

1.architecture

2.system flow

3.data flow

4.none

Posted Date:-2024-02-09 13:05:31


Question:
Executable atomic computations are called as  ________

1.action states??c

2.activity states

3.composite states??

4.concurrent states

Posted Date:-2024-02-09 10:18:27


Question:
Executable non atomic computations are called as _______

1.action states??

2.activity states??

3.transitions

4.simple states

Posted Date:-2024-02-09 10:21:36


Question:
Fork and Join terms are associated with

1.activity diagram

2.use case diagram

3.class diagram

4.object diagram

Posted Date:-2024-02-09 12:55:09


Question:
Forward engineering in UML is the process of transforming ____

1.a code into a model??

2.a code into design n??

3.a model into a code

4.a model into test??

Posted Date:-2024-02-09 13:05:03


Question:
How is class visibility expressed?

1.through symbols like +,-,#

2.through cohesion coefficient

3.through coupling coefficient

4.through use case model

Posted Date:-2024-02-09 13:09:48


Question:
If the system is performing no function then it is in ___

1.clear state

2.initial state

3.final state

4.reset state

Posted Date:-2024-02-09 12:53:49


Question:
In a sequence diagram, the _____ indicates when an object sends or receives a message

1.command line

2.focus

3.request link

4.lifeline

Posted Date:-2024-02-09 12:54:51


Question:
In an Activity Diagram, transitions belongs to ________

1.trigger oriented transitions??

2.self transitions??

3.internal transitions??

4.completion transitions

Posted Date:-2024-02-09 10:22:20


Question:
In which of the following phase, the class objects and the interrelationships of these classes are translated and actually coded by using an object-oriented programming language?

1.analysis

2.design

3.development

4.testing

Posted Date:-2024-02-09 13:05:47


Question:
Inside the states, the events are encountered to handle without leaving the state. This is known as________

1.state machine??

2.state transition??

3.internal transition??

4.external transition

Posted Date:-2024-02-09 12:49:01


Question:
Interaction diagrams are of ________ types. 

1.1

2.2

3.3

4.4

Posted Date:-2024-02-09 10:25:30


Question:
Name the data type which exists between the versions of the program

1.transient data

2.coupling data

3.persistent data

4.global data

Posted Date:-2024-02-09 13:10:23


Question:
Name the data type which is involved in procedure activation.

1.local data

2.transient data

3.persistent data

4.protected data

Posted Date:-2024-02-09 13:10:48


Question:
Objects placed in an Activity Diagram are connected to the activity or transition using  ________  relationship

1.association

2.generalization

3.dependency

4.realization

Posted Date:-2024-02-09 10:17:41


Question:
Patterns important due to…

1.They captured design accessible to novices and other experts

2.They capture expert design knowledge

3.None of these

4.All of these

Posted Date:-2024-02-09 08:25:33


Question:
Patterns is…

1. It solves a software design problem

2.It is a model proposed for imitation

3.All of these

4.None of these

Posted Date:-2024-02-09 08:24:29


Question:
Properly sequence the object oriented design process -

1.apply design axioms, design access layer, design view layer classes,iterate

2.design access layer , design view layer,apply design axioms, iterate

3.design view layer, iterate,design access layer, apply design axioms

4.design view layer, design access layer, iterate,apply design axioms

Posted Date:-2024-02-09 13:07:53


Question:
Select the diagram that is used to model the vocabulary of a system.

1.object diagram

2.activity diagramc

3.both a and b

4.class diagram

Posted Date:-2024-02-09 12:58:23


Question:
Select the view which is shown by object Object diagram.

1.logical

2.dynamic

3.static

4.process

Posted Date:-2024-02-09 12:59:17


Question:
Select where the class diagrams are not convenient

1.??simple interactions model

2.the vocabulary of a system model

3.simple collaborations model

4.??logical database schema model

Posted Date:-2024-02-09 12:58:59


Question:
Sequence of messages is emphasized by ________ diagram. 

1.state chart??

2.sequence

3.activity

4.collaboration

Posted Date:-2024-02-09 12:45:36


Question:
State chart Diagrams are needed ________

1.when a class has complex life cycle??

2.when the execution of scenario is to be traced??

3.to allocate classes and objects to modules??

4.to allocate processes to processors

Posted Date:-2024-02-09 12:52:18


Question:
The association stereotype «Extends» indicates ___

1.delegation of part of a task to another use case??

2.the target use case is a subprocess of the source use cases??

3.a specialized form of a use case??

4.a deviation from the uml standard??

Posted Date:-2024-02-09 13:02:17


Question:
The CRC modeling primarily requires

1.identifying classes and their responsibilities

2.)identifying collaborators of each class and their responsibilities

3.developing a collaboration graph

4.all of the mentioned

Posted Date:-2024-02-09 13:01:43


Question:
The next step is to evaluate the class diagram to check that all candidate classes are present and that the diagram reflects their descriptions, Designers apply which of the following heuristics to this activity?

1.check each class for important but overlooked attributes, operations, or associations

2.discard candidates that do something out of scope

3.apply design patterns were not appropriate

4.all of the mentioned

Posted Date:-2024-02-09 13:03:36


Question:
The OMT consists of three related but different viewpoints each capturing important aspects of the system

1.the static, dynamic, and functional behaviors of the system

2.analysis, design, coding

3.real-life environment, objects, and behavior of a system

4.none

Posted Date:-2024-02-09 13:07:13


Question:
The scenario of a use case is graphically represented using ________

1.deployment diagram??

2.sequence diagram??

3.use case diagram??

4.interaction diagram

Posted Date:-2024-02-09 10:23:26


Question:
The state diagram

1.depicts relationships between data objects

2.depicts functions that transform the data

3.indicates how data are transformed by the system

4.indicates system reactions to external events

Posted Date:-2024-02-09 12:52:39


Question:
The time oriented diagram include …

1.sequence

2.classes

3.activity

4.none of these

Posted Date:-2024-02-09 12:54:32


Question:
The vertical dimension of a sequence diagram shows

1.abstract

2.line

3.time

4.messages

Posted Date:-2024-02-09 12:54:07


Question:
To distunguish between active and non-active object which property is applied?

1.abstraction

2.polymophism

3.concurrency

4.aggregation

Posted Date:-2024-02-09 13:02:35


Question:
UML activity diagrams are useful in representing which analysis model elements?

1.behavioral elements

2.class-based elements

3.flow-based elements

4.scenario-based

Posted Date:-2024-02-09 10:16:42


Question:
Use case description contents include ______________

1.use case name and number

2.actors

3.stakeholder and needs

4.all of the mentioned

Posted Date:-2024-02-09 12:56:51


Question:
Use case descriptions consist of interaction among which of the following?

1.product

2.use case

3.actor

4.product & actor

Posted Date:-2024-02-09 12:56:31


Question:
What is multiplicity for an association?

1.the multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of source class

2.the multiplicity at the target class end of an association is the number of instances that can be associated with a number instance of source class

3.all of the mentioned

4.none of the mentioned

Posted Date:-2024-02-09 13:03:58


Question:
What is the purpose of Destructor methods?

1.destructor methods creates instances of the class

2.destructor methods releases memory and resources allocated to objects when they were created

3.destructor methods converts type of objects.

4.destructor methods copies contents of one object to another.

Posted Date:-2024-02-09 13:09:07


Question:
What is the quality of design?

1.functionality

2.architecture

3.low coupling

4.high cohesion

Posted Date:-2024-02-09 13:10:05


Question:
What is used to express rules and semantics of UML?

1.rul

2.ocl

3.sql

4.ucl

Posted Date:-2024-02-09 13:09:27


Question:
Which descriptions are true for the use case description format?

1.underline text refers to another use case

2.extensions section uses complicated numbering scheme

3.indentation is used in order to make extensions easier to read

4.all of the mentioned

Posted Date:-2024-02-09 12:57:11


Question:
Which design pattern suggest multiple classes?

1.Chain of responsibility pattern

2.Bridge pattern

3.Singleton pattern

4.State pattern

Posted Date:-2024-02-09 08:28:59


Question:
Which diagram is a special form of Sequence diagram?

1.timing diagram

2.class diagram??

3.object diagram

4.use case diagram

Posted Date:-2024-02-09 12:55:29


Question:
Which diagram is used to explore the behaviors of objects throughout a given period of time

1.timing diagram

2.class diagram??

3.object diagram

4.object diagram

Posted Date:-2024-02-09 12:56:11


Question:
which diagram is used to show interactions between messages are classified as?

1.activity

2.state chart

3.collaboration

4.object lifeline

Posted Date:-2024-02-09 12:46:17


Question:
Which of the following are concerned with communication between objects?

1. J2EE Design Patterns

2.Behavioral Design Patterns

3.Creational Design Pattern

4.Structural Design Patterns

Posted Date:-2024-02-09 08:26:41


Question:
Which of the following benefits provide patterns?

1.Increasing Development Efficiency

2. Promoting Communication

3.Streamlining Documentation

4. All of these

Posted Date:-2024-02-09 08:24:53


Question:
Which of the following component is used to clarify which actor performs which activity in an activity diagram?

1.forks

2.joins

3.swimlanes

4.state

Posted Date:-2024-02-09 12:53:04


Question:
Which of the following diagrams is used to model business workflows? 

1.deployment diagram??

2.activity diagram??

3.use case diagram??

4.interaction diagram

Posted Date:-2024-02-09 10:23:05


Question:
Which of the following doesn't include in message types? 

1.call

2.return

3.send

4.delete

Posted Date:-2024-02-09 10:24:48


Question:
Which of the following is a pattern language?

1.resembles the structure of natural languages

2.encompasses a collection of patterns

3. is implemented using hypertext

4.All of the above

Posted Date:-2024-02-09 08:27:34


Question:
Which of the following is a weak relationship between two objects?

1.inheritance

2.composition

3.aggregation

4.none of these

Posted Date:-2024-02-09 13:03:18


Question:
Which of the following is followed for Evaluating and Selecting Candidate Classes?

1.discard classes with vague names or murky responsibilities

2.??discard classes will not do something out of scope

3.??look for actors

4.all of the mentioned

Posted Date:-2024-02-09 12:59:58


Question:
which of the following is NOT present in an Activity Diagram? 

1.action states??

2.objects

3.events

4.notes

Posted Date:-2024-02-09 10:21:58


Question:
Which of the following is present in a nested concurrent state machine? 

1.initial state??

2.final state??

3.history state??

4.concurrent sub state

Posted Date:-2024-02-09 12:51:41


Question:
Which of the following is type of UML diagram?

1.collaboration

2.context

3.user interface

4.er diagram

Posted Date:-2024-02-09 12:53:23


Question:
Which of the following is used to model the life time of an object?

1.use case??

2.class

3.state machine??

4.interface

Posted Date:-2024-02-09 12:50:37


Question:
Which of the following represents the structure and behavior of the pattern?

1.Consequences

2.Form

3.Aplication

4.Name

Posted Date:-2024-02-09 08:28:34


Question:
Which one pattern creating duplicate object?

1.Filter Pattern

2. Prototype Pattern

3.Bridge Pattern

4.Builder Pattern

Posted Date:-2024-02-09 08:27:09


Question:
which term are combined Interaction Diagram?

1.sequence diagram + collaboration diagram

2.activity diagram + state chart diagram

3.deployment diagram + collaboration diagram

4.activity diagram + deployment diagram

Posted Date:-2024-02-09 12:46:54


Question:
Which type of coupling involves direct reference to attributes or methods of another object?

1.common coupling

2.content coupling

3.control coupling

4.stamp coupling

Posted Date:-2024-02-09 13:08:11


Question:
Which type of coupling involves passing an aggregate data structure to another object which uses only a portion of that component?

1.common coupling

2.content coupling

3.control coupling

4.stamp coupling

Posted Date:-2024-02-09 13:08:29


Question:
Which type of the couling involves two objects accessing a global data space for both reading and writing?

1.common coupling

2.content coupling

3.control coupling

4.stamp coupling

Posted Date:-2024-02-09 13:08:47


Question:
Which UML diagram shows the objects participating in the interaction by their links to each other and the messages that they send to each other

1.class

2.objects

3.activity

4.collaboration

Posted Date:-2024-02-09 12:55:50


Question:
who consider diagrams as a type of Class diagram, component diagram, object diagram, and deployment diagram?

1.structural

2.behavioral

3.non-behavioral

4.non structural

Posted Date:-2024-02-09 12:57:33


Question:
______ shows a set of objects and their relationships. 

1.class diagram??

2.??object diagram??

3.use case diagram??

4.activity diagram??

Posted Date:-2024-02-09 13:04:26


Question:
_______  is a physical element that exists at runtime and represents a  computational resource. 

1.node

2.actor

3.name

4.object & class

Posted Date:-2024-02-09 13:00:53


Question:
________   are handled without causing a change in state. 

1.transitions

2.events

3.signals

4.state

Posted Date:-2024-02-09 12:50:18


Question:
________   are used to model the dynamic aspects of collaborations. 

1.sequence diagrams??

2.structural

3.interactions

4.messages

Posted Date:-2024-02-09 10:25:51


Question:
________  can model the behavior of an individual object.

1.class

2.use case??

3.state machine??

4.activity

Posted Date:-2024-02-09 12:47:20


Question:
________  diagram illustrates use case realizations.

1.sequence

2.class

3.use case

4.activity

Posted Date:-2024-02-09 10:24:29


Question:
________  is a path from one activity state to the next activity state. 

1.action state

2.activity state

3.transition

4.fork

Posted Date:-2024-02-09 10:18:04


Question:
________  is the state that is active after completion of the transition. 

1.composite state??

2.history state??

3.target state??

4.source state??

Posted Date:-2024-02-09 12:49:22


Question:
________  is the state that is active after completion of the transition. 

1.composite state??

2.history state??

3.target state??

4.source state??

Posted Date:-2024-02-09 12:49:26


Question:
________  is the state that is active after completion of the transition. 

1.composite state??

2.history state??

3.target state??

4.source state??

Posted Date:-2024-02-09 12:49:34


Question:
________  specifies a path to send and receive messages between two objects

1.link

2.sequencing

3.object

4.role

Posted Date:-2024-02-09 12:45:56


Question:
________  uses the services of the system under design to fulfill the goals. 

1.primary actor??

2.supporting actor??

3.offstage actor??

4.secondary actor

Posted Date:-2024-02-09 10:22:46


Question:
________ is used to represent concurrent flows in an Activity Diagram

1.slide bar

2.synchronization bar

3.swim lane

4.branch

Posted Date:-2024-02-09 10:17:20


Question:
___________diagram is time-oriented?

1.collaboration

2.sequence

3.activity

4.use case

Posted Date:-2024-02-09 12:46:35


Question:
—– design pattern defines one-to-many dependency between objects…

1.Observer pattern

2. Factory Pattern

3. Facade pattern

4.Singleton method pattern

Posted Date:-2024-02-09 08:26:16


Question:
——– is a design pattern?

1.Structural

2.Abstract Factory

3.Behavioral

4. All of these

Posted Date:-2024-02-09 08:25:54


More MCQS

  1. Design Pattern Mcq Set 1
  2. Design Patterns MCQ QUESTIONS AND ANSWER
  3. Software Design Modeling MCQ QUESTIONS AND ANSWER
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!