Software Engineering Mcqs

Page No. 139

You want to avoid multiple inheritance. Which design pattern would you choose ?


aAbstraction-Occurrence Pattern

✖


bPlayer-Role Pattern

✓


cGeneral Hierarchy Pattern

✖


dSingleton Pattern

✖


View Answer Player-Role Pattern

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ?


aencapsulating the knowledge of which document subclass to is to be created and

✖


bmoving this knowledge out of the framework

✖


cinstantiating the application specific documents without knowing their class

✖


dall of the mentioned

✓


View Answer all of the mentioned

Which design pattern defines one-to-many dependency among objects ?


aSingleton pattern

✖


bFacade Pattern

✖


cObserver pattern

✓


dFactory method pattern

✖


View Answer Observer pattern

Which pattern prevents one from creating more than one instance of a variable ?


aFactory Method

✖


bSingleton

✓


cObserver

✖


dNone of the mentioned

✖


View Answer Singleton

Which of the following is a design pattern?


aBehavioral

✖


bStructural

✖


cAbstract Factory

✖


dAll of the mentioned

✓


View Answer All of the mentioned

The recurring aspects of designs are called design____________________?


apatterns

✓


bdocuments

✖


cstructures

✖


dmethods

✖


View Answer patterns

You want to minimize development cost by reusing methods? Which design pattern would you choose ?


aAdapter Pattern

✖


bSingleton Pattern

✖


cDelegation pattern

✓


d Immutable Pattern

✖


View Answer Delegation pattern

PRD stands for____________________?


aProduct Requirement Document

✓


bProject Requirement Document

✖


cProduct Restrictions Document

✖


dNone of the mentioned

✖



he use of design patterns for the development of object-oriented software has important implications for____________________?


aComponent-based software engineering

✖


bReusability in general

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

Which mechanism is applied to use a design pattern in an OO system ?


aInheritance

✖


bComposition

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

Goto Page No.

Page 139 of 190

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