Bird
0
0
LLDsystem_design~20 mins

Requirements and use cases in LLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Requirements Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Functional vs Non-Functional Requirements

Which of the following is an example of a non-functional requirement in a system design?

AThe system must allow users to reset their passwords via email.
BThe system should support login using username and password.
CThe system must store user profiles with name and email address.
DThe system should respond to user requests within 2 seconds.
Attempts:
2 left
💡 Hint

Non-functional requirements describe how the system performs rather than what it does.

Architecture
intermediate
2:00remaining
Use Case Diagram Interpretation

Given a use case diagram with actors: User, Admin; and use cases: Login, Manage Users, View Reports, which use case is typically exclusive to the Admin actor?

AManage Users
BAll use cases are for both actors
CView Reports
DLogin
Attempts:
2 left
💡 Hint

Think about which actions require higher privileges.

scaling
advanced
2:00remaining
Estimating System Load from Use Cases

A system has 10,000 daily active users. The use case 'Upload Photo' is used by 20% of users daily, each uploading 3 photos on average. What is the estimated number of photo uploads per day?

A6,000 uploads
B30,000 uploads
C200,000 uploads
D600 uploads
Attempts:
2 left
💡 Hint

Calculate the number of users performing the action and multiply by average uploads.

tradeoff
advanced
2:00remaining
Tradeoff Between Requirements and System Complexity

Adding a requirement for real-time notifications increases system complexity. Which is the best tradeoff approach?

AIgnore the requirement to keep system simple.
BBuild a complex event-driven system from the start.
CImplement notifications with a simple polling mechanism initially.
DDelay notifications feature indefinitely.
Attempts:
2 left
💡 Hint

Consider starting simple and improving later.

component
expert
2:00remaining
Identifying Components from Use Cases

Given use cases: User Registration, Payment Processing, Order Tracking, which component should handle the 'Payment Processing' use case in a modular system?

AUser Interface Component
BPayment Gateway Component
CAuthentication Component
DOrder Management Component
Attempts:
2 left
💡 Hint

Think about which component deals with money transactions.