All quizzesMedium
Structural Patterns
Preview — 3 of 10 questions
What is the difference between Factory and Abstract Factory patterns?
AThey are the same thing.
BFactory creates instances of one family of objects; Abstract Factory creates instances of multiple related families.
CFactory is abstract; Abstract Factory is concrete.
DAbstract Factory is deprecated.
What is the Mixin pattern?
AMixing different programming languages together.
BMixing synchronous and asynchronous code.
CAdding methods and properties from multiple objects to a single object.
DA deprecated pattern not used anymore.
What does the Command pattern do?
AExecutes commands in the terminal.
BCreates a command-line interface.
CEncapsulates a request as an object, allowing parameterization and queuing of operations.
DPrevents execution of commands.
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.