
Design Patterns Quiz II

Quiz
•
Information Technology (IT)
•
University
•
Medium
ushapreethi p
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Classes with built-in interface adaptation is known as
Two way adapter
Pluggable adapter
Interface adapter
Parametrized adapter
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the wrong statement (s)
i) Character code of an alphabet is an example for intrinsic state
ii) Style of an alphabet is an example for extrinsic state
iii) Extrinsic state is stored in flyweight pool
iv) Intrinsic state is specified by client
iv only
i and ii only
iii and iv only
iii only
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the wrong statement
Flyweight pattern is related to composite pattern
Adapter pattern is also known as wrapper
Decorators provide a flexible alternative to delegation for extending functionality
There is an aggregation relationship available between decorator and component
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Match the Pattern and their other names
Pattern Other names
a. Adapter i. Surrogate
b. proxy ii. Wrapper
c. Bridge iii. Handle
d. Decorator iv. Wrapper
(A) a-ii, b-i, c-iii, d-iv
(B) a-iii, b-iv, c-i, d-ii
(C) a-ii, b-iii, c-iv, d-i
(D) a-iv, b-iii, c-ii, d-i
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In composite pattern the client reaches at the
(A) abstract
(B) component
(C) composite
(D) leaf
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following describes the Bridge pattern correctly?
(A) This pattern builds a complex object using simple objects and using a step by step approach
(B) This pattern refers to creating duplicate object while keeping performance in mind
(C) This pattern is used when creation of object directly is costly
(D) This pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following pattern can be considered, when extension by sub classing is impractical?
a) composite
b) flyweight
c) proxy
d) decorator
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
TLE 7

Quiz
•
7th Grade - University
15 questions
RM_1.nedelja

Quiz
•
University
10 questions
Asemen akhir

Quiz
•
10th Grade - University
10 questions
Organization culture

Quiz
•
University
11 questions
Quiz on Lexical and Syntax Analysis

Quiz
•
University
14 questions
Сервлеттер туралы тест

Quiz
•
University
10 questions
Topic 4.0 Window Operating System

Quiz
•
University
10 questions
Android app develeopment Internal Practice Quiz

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University