Software Architecture Design Mcqs

Page No. 30

An operation of an object obj should send messages only to which of the following entities?


aThe object obj;


bThe attributes of obj;


cThe arguments of the operation;


dAll of the mentioned


View Answer All of the mentioned

Which among these is the heuristic for dispersed control?


a Avoid interactions that require each component to send many messages


bHave components delegate as many low-level tasks as possible


cAll of the mentioned


dNone of the mentioned



What are the disadvantages for dispersed control?


aIt is too hard to understand the low of control


bWhen components are too finely divided, they tend not to be able to do anything on their own


cIt is difficult to hide information


dAll of the mentioned


View Answer All of the mentioned

What are the advantages of delegated control?


a Controllers are coupled to fewer components, and overall program coupling is decreased


bInformation is hidden better


c It is too hard to understand the low of control


dInformation is hidden better, Controllers are coupled to fewer components, and overall program coupling is decreased



Which of the following are the heuristics to avoid bloated controllers?


aAvoid interaction designs where most messages originate from a single component


b Keep Components small


cMake sure operational responsibilities are not all assigned to just a few components


d Keep Components small & Make sure operational responsibilities are not all assigned to just a few components



Which of the following are the dangers faced by centralized style?


a The controller can become too large and complex. If only a few components make all the decisions, and there are many decisions to be made, it stands to reason that the controllers will be large and complex units


bControllers may treat other components as data repositories, merely storing and retrieving data in


cAll of the mentioned


dNone of the mentioned


View Answer All of the mentioned

Which of the following statements are followed in delegated style?


aThe main advantage of a program with such a control style is that it is easy to and where decisions are being made


b If the controllers are not too big and complex, it is easy to understand how decisions are made and to alter the decision-making process


cAll of the mentioned


dNone of the mentioned


View Answer None of the mentioned

Which of these is a Delegated control style?


aIn a program with such a control style, a few controllers make all significant decisions


bA program with such a control style has decision making is distributed through the program


cIn a program with such a control style, decision making is spread widely throughout the program; it is hard to identify controllers in such programs


dNone of the mentioned



Which among the following are broad control styles?


aCentralized


bDelegated


c Dispersed


dAll of the mentioned


View Answer All of the mentioned

What is the controller?


a It is a program component that makes decisions and directs other components


bIt is a way that decision making is distributed among program components


cAll of the mentioned


dNone of the mentioned



Goto Page No.

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