G06

G06

University

5 Qs

Student preview

quiz-placeholder

Similar activities

Q8 - Info Mgt

Q8 - Info Mgt

University

10 Qs

Object Oriented Programming

Object Oriented Programming

University

9 Qs

Quiz on OOPs- Day 1 (30-01-2025)

Quiz on OOPs- Day 1 (30-01-2025)

University

10 Qs

Design Patterns - Estruturais

Design Patterns - Estruturais

University

10 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

Chapter 27

Chapter 27

University

10 Qs

INTRODUCTION TO OOPS

INTRODUCTION TO OOPS

University

10 Qs

DataComm QUiz1

DataComm QUiz1

University

10 Qs

G06

G06

Assessment

Quiz

Created by

Anastasiya Damaratskaya

Computers

University

1 plays

Hard

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Reuse:

The goal of inheritance is only to achieve interface specification

White box reuse could be achieved using inheritance

Delegation reuses implemented functionality in the superclass

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Generalization vs. Specialization:

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 SELECT QUESTION

45 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 SELECT QUESTION

45 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 SELECT QUESTION

45 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 creat

The implementation of request() in Proxy uses inheritance to access request() in RealSubject