0
0
LLDsystem_design~10 mins

Code review checklist for LLD - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to check if the design follows the {{BLANK_1}} principle.

LLD
if design.adheres_to("[1]"):
    print("Design is modular and easy to maintain.")
Drag options to blanks, or click blank then click option'
ASingle Responsibility
BOpen-Closed
CLiskov Substitution
DDependency Inversion
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Single Responsibility with Open-Closed principle.
2fill in blank
medium

Complete the code to validate if the design uses {{BLANK_1}} to reduce tight coupling.

LLD
if design.uses("[1]"):
    print("Design is loosely coupled.")
Drag options to blanks, or click blank then click option'
Ainheritance
Bhardcoded dependencies
Cglobal variables
Dinterfaces
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing inheritance which can increase coupling.
3fill in blank
hard

Fix the error in the checklist code to ensure {{BLANK_1}} is properly checked.

LLD
if not design.has_clear_[1]():
    raise ValueError("Design lacks clarity in this aspect.")
Drag options to blanks, or click blank then click option'
Anaming
Bcomments
Cinterfaces
Ddependencies
Attempts:
3 left
💡 Hint
Common Mistakes
Checking interfaces instead of naming clarity.
4fill in blank
hard

Fill both blanks to verify design {{BLANK_1}} and {{BLANK_2}}.

LLD
if design.has_[1]() and design.is_[2]():
    print("Design is scalable and maintainable.")
Drag options to blanks, or click blank then click option'
Amodularity
Bperformance
Cextensible
Dtestable
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing performance or testable which are important but not the focus here.
5fill in blank
hard

Fill all three blanks to check design {{BLANK_1}}, {{BLANK_2}}, and {{BLANK_3}}.

LLD
if design.is_[1]() and design.has_[2]() and design.supports_[3]():
    print("Design meets quality standards.")
Drag options to blanks, or click blank then click option'
Atestable
Bdocumentation
Cscalability
Dsecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing security with scalability or testability.