Software Architecture Design Mcqs

Page No. 28

What is Delegation?


aThe tactic where in a module en thrusts another module with responsibility is called delegation

✖


bDelegation not only allows reuse without inheritance but also provides a mechanism to make software much more flexible and configurable

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

Heuristic for Class models include which of these?


aUse inheritance only when there is a generalization relationship between the sub-class and its super-class(es)

✓


bCombine common attributes and operations in similar classes into a common super-class

✖


cAll of the mentioned

✖


dNone of the mentioned

✖



Inheritance is a powerful design and implementation mechanism that offers which of these advantages?


aInheritance captures a generalization-specialization relation between the super-class(es) and the sub-class

✖


bInheritance provides reuse of the implementations of attributes and operations in the super-class or super-classes

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

Designers can use responsibilities to make modules more cohesive and less tightly coupled in several ways such as?


aAssign modules at most one operational and one data responsibility

✖


bAssign complementary data and operational responsibilities

✖


cMake sure module responsibilities do not overlap

✖


dAll of the mentioned

✓


View Answer All of the mentioned

Which of the following are true for decomposition?


aResponsibility driven decomposition is a technique for program decomposition in which component responsibilities are decomposed and used to generate sub-components

✖


bThe decomposed responsibilities are assigned to the sub-components, which can then be further decomposed

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

What are the types of responsibilities that occur in software engineering design?


aAn Obligation to do something that is to carry out some tasks(operational)

✖


b An Obligation to know something that is to maintain some data(data)

✖


c All of the mentioned

✓


dNone of the mentioned

✖



What are the heuristics which the sequencing diagram follows?


aPut pairs of lifelines that interact heavily next to one another

✖


b Position lifelines to make message arrows as short as possible

✖


cosition lifelines to make message arrows go from left to right

✖


d All of the mentioned

✓



What is break fragment?


aAn fragment which has one or more guarded operands whose guards are mutually exclusive—that is, at most one of them can be true at any time

✖


bA fragment which has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true

✓


c A fragment which has a single operand that may or may not have a guard

✖


dNone of the mentioned

✖



Which of the following is true for optional fragments


a An optional fragment is a portion of an interaction that may be done

✖


bThe fragment operator name is opt

✖


cOptional fragments have only a single operand, which must contain a guard

✖


dAll of the mentioned

✓


View Answer All of the mentioned

What is the interaction fragments?


aA fragment which is a rectangular frame with a pentagonal operation compartment in the upper left-hand corner

✖


b A fragment which has a marked part of an interaction specification

✖


cThe regions resulting from these divisions will not hold the interaction fragment operations

✖


dAll of the mentioned

✓


View Answer All of the mentioned

Goto Page No.

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