
Design Patterns Quiz II
Authored by ushapreethi p
Information Technology (IT)
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Ulangan Harian 1
Quiz
•
9th Grade - University
10 questions
තාර්.කික ද්වාර සමඟ බූලීය වීජ තර්.කය
Quiz
•
10th Grade - University
10 questions
ICT BEL 4
Quiz
•
4th Grade - University
10 questions
QuizIzz
Quiz
•
University
10 questions
oops bootcamp
Quiz
•
University
11 questions
ESS Exercise 6
Quiz
•
University
10 questions
แบบทดสอบหลังเรียน (Post-Test) - วันที่ 2 ภาคปฏิบัติ (ช่วงบ่าย)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University