15 Pattern Selection questions from the Design Patterns bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
C.the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
D.the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
Answer + AI explanation with Pro
2. Which term means: "the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors"?
Mid
A.Factory versus Builder
B.Adapter versus Facade
C.Decorator versus inheritance
D.Strategy versus State
Answer + AI explanation with Pro
3. Which statement is correct?
Mid
A.Strategy versus State — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
B.Strategy versus State — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
C.Strategy versus State — the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
D.Strategy versus State — the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
Answer + AI explanation with Pro
4. What is Factory Method versus Abstract Factory?
Mid
A.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
B.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
D.the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
Answer + AI explanation with Pro
5. Which term means: "the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition"?
Mid
A.Strategy versus State
B.Decorator versus inheritance
C.Factory Method versus Abstract Factory
D.Factory versus Builder
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Factory Method versus Abstract Factory — the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.Factory Method versus Abstract Factory — the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
C.Factory Method versus Abstract Factory — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
D.Factory Method versus Abstract Factory — the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
Answer + AI explanation with Pro
7. What is Decorator versus inheritance?
Mid
A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
D.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
Answer + AI explanation with Pro
8. Which term means: "the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy"?
Mid
A.Factory Method versus Abstract Factory
B.Adapter versus Facade
C.Decorator versus inheritance
D.Factory versus Builder
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Decorator versus inheritance — the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.Decorator versus inheritance — the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
C.Decorator versus inheritance — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
D.Decorator versus inheritance — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
Answer + AI explanation with Pro
10. What is Factory versus Builder?
Senior
A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
C.the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
D.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
Answer + AI explanation with Pro
11. Which term means: "the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps"?
Senior
A.Decorator versus inheritance
B.Factory Method versus Abstract Factory
C.Adapter versus Facade
D.Factory versus Builder
Answer + AI explanation with Pro
12. Which statement is correct?
Senior
A.Factory versus Builder — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
B.Factory versus Builder — the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
C.Factory versus Builder — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
D.Factory versus Builder — the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
Answer + AI explanation with Pro
13. What is Adapter versus Facade?
Senior
A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
B.the distinction where one returns an object in a single call while the other constructs a complex object through a sequence of configuration steps
C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
D.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
Answer + AI explanation with Pro
14. Which term means: "the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem"?
Senior
A.Decorator versus inheritance
B.Factory Method versus Abstract Factory
C.Factory versus Builder
D.Adapter versus Facade
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Adapter versus Facade — the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
B.Adapter versus Facade — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
C.Adapter versus Facade — the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
D.Adapter versus Facade — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Pattern Selection question come with Pro.