CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

A subsystem has many complex interacting classes (video codecs, audio mixers, subtitle renderers). Client code just wants a single, simple `playMovie()` call without dealing with that complexity directly. Which pattern provides this simplified, unified entry point?

  1. A. Chain of Responsibility pattern
  2. B. Facade pattern
  3. C. Visitor pattern
  4. D. Mediator pattern

Correct answer: B. Facade pattern

Facade provides one simplified, higher-level interface over a complex subsystem, hiding its internal classes and their interactions from client code that just wants a straightforward operation.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic