Software Architecture Design Mcqs

Page No. 42

Which of the following is true for broker pattern?


aBroker patterns are the simplest mid-level design patterns


bAll broker patterns have instances of a Broker class that mediate the interaction between Client and Supplier class instances


cAll of the mentioned


dNone of the mentioned


View Answer All of the mentioned

Which of the following is true with respect to generator pattern?


aThey have a broker that mediates interactions between a client and a supplier


bThey have a generator that creates instances of a product on behalf of a client


chey have a reactor that registers with a target to respond to target events on behalf of a client


dNone of the mentioned



Which of the following pattern includes client that generally creates a instance that registers with a target to carry out tasks in response to target events on behalf of the client?


aBroker


bIterator


cGenerator


dReactor


View Answer Reactor

Which of the following pattern features a client that needs a service from a supplier,but there is some problem with the supplier providing the service directly to the client?


aBroker


bIterator


cGenerator


dReactor


View Answer Broker

Which of the following does not belong to mid-level design patterns?


aBroker


bIterator


cGenerator


dReactor


View Answer Iterator

Which of the following is consequence of mediator class?


aThey makes a sub-system easier for clients to use


bLowers the coupling between the client and the sub-system


cIncrease re-usability by adapting a sub-system’s interface to client needs


dIt encapsulates an interaction, making the interaction easier to change



Which are the drawback for mediator pattern?


aIt may also increase collaborator cohesion


bForcing collaborator interaction through the mediator may compromise performance


cAll of the mentioned


dNone of the mentioned



The Mediator pattern has which of the following advantages?


aIt decouples collaborators, making them more changeable and reusable


b It centralizes control of an interaction in the mediator class, making it easier to change, thus increasing modifiability


cIt simplifies the collaborators, making them easier to understand, and hence to change


dAll of the mentioned


View Answer All of the mentioned

Which of the following does not follow the sequence of the mediator pattern?


aAs in any broker pattern, the Mediator receives a request for service at last


b It then controls an interaction with the collaborating colleagues to supply the service


cIf one collaborator needs help from another, it notifies the Mediator object, which obtains the needed service from another collaborator


dNone of the mentioned



Which of the following is a type of broker pattern?


aMediator


bFacade


cNone of the mentioned


dAll of the mentioned


View Answer All of the mentioned

Goto Page No.

Page 42 of 88

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan