440+ Software Design Modeling (SDM) Solved MCQs

Software design modeling (SDM) is the process of creating a representation or blueprint of a software system. It involves identifying and specifying the components that make up the system and their relationships, as well as defining the interfaces between those components.

There are many different approaches to software design modeling, and the specific techniques and tools used can vary depending on the specific needs and constraints of a given project. Some common techniques and tools include:

UML (Unified Modeling Language): UML is a standardized language for creating graphical models of software systems. It includes a set of symbols and notation for representing different types of components, such as classes, objects, and relationships.

Class diagrams: Class diagrams are a type of UML diagram that shows the structure of a system in terms of the classes and their relationships. They can be used to visualize the static structure of a system, as well as the relationships between different classes.

Use case diagrams: Use case diagrams are another type of UML diagram that show the interactions between a system and its users. They can be used to identify and document the specific actions that a system is designed to perform, as well as the actors that interact with the system.

Prototyping: Prototyping is a technique for creating a preliminary version of a software system, typically for the purpose of testing and evaluating its functionality. Prototyping can be used to quickly explore and iterate on different design ideas and can help to identify and address any potential issues before building the final version of the system.

Software design modeling is an important part of the software development process, as it helps to define the structure and behavior of a system and ensure that it meets the needs of its users. It can also help to identify potential issues and mitigate risk before implementing the final version of the software.

201.

What is a deployment view of a software architecture?

A. a static view in terms of a module hierarchy
B. a static view in terms of components and connectors
C. a view of the physical configuration in terms of nodes and interconnections
D. a dynamic interaction view in terms of objects and messages
Answer» C. a view of the physical configuration in terms of nodes and interconnections
202.

In a client-server model where ‘n clients’ are sending request or receiving data from ‘m servers’. There are ‘x intermediate servers’ present which re-route the request (coming from Clients) to appropriate server based on the type of request. The intermediate server also returns the response to the client user-interface. What is the role of the intermediate server here?

A. blackboard
B. pipe
C. controller or model
D. broker
Answer» D. broker
203.

Which of the following pattern is the basis of interaction management in many web-based systems?

A. architecture
B. model-view-controller
C. repository pattern
D. different operating system
Answer» B. model-view-controller
204.

Which view in architectural design shows the key abstractions in the system as objects or object classes?

A. physical
B. development
C. logical
D. process
Answer» C. logical
205.

What is a database wrapper class?

A. a class that encapsulates a data structure
B. a class that encapsulates a database
C. a class that encapsulates the details of how to access data in a database
D. a class that encapsulates a relational table
Answer» C. a class that encapsulates the details of how to access data in a database
206.

What is an object broker?

A. an object that breaks into a system
B. an object that sends requests to other objects
C. an object that handles requests sent by other objects
D. an object that mediates interactions between clients and services
Answer» D. an object that mediates interactions between clients and services
207.

What does a connector join?

A. the provided port of one component to the required port of another component
B. the provided port of one component to the provided port of another component
C. the required port of one component to the provided port of another component
D. the required port of one component to the required port of another component
Answer» C. the required port of one component to the provided port of another component
208.

What is an event-driven input task?

A. a task that executes every few seconds
B. a task that controls other tasks
C. a task that receives inputs from an external device when it generates interrupts
D. a task that checks whether there is new input from an external device
Answer» C. a task that receives inputs from an external device when it generates interrupts
209.

Which of the following is NOT a case of event synchronization?

A. external event
B. internal event
C. timer event
D. user event
Answer» D. user event
210.

Which of the following type describes application architectures?

A. transaction processing applications
B. language processing systems
C. client management systems
D. transaction processing applications and language processing systems
Answer» D. transaction processing applications and language processing systems
211.

What two categories of stereotypes are used in modeling SPL classes?

A. kernel and optional stereotypes
B. optional and variant stereotypes
C. common and variant stereotypes
D. reuse and application role stereotypes
Answer» D. reuse and application role stereotypes
212.

A producer sends a message to a consumer.
Which one of the following is
asynchronous message communication?

A. the producer waits for a response from the consumer.
B. the producer does not wait for a response from the consumer.
C. the producer goes to sleep.
D. the producer waits for a timeout.
Answer» B. the producer does not wait for a response from the consumer.
213.

Which of the following is not included in Architectural design decisions?

A. type of application
B. distribution of the system
C. architectural styles
D. testing the system
Answer» D. testing the system
214.

What happens in a Layers of Abstraction pattern?

A. each layer uses services in the layer immediately below it.
B. each layer uses services in the layer immediately above it.
C. each layer uses services in the layers immediately above it and below it.
D. each layer is independent of the other layers.
Answer» A. each layer uses services in the layer immediately below it.
215.

How is Multiple Client/Multiple Service
architectural pattern different from a
Multiple Client/Single Service architectural
pattern?

A. a service can receive requests from multiple clients.
B. a client can send requests to multiple services.
C. a client can send requests to other clients.
D. a service can respond to requests from multiple clients.
Answer» D. a service can respond to requests from multiple clients.
216.

In a SOA, which of the following is NOT true?

A. a client communicates with a specific service provided on a fixed server configuration.
B. a client discovers and links to a service.
C. multiple clients communicate with a service.
D. standard protocols are provided to allow clients to communicate with services.
Answer» A. a client communicates with a specific service provided on a fixed server configuration.
217.

What does a component interface consist of?

A. the externally visible operations of a component
B. the operations provided by a component
C. the operations required by a component
D. the operations that a component supports
Answer» A. the externally visible operations of a component
218.

What is broadcast message communication?

A. a message sent to several recipients
B. a message sent to a specific recipient
C. a message sent to all recipients
D. a message sent to recipients who are members of a group
Answer» C. a message sent to all recipients
219.

Which of the following is true for a Hierarchical Control architectural pattern?

A. control is divided among various control components.
B. it provides overall control over several client subsystems.
C. it provides overall control by coordinating several control components.
D. it provides overall control over various i/o objects.
Answer» C. it provides overall control by coordinating several control components.
220.

What is a software product line(SPL) C12?

A. a family of systems with some common components and some variable components
B. an assembly line
C. a family of identical systems
D. the software products marketed by a company
Answer» A. a family of systems with some common components and some variable components
221.

What happens in a Call/Return pattern?

A. a calling operation in the calling object sends a message to an operation (a.k.a. method) in the called object.
B. a calling operation in the calling object invokes an operation (a.k.a. method) in the called object.
C. the calling object waits for a response from the called object.
D. the calling object does not wait for a response from the called object.
Answer» B. a calling operation in the calling object invokes an operation (a.k.a. method) in the called object.
222.

When designing an entity class as a relational
table, which of the following is
NOT true?

A. the relational table has multiple primary keys.
B. the relational table has multiple foreign keys.
C. the relational table has a primary key.
D. the relational table has a concatenated primary key.
Answer» A. the relational table has multiple primary keys.
223.

With a Negotiation pattern, which of the following is NOT true?

A. the client agent can propose a service.
B. the service agent can offer a service in response to a client agent proposal.
C. the client agent can request a service.
D. the service agent can offer a service in response to a client agent request.
Answer» D. the service agent can offer a service in response to a client agent request.
224.

Yellow pages brokering is useful when a service requester:

A. needs to discover the location of the service
B. knows the type of service required but not the specific service
C. knows the specific service required but not the type of service
D. needs to discover the broker
Answer» B. knows the type of service required but not the specific service
225.

What is the difference between an active object and a passive object?

A. an active object controls a passive object.
B. an active object does not have a thread of control; a passive object has a thread of control.
C. an active object executes in a distributed system; a passive object executes in a centralized system.
D. an active object has a thread of control; a passive object does not have a thread of control
Answer» D. an active object has a thread of control; a passive object does not have a thread of control
226.

What does the C30software architecture describe?

A. the software inside a family of buildings
B. the structure of a client/server product family
C. the overall structure of the software product line
D. the software product line classes and their relationships
Answer» C. the overall structure of the software product line
227.

How are feature conditions used in a software product line(SPL) C32 state machine?

A. a guard condition
B. a condition that is true or false
C. to identify if a feature is selected or not in the state machine
D. to allow state machine inheritance
Answer» A. a guard condition
228.

What is a kernel system in a software product line(SPL)?

A. a member of the spl only composed of kernel classes
B. a member of the spl composed of kernel classes and possibly some default classes
C. a member of the spl composed of kernel classes and possibly some optional classes
D. a member of the spl composed of kernel classes and possibly some entity classes
Answer» B. a member of the spl composed of kernel classes and possibly some default classes
229.

Systems that involve interaction with a shared database can be considered as.

A. software-based
B. transaction-based
C. server-based
D. client-based
Answer» B. transaction-based
230.

Which of the following is not real-time architectural patterns that are commonly used?

A. asynchronous communication
B. observe and react
C. environmental control
D. process pipeline
Answer» A. asynchronous communication
231.

Which diagram shows the configuration of run-time processing elements of the system? Select one:

A. deployment diagram
B. class diagram
C. component diagram
D. er diagram
Answer» C. component diagram
232.

In two-tier client/server architecture,the running of application programs and the user interface programs is in control of

A. modulation side
B. client side
C. server side
D. host side
Answer» B. client side
233.

One of the fundamental characteristics of service-oriented architecture is

A. business-driven
B. integration-centric
C. inventory-neutral
D. silo-driven
Answer» A. business-driven
234.

There are two basic types of service-oriented solution logic:

A. service,service registries
B. service candidates,service registries
C. service ,service compositions
D. top-down service models,bottom-up service models
Answer» C. service ,service compositions
235.

“An administrator wants to run different parts of the application in different systems, and also the system needs to exchange, add and remove the components at run-time.” Which one of the following architecture patterns will be most suitable in the context given above?

A. mvc
B. broker
C. blackboard
D. pipe and filter
Answer» B. broker
236.

System’s ability to continuously provide correct service without any failure, is called

A. performance
B. reliability
C. security
D. availability
Answer» B. reliability
237.

Layered architecture style is best suited to develop the software applications which require

A. the components to be easily replaceable
B. the high security of its data contents
C. the performance quality as a dominant factor
D. information separating as a dominant factor
Answer» A. the components to be easily replaceable
238.

—————- pattern facilitates accessing shared resources and services for large numbers of distributed distributed clients.

A. web server
B. client server
C. data server
D. proxy server
Answer» C. data server
239.

—————– pattern suggests a solution in which components interact with via announced messages or events.

A. newspaper
B. librarian
C. bookkeeper
D. publish subscribe
Answer» D. publish subscribe
240.

Adding an intermediate component between two interacting modules in an application will improve:

A. security of the system
B. reliability of the system
C. availability of the system
D. modifiability of the system
Answer» D. modifiability of the system
241.

————- pattern splits system into a number of computationally independent execution structures to achieve optimized usage of resources.

A. layers
B. multi tier
C. agent
D. broker
Answer» B. multi tier
242.

————— pattern defines a runtime component that mediates the communication between a number of clients and servers.

A. proxy
B. middleware
C. broker
D. load balancer
Answer» C. broker
243.

————– pattern describes a collection of distributed components that provide and/or consume the services.

A. client server
B. broker
C. p2p
D. soa
Answer» D. soa
244.

Architecture of software is based on?

A. design
B. neither design nor requirements
C. design and requirements
D. requirements
Answer» D. requirements
245.

Which one of the following are correct statements?

A. an architecture may or may not defines components
B. an architecture is not dependable on requirements
C. an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used
D. an architecture is only dependent on design
Answer» C. an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used
246.

 Which of the statements truly concludes client and server relation with architectural styles?

A. they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients
B. multiple client cannot exist at an instance
C. architecture are countless for client and server but their architectural styles are different
D. architectures are same
Answer» A. they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients
247.

What is a use case?

A. a case study involving users
B. a sequence of interactions between the user and the system
C. a sequence of user inputs to the system
D. a sequence of interactions between the user and the objects in the system
Answer» B. a sequence of interactions between the user and the system
248.

What is a primary actor?

A. the actor who goes on stage first
B. the actor that starts the use case
C. an actor that participates in the use case
D. an object inside the system
Answer» B. the actor that starts the use case
249.

What can an inclusion use case be used for?

A. to describe an inclusive use case
B. to describe a lengthy interaction with an actor
C. to describe functionality that is common to more than one use case
D. to describe a use case that includes other use cases
Answer» D. to describe a use case that includes other use cases
250.

What is a boundary object?

A. an external object
B. an object that stores data
C. an object that communicates with an external object
D. an object that controls other objects
Answer» C. an object that communicates with an external object
251.

What is a business logic object?

A. an object used in business applications.
B. an object that defines business specific application logic
C. the internal logic of an object
D. a business object that determines whether a client request is logical
Answer» B. an object that defines business specific application logic
252.

In Noun Phrase Approach- Nouns in the textual description are considered to be classes and verbs to be methods of classes.

A. true
B. false
Answer» A. true
253.

The relationship among objects is based on ___.

A. assumptions each makes about other objects.
B. operations can be performed.
C. what behavior results.
D. all of above.
Answer» D. all of above.
254.

A unary association, also referred to as a self-association.

A. true
B. false
Answer» A. true
255.

A constraint specifies a condition or restriction that must be true.

A. true
B. false
Answer» A. true
256.

Composition and aggregations are special forms of a relationship in which classes are connected by the ____________.

A. ternary associations
B. generalization/specialization hierarchy
C. is a relationship
D. whole/part relationship.
Answer» D. whole/part relationship.
257.

An actor can also be an external system that either initiates or participates in the use case.

A. true
B. false
Answer» A. true
258.

Each sequence through the use case is called a ____________

A. interaction
B. scenario
C. requirement
D. transaction
Answer» B. scenario
259.

Dependencies between use cases can be defined by using _______________

A. include relationships
B. extend relationships
C. both 1 & 2
D. none of above
Answer» C. both 1 & 2
260.

An inclusion use case is usually abstract.

A. true
B. false
Answer» A. true
261.

UML diagram that shows the interaction between users and system, is known as

A. use case diagram
B. activity diagram
C. class diagram
D. e-r diagram
Answer» A. use case diagram
262.

Which of the following UML diagrams has a static view?

A. collaboration
B. use case
C. state chart
D. activity
Answer» B. use case
263.

Multiplicity for an association ___________.

A. is the number of instances with a single instance
B. is the number of instances with a number instance
C. both 1&2
D. none of the mentioned
Answer» A. is the number of instances with a single instance
264.

Main parts of a use case scenario _________________

A. identifiers and initiators
B. the steps performed
C. the conditions, assumptions, and questions
D. all of the above
Answer» D. all of the above
265.

________________represents a piece of information that is relevant to the description of the class.

A. attributes
B. operations
C. methods
D. none of the mentioned
Answer» A. attributes
266.

Two classes that express the same information is known as ______________

A. irrelevant classes
B. redundant classes
C. adjective classes
D. attribute classes
Answer» B. redundant classes
267.

The relationship among objects is based on _______________

A. assumptions each makes about other objects.
B. operations can be performed.
C. what behavior results.
D. all of the above
Answer» D. all of the above
268.

Multiplicity of Associations are __________________

A. one-to-one association
B. one-to-many association
C. both 1&2
D. optional association,1 & 2
Answer» D. optional association,1 & 2
269.

A unary association is an association between an object of one class and another object in the same class.

A. true
B. false
Answer» A. true
270.

A constraint specifies a condition or restriction that must be false.

A. true
B. false
Answer» B. false
271.

"UML also provides a constraint language known as _______________"

A. class constraint language (ccl)
B. object constraint language (ocl)
C. uml constraint language
D. none of the mentioned
Answer» B. object constraint language (ocl)
272.

_________________ allows us to infer that different members of classes have some common characteristics.

A. realization
B. aggregation
C. generalization
D. dependency
Answer» C. generalization
273.

___________ classes are used to create the interface that the user sees and interacts with as the software is used.

A. controller
B. entity
C. boundary
D. business
Answer» C. boundary
274.

________ diagrams are used to illustrate data structures, and the static snapshots instances of the things found in the class diagrams.

A. use case diagram
B. object
C. collaboration
D. sequence
Answer» B. object
275.

Forward engineering and reverse engineering can be applicable to ________

A. class diagram
B. stereotypes
C. tagged values
D. adornments
Answer» A. class diagram
276.

Which of the following diagram is used to model the vocabulary of a system?

A. object diagram
B. activity diagram
C. class diagram
D. interaction diagram
Answer» C. class diagram
277.

Forward engineering of an ________ is theoretically possible but programmatically o limited value.

A. object diagram
B. activity diagram
C. class diagram
D. interaction diagram
Answer» A. object diagram
278.

Class diagrams are not useful to ________

A. model simple collaborations
B. model the vocabulary of a system
C. model simple interactions
D. model a logical database schema
Answer» C. model simple interactions
279.

Forward engineering in UML is the process of transforming ________

A. a code into a model
B. a code into design n
C. a model into a code
D. a model into test
Answer» C. a model into a code
280.

A use-case____________ represents how a use case will be implemented in terms of collaborating objects.

A. realization
B. extend
C. include
D. all of above.
Answer» A. realization
281.

For each use-case realization, there may be one or more class diagrams that depict its participating classes.

A. true
B. false
Answer» A. true
282.

The reason for separating the use-case realization from its use case is ________________.

A. allows the interactions, in the form of use cases
B. allows the requirements, in the form of use cases.
C. allows the physical components, in the form of use cases
D. all of the above
Answer» B. allows the requirements, in the form of use cases.
283.

Find incorrect about Use Case.

A. actors
B. preconditions
C. basic flow
D. operations
Answer» D. operations
284.

Use case diagrams can be used for ________________.

A. requirement analysis and high level design
B. model the context of a system
C. reverse engineering
D. all of above.
Answer» D. all of above.
285.

UML use case diagrams are ideal for __________________

A. defining and organizing functional requirements in a system
B. specifying the context and requirements of a system
C. specifying the context and requirements of a system
D. all of above.
Answer» D. all of above.
286.

Purpose of Class Diagrams ___________

A. shows static structure of classifiers in a system
B. diagram provides a basic notation for other structure diagrams prescribed by uml
C. helpful for developers and other team members too
D. all of above.
Answer» D. all of above.
287.

________________ is a special type of aggregation where parts are destroyed when the whole is destroyed.

A. composition
B. complete composition
C. full composition
D. none of above
Answer» A. composition
288.

An operation can be described as?

A. object behavior
B. class behavior
C. functions
D. object & class behavior
Answer» D. object & class behavior
289.

Which of these are part of the class operation specification format?

A. name
B. parameter list
C. return-type list
D. all of the mentioned
Answer» D. all of the mentioned
290.

Which among these are the rules to be considered to form Class diagrams?

A. class symbols must have at least a name compartment
B. compartment can be in random order
C. attributes and operations can be listed at any suitable place
D. none of the mentioned
Answer» A. class symbols must have at least a name compartment
291.

Which of these are the heuristics?

A. name classes, attributes, and roles with noun phrases
B. name operations and associations with verb phrases
C. stick to binary associations
D. all of the mentioned
Answer» D. all of the mentioned
292.

__________ represented by In UML diagrams, relationship between component parts and object.

A. ordination
B. aggregation
C. segregation
D. increment
Answer» B. aggregation
293.

A ____________ is a blueprint for an object.

A. use case
B. class
C. object
D. state
Answer» B. class
294.

The purpose of class diagram is to model the static view of an application.

A. true
B. false
Answer» A. true
295.

Class diagrams are used for ______________

A. describing the static view of the system.
B. showing the collaboration among the elements of the static view.
C. describing the functionalities performed by the system.
D. all of above.
Answer» D. all of above.
296.

Class diagrams are used to construct the executable code for forward and reverse engineering of any system.

A. true
B. false
Answer» A. true
297.

Abstraction has ______ types.

A. 1
B. 2
C. 3
D. 4
Answer» D. 4
298.

To hide the internal implementation of an object we use …

A. inheritance
B. encapsulation
C. polymorphism
D. none of these
Answer» B. encapsulation
299.

The vertcal dimension of a sequence diagram shows

A. abstract
B. line
C. time
D. messages
Answer» C. time
300.

CRC approach and noun phrase approach are used to identify …

A. classes
B. colaborators
C. use cases
D. object
Answer» A. classes
Tags
Question and answers in Software Design Modeling (SDM), Software Design Modeling (SDM) multiple choice questions and answers, Software Design Modeling (SDM) Important MCQs, Solved MCQs for Software Design Modeling (SDM), Software Design Modeling (SDM) MCQs with answers PDF download