正解は イ
GoF(Gang of Four)のデザインパターンは、1994年にErich Gamma・Richard Helm・Ralph Johnson・John Vlissidesの4人が著書「Design Patterns: Elements of Reusable Object-Oriented Software」で発表した、オブジェクト指向設計における23の再利用可能な設計パターン集。生成(Creational)・構造(Structural)・振る舞い(Behavioral)の3カテゴリに分類される。生成パターン(5種):Abstract Factory・Builder・Factory Method・Prototype・Singleton。構造パターン(7種):Adapter・Bridge・Composite・Decorator・Facade・Flyweight・Proxy。振る舞いパターン(11種):Chain of Responsibility・Command・Interpreter・Iterator・Mediator・Memento・Observer・State・Strategy・Template Method・Visitor。GoFのパターンは言語に依存せず、Java・C++・Python等多くのOOP言語で適用可能。POSAなどアーキテクチャパターンとは抽象度・適用レベルが異なる。
GoF 23パターンの3カテゴリ: 生成(Abstract Factory/Builder/Factory Method/Prototype/Singleton)・構造(Adapter/Bridge/Composite/Decorator/Facade/Flyweight/Proxy)・振る舞い(Chain of Responsibility/Command/Interpreter/Iterator/Mediator/Memento/Observer/State/Strategy/Template Method/Visitor)。