Reuse

G06 Recap

Quiz
•
Computers
•
University
•
Hard
Patrick Patrick
Used 7+ times
FREE Resource
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
5 questions
G06 SS22

Quiz
•
University
5 questions
G06 Quiz

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
5 questions
G06

Quiz
•
University
10 questions
Knowledge representations

Quiz
•
University
10 questions
java quiz on Encapsulation and Abstraction

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
10 questions
Module 9 (Fundamentals of Cybersecurity)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade