21 Structural 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.a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
B.a pattern that provides a surrogate or placeholder for another object to control access to it
C.a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
D.a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
Answer + AI explanation with Pro
2. Which term means: "a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together"?
Junior
A.Decorator
B.Flyweight
C.Bridge
D.Adapter
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Adapter — a pattern that decouples an abstraction from its implementation so the two can vary independently
B.Adapter — a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
C.Adapter — a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
D.Adapter — a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
Answer + AI explanation with Pro
4. What is Decorator?
Mid
A.a pattern that provides a surrogate or placeholder for another object to control access to it
B.a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
C.a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
D.a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
Answer + AI explanation with Pro
5. Which term means: "a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing"?
Mid
A.Proxy
B.Bridge
C.Decorator
D.Adapter
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Decorator — a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
B.Decorator — a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
C.Decorator — a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
D.Decorator — a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
Answer + AI explanation with Pro
7. What is Facade?
Junior
A.a pattern that provides a surrogate or placeholder for another object to control access to it
B.a pattern that decouples an abstraction from its implementation so the two can vary independently
C.a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
D.a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
Answer + AI explanation with Pro
8. Which term means: "a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem"?
Junior
A.Bridge
B.Adapter
C.Composite
D.Facade
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
A.Facade — a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
B.Facade — a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
C.Facade — a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
D.Facade — a pattern that provides a surrogate or placeholder for another object to control access to it
Answer + AI explanation with Pro
10. What is Proxy?
Mid
A.a pattern that decouples an abstraction from its implementation so the two can vary independently
B.a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
C.a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
D.a pattern that provides a surrogate or placeholder for another object to control access to it
Answer + AI explanation with Pro
11. Which term means: "a pattern that provides a surrogate or placeholder for another object to control access to it"?
Mid
A.Proxy
B.Composite
C.Adapter
D.Flyweight
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Proxy — a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
B.Proxy — a pattern that provides a surrogate or placeholder for another object to control access to it
C.Proxy — a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
D.Proxy — a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
Answer + AI explanation with Pro
13. What is Composite?
Mid
A.a pattern that decouples an abstraction from its implementation so the two can vary independently
B.a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
C.a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
D.a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
Answer + AI explanation with Pro
14. Which term means: "a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly"?
Mid
A.Composite
B.Decorator
C.Flyweight
D.Proxy
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.Composite — a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
B.Composite — a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
C.Composite — a pattern that decouples an abstraction from its implementation so the two can vary independently
D.Composite — a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
Answer + AI explanation with Pro
16. What is Bridge?
Senior
A.a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
B.a pattern that decouples an abstraction from its implementation so the two can vary independently
C.a pattern that provides a unified simplified interface to a set of interfaces in a complex subsystem
D.a pattern that provides a surrogate or placeholder for another object to control access to it
Answer + AI explanation with Pro
17. Which term means: "a pattern that decouples an abstraction from its implementation so the two can vary independently"?
Senior
A.Adapter
B.Facade
C.Flyweight
D.Bridge
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.Bridge — a pattern that converts the interface of one class into another interface clients expect, letting incompatible types work together
B.Bridge — a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
C.Bridge — a pattern that decouples an abstraction from its implementation so the two can vary independently
D.Bridge — a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
Answer + AI explanation with Pro
19. What is Flyweight?
Senior
A.a pattern that composes objects into tree structures so clients treat individual objects and groups uniformly
B.a pattern that decouples an abstraction from its implementation so the two can vary independently
C.a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
D.a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
Answer + AI explanation with Pro
20. Which term means: "a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects"?
Senior
A.Composite
B.Decorator
C.Flyweight
D.Proxy
Answer + AI explanation with Pro
21. Which statement is correct?
Senior
A.Flyweight — a pattern that attaches additional responsibilities to an object dynamically by wrapping it, offering a flexible alternative to subclassing
B.Flyweight — a pattern that provides a surrogate or placeholder for another object to control access to it
C.Flyweight — a pattern that decouples an abstraction from its implementation so the two can vary independently
D.Flyweight — a pattern that minimizes memory use by sharing as much intrinsic state as possible across many fine-grained objects
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 Structural question come with Pro.