Pattern Selection interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Strategy versus State?

Mid
  1. A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
  2. B.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
  3. 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
  4. 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
  1. A.Factory versus Builder
  2. B.Adapter versus Facade
  3. C.Decorator versus inheritance
  4. D.Strategy versus State

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.Strategy versus State — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
  2. B.Strategy versus State — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
  3. 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
  4. 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
  1. A.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
  2. B.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
  3. C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
  4. 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
  1. A.Strategy versus State
  2. B.Decorator versus inheritance
  3. C.Factory Method versus Abstract Factory
  4. D.Factory versus Builder

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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
  1. A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
  2. 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
  3. C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
  4. 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
  1. A.Factory Method versus Abstract Factory
  2. B.Adapter versus Facade
  3. C.Decorator versus inheritance
  4. D.Factory versus Builder

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. 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
  2. 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
  3. C.Decorator versus inheritance — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
  4. 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
  1. A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
  2. B.the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
  3. 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
  4. 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
  1. A.Decorator versus inheritance
  2. B.Factory Method versus Abstract Factory
  3. C.Adapter versus Facade
  4. D.Factory versus Builder

Answer + AI explanation with Pro

12. Which statement is correct?

Senior
  1. A.Factory versus Builder — the distinction where one swaps interchangeable algorithms chosen by the client while the other transitions automatically between condition-driven behaviors
  2. 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
  3. C.Factory versus Builder — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
  4. 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
  1. A.the distinction where one converts an existing interface to a required one while the other simplifies access to an entire subsystem
  2. 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
  3. C.the distinction where one creates a single product via subclass override while the other creates whole families of related products through composition
  4. 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
  1. A.Decorator versus inheritance
  2. B.Factory Method versus Abstract Factory
  3. C.Factory versus Builder
  4. D.Adapter versus Facade

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. 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
  2. B.Adapter versus Facade — the choice favoring runtime wrapping to add responsibilities flexibly instead of fixing them at compile time through a class hierarchy
  3. 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
  4. 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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers