Software Architecture Design Mcqs

Page No. 43

Which of the following is for Facade Pattern?


a Interaction is begun by one of the collaborators or a client object outside the collaboration


bThe object directs the collaboration, with all communication going between it and the colleagues in the interaction


cAll of the mentioned


dNone of the mentioned


View Answer All of the mentioned

Which of the pattern all the classes coupling is reduced?


aIterator


bFacade


cMediator


dProxy


View Answer Mediator

Which of the following i correct?


aThe Mediator pattern provides a means of increasing coupling


bIn the Mediator pattern, interacts with one another, collaborating objects and with a special mediator class


cThe objects are coupled only to the mediator, which contains all the code for coordinating the collaboration


dAll of the mentioned



Which of the following belongs to iterator pattern?


aThey delegate activities to other portions of the sub-system to which they provide an interface


bThe details of such delegations depend on the sub-system in question


c The behavior follows the general outline of a broker pattern interaction


dNone of the mentioned


View Answer None of the mentioned

Which of the following is true for facade pattern?


aThe Façade pattern is a broker pattern that eases interaction between a client and a sub-system of suppliers by providing a simpler interface to the sub-system


bSub-systems may contain many classes with complex interfaces and relationships, but often clients only need basic services that can be supplied through a simple interface


cThe broker class, called a façade, provides basic, simplified services to clients by taking upon itself the job of dealing with a complex sub-system


dll of the mentioned


View Answer ll of the mentioned

Which of the following is consequence for proxy pattern?


aThe Proxy pattern makes it possible to defer expensive operations until they are necessary (virtual proxies)


bProvides an elegant way to treat remote objects as if they were local (remote proxies)


cProvides a mechanism for implementing supplier access restrictions (protection or access proxies)


dAll of the mentioned


View Answer All of the mentioned

Which of the following is incorrect with respect to the proxy pattern?


aThe Proxy pattern should be used whenever the services directly provided by some object need to be managed or mediated in some way without changing the object’s interface


bVirtual proxies can be used to delay the creation or loading of large and time-consuming objects to preserve space and ensure rapid responses to requests


cRemote proxies can hide the fact that an object is not locally present,handling the communication necessary to access the remote real object


dNone of the mentioned


View Answer None of the mentioned

What are stand-ins for objects not yet created are called?


avirtual proxies


bremote proxies


caccess proxies


dnone of the mentioned


View Answer virtual proxies

Which of the following is not followed by proxy pattern?


avirtual proxies


bremote proxies


caccess proxies


dnone of the mentioned


View Answer none of the mentioned

Which of the following is true for proxy pattern?


aHas exactly the same interface as the real object


bHandles routine or illegitimate messages without accessing the real object


cDelegates messages that it cannot handle to the real object


dAll of the mentioned


View Answer All of the mentioned

Goto Page No.

Page 43 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