Skip to content
Sharp

Software Architecture · interview question

A developer is tasked with building a notification system for order updates. Which design pattern should they consider?

Multiple choiceMediumchapter-13-curatedpremiumsoftware-architecturepattern-abuse
Choose one answer
Answer and explanation

Correct answer

C. Observer

Why

The Observer pattern is suited for scenarios where a change in one object's state needs to be communicated to other objects. It is ideal for implementing a notification system that broadcasts updates to multiple subscribers.

Test yourself on Software Architecture

A free test with instant, explained results. No account needed.

Start free test
All Software Architecture questions →