Reuse

G06 Recap

Quiz
•
Patrick Patrick
•
Computers
•
University
•
7 plays
•
Hard
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The goal of inheritance is only to achieve interface specification
White box reuse could be achieved using inheritance
Delegation reuses implementation functionality in the superclass
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Generaliation vs Specification
Generalization usually leads to model transformation
Refactoring means restructuring the UML model to fill in the gap between object design and system design
In specialization Inheritance we first discover the subclass then the superclass
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Composite Pattern
Composite pattern is used when we need to choose between multiple strategies during runtime
Composite pattern is a Creational pattern
The composite pattern lets a Client treat an individual class called Leaf and Compositions of Leaf classes uniformly
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bridge Pattern
The bridge pattern provides a bridge between the concrete implementation and the solution domain
The degenerated bridge pattern has no application domain taxonomy
The bridge pattern allows to bind the interface and its subclass before startup time of the system
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Proxy Pattern
The proxy pattern allows to defer object creation and object initialization to the time the object is needed
During access control the proxy object acts as a stand-in for an object which is expensive to create
The implementation of request() in Proxy uses inheritance to access request() in RealSubject
Similar Resources on Quizizz
10 questions
Object/Abstract/Final in JAVA

Quiz
•
University
10 questions
Knowledge representations

Quiz
•
University
10 questions
FIREWALL

Quiz
•
University
10 questions
java quiz on Encapsulation and Abstraction

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
10 questions
LVTR M6 The Internet

Quiz
•
University
5 questions
G06

Quiz
•
University
10 questions
Inheritance

Quiz
•
University
Popular Resources on Quizizz
19 questions
Naming Polygons

Quiz
•
3rd Grade
14 questions
Prime Factorization

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
35 questions
4th Grade Math SOL Review

Quiz
•
4th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
Discover more resources for Computers
15 questions
Disney Trivia

Quiz
•
University
20 questions
Disney Trivia

Quiz
•
University
52 questions
Logos Trivia

Quiz
•
KG - University
23 questions
History of English and Review

Quiz
•
KG - University
12 questions
Scientific Notation

Quiz
•
University
5 questions
Tone and Mood in Literature

Interactive video
•
4th Grade - University
7 questions
Food Webs and Energy Pyramids: Bedrocks of Biodiversity

Interactive video
•
11th Grade - University
8 questions
G2U6W1 - The Golden Flower: A Taino Myth from Puerto Rico

Quiz
•
2nd Grade - University