0
0
LLDsystem_design~10 mins

Use case diagrams in 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 name the main actor in a use case diagram.

LLD
actor [1]
Drag options to blanks, or click blank then click option'
AUser
BSystem
CDatabase
DServer
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing system components like Server or Database as actors.
2fill in blank
medium

Complete the code to define a use case named 'Login'.

LLD
usecase [1] as "Login"
Drag options to blanks, or click blank then click option'
AStart
BLogin
CUserLogin
DUC1
Attempts:
3 left
💡 Hint
Common Mistakes
Using the descriptive name as the identifier.
3fill in blank
hard

Fix the error in the association between actor and use case.

LLD
actor User
usecase UC1 as "Login"
User [1] UC1
Drag options to blanks, or click blank then click option'
A--
B<->
C-->
D->
Attempts:
3 left
💡 Hint
Common Mistakes
Using arrows which imply direction.
4fill in blank
hard

Fill both blanks to show an include relationship from 'Register' to 'Validate User'.

LLD
usecase Register as "Register"
usecase ValidateUser as "Validate User"
Register [1] ValidateUser [2]
Drag options to blanks, or click blank then click option'
A<|--
B--
C<|..
D..>
Attempts:
3 left
💡 Hint
Common Mistakes
Using solid lines or wrong arrowheads for include.
5fill in blank
hard

Fill all three blanks to define an extend relationship from 'Make Payment' to 'Apply Discount' with condition '[if eligible]'.

LLD
usecase MakePayment as "Make Payment"
usecase ApplyDiscount as "Apply Discount"
MakePayment [1] ApplyDiscount [2] : [3]
Drag options to blanks, or click blank then click option'
A<|..
B..>
C[if eligible]
D--
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing include and extend arrows or missing the condition label.