PQS-SWE-05 — Design Patterns and Anti-Patterns
Apply proven structural, creational, and behavioural design patterns while identifying and remedying common software anti-patterns.
What this covers
120 questions11 of 11 objectives covered
Counted from the objectives each question was written against.
These papers are drawn against the objectives in the course outline.
Expert study notes on 11 of 11 objectives, each linked to the questions it teaches. See the list
What you get with it
Buy it once and all of this opens on your account, built on your department's outline, the one on this page.
-
Expert study notes
Written alongside the questions, and each section links to the questions it teaches.
-
Learn the outline one line at a time
A question first, then the reasoning, with a suggested video where we find a good one, played right in the lesson.
-
Questions written to your outline
Practise a single line, the lines you choose, or a timed paper drawn from the whole bank.
-
Teach it back
Explain a line to an AI coursemate who asks what a classmate would, then see how well you taught it.
-
Ask why you got it wrong
A tutor walks you through a question you missed and why the answer is what it is. The course comes with tokens for it.
Papers
-
Paper 1
What's in this paper
Software Engineering
- 1.1 Analyse the use of the Observer pattern in distributed systems (publish–subscribe, message brokers) and explain the issues of message ordering, delivery guarantees and coupling. 6 questions
- 1.2 Define anti-patterns and recognise common ones (God Object, Spaghetti Code, Golden Hammer, Lava Flow, copy-and-paste programming) together with their remedies. 6 questions
- 1.3 Describe the Observer pattern (subject, observers, notification, push and pull models) and identify it in code or in a class diagram. 6 questions
- 1.4 Describe the Strategy pattern and explain how it replaces conditional logic with composition. 6 questions
- 1.5 Explain Model–View–Controller (MVC), the responsibilities of each component, and why MVC is classed as an architectural or compound pattern rather than a single design pattern. 6 questions
- 1.6 Select an appropriate pattern for a given design problem and justify the choice. 5 questions
- 2.1 Classify design patterns into the creational, structural and behavioural categories and state the intent of each category. 5 questions
- 2.2 Describe the Factory Method pattern, distinguish it from a simple factory and from Abstract Factory, and identify where it reduces coupling. 5 questions
- 2.3 Describe the intent, structure and an example use of at least one structural pattern (Adapter, Facade or Decorator). 5 questions
- 2.4 Describe the intent, structure and consequences of the Singleton pattern, including thread-safety concerns and why overuse makes it an anti-pattern. 5 questions
- 2.5 Explain what a design pattern is, the elements of a pattern description (name, problem, solution, consequences), and the benefits and risks of using patterns. 5 questions
Bloom's Remember 26 · Understand 19 · Apply 2 · Analyze 13
-
Paper 2
What's in this paper
- Software Engineering 60 questions
Bloom's Remember 21 · Understand 22 · Apply 5 · Analyze 12