CS 2340: Design Principles & Patterns

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:45 PM on 4/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

GRASP

assign responsibilities of classes & objects

2
New cards

Creator

GRASP

class should create objects it closely uses

3
New cards

Information expert

GRASP

assign responsibility to class that has needed data

4
New cards

Low coupling

GRASP

minimize dependencies between classes

5
New cards

High cohesion

GRASP

keep classes focused, not overloaded

6
New cards

Controller

GRASP

separate UI from model

7
New cards

Polymorphism

GRASP

implementing classes

8
New cards

Pure fabrication

GRASP

make helper classes when no natural class works

9
New cards

Indirection

GRASP

add middle layer between classes for less dependency

10
New cards

Protected Variations

GRASP

protect system from what can change

11
New cards

SOLID

design & relationship of classes

12
New cards

Single responsibility

SOLID

one class = one job

13
New cards

Open/closed

SOLID

open for extension, closed for modification

14
New cards

Liskov substitution

SOLID

child objects can replace parent objects

15
New cards

Interface segregation

SOLID

client shouldn’t depend on methods it doesn’t use

16
New cards

Dependency inversion

SOLID

high-level classes shouldn’t depend on low-level classes

17
New cards

Singleton pattern (creational)

ensures only one instance of a class with global access

18
New cards

Factory method pattern (creational)

standard mechanism for object creation

19
New cards

Strategy pattern (behavioral)

encapsulate interchangeable behaviors, swap algorithms without changing the main code

20
New cards

Visitor pattern (behavioral)

add new operations to existing objects without altering object’s code

Explore top notes

note
Color Theory
Updated 1285d ago
0.0(0)
note
QNX (RWB GUIDE)
Updated 1362d ago
0.0(0)
note
Verbal Forms
Updated 678d ago
0.0(0)
note
States and Institutions
Updated 1217d ago
0.0(0)
note
Color Theory
Updated 1285d ago
0.0(0)
note
QNX (RWB GUIDE)
Updated 1362d ago
0.0(0)
note
Verbal Forms
Updated 678d ago
0.0(0)
note
States and Institutions
Updated 1217d ago
0.0(0)

Explore top flashcards