MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. Clean Code & Software Engineering Principles
  3. SOLID Principles, One by One
Public deck

Clean Code & Software Engineering Principles

The language-agnostic foundation deck for engineers: SOLID, design heuristics, naming, functions, code smells and refactoring moves — the vocabulary that code review assumes you already have.

Engineering
AShared by Alex Chen
1Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

SOLID Principles, One by One

The five principles collected under the SOLID acronym, stated precisely — including the two that are most often misquoted.

Try this topicBack to deck

Content

42 total questions

MCQ: 10
Fill-in: 8
Flashcards: 14
Pair match: 10
SOLID Principles, One by One – Flashcards
Flashcards

Card #1

What does the acronym SOLID stand for?

Card #2

State the Single Responsibility Principle.

Card #3

State the Open/Closed Principle, and name who introduced it.

11 more questions in this game

Showing 3 of 14. Sign up free to see the rest.

Sign up freeLog in
SOLID Principles, One by One – MCQ
Multiple Choice Questions
  1. 1. In Martin's example, one Employee class holds calculatePay() for accounting and reportHours() for HR, sharing a helper. What risk does this create?

    • The class becomes too large to fit in one file
    • A change for accounting can silently break HR's reports
    • The two methods can no longer be unit tested
    • Accounting and HR cannot run the code at once
  2. 2. In which year did Barbara Liskov first present the substitution idea, in a conference keynote?

    • 1972
    • 1994
    • 2000
    • 1987
  3. 3. Under LSP, how may an overriding method's parameter and return types differ from the parent's?

    • Accept wider parameter types, return narrower ones
    • Accept narrower parameter types, return wider ones
    • Keep both exactly the same as in the parent
    • Change either, as long as the method name matches
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in
SOLID Principles, One by One – Fill-in-the-blank
Fill in the Blank
  1. 1. Hexagonal architecture, also called ports and adapters, was introduced by Alistair ___.

    Answer:Cockburn

    Hint: Also a co-author of the Agile Manifesto.

  2. 2. Barbara Liskov received the Turing ___ in 2008.

    Answer:Award

    Hint: Computing's best-known prize.

  3. 3. Martin's term for an interface whose methods serve several unrelated clients is a ___ interface.

    Answer:fat

    Hint: The opposite of thin.

5 more questions in this game

Showing 3 of 8. Sign up free to see the rest.

Sign up freeLog in
SOLID Principles, One by One – Pair match
Pair Match
Reuse/Release Equivalence↔The unit of reuse is the unit of release
Common Reuse↔Don't make users depend on classes they don't need
Acyclic Dependencies↔No cycles in the component dependency graph
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in