167
87.5k

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.

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .

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

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.