0
0
HLDsystem_design~20 mins

Requirements gathering (functional and non-functional) in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Requirements Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Identify the correct functional requirement

Which of the following is a functional requirement for an online bookstore system?

AThe system shall allow users to search for books by title, author, or ISBN.
BThe system shall be available 99.9% of the time.
CThe system shall respond to user requests within 2 seconds.
DThe system shall encrypt user passwords using AES-256.
Attempts:
2 left
💡 Hint

Functional requirements describe what the system should do.

🧠 Conceptual
intermediate
2:00remaining
Identify the non-functional requirement

Which of the following is a non-functional requirement for a mobile banking app?

AThe app shall allow users to transfer money to other accounts.
BThe app shall support fingerprint authentication for login.
CThe app shall process transactions within 3 seconds.
DThe app shall provide monthly account statements.
Attempts:
2 left
💡 Hint

Non-functional requirements describe how the system performs or behaves.

tradeoff
advanced
3:00remaining
Tradeoff between functional and non-functional requirements

A video streaming service wants to add a new feature to allow offline downloads (functional requirement). However, this feature may increase storage costs and affect app performance (non-functional concerns). What is the best approach to handle this tradeoff?

ARemove the feature to keep non-functional requirements intact.
BAnalyze impact, optimize feature design, and balance both requirements.
CDelay the feature indefinitely until non-functional issues disappear.
DIgnore non-functional concerns and implement the feature fully.
Attempts:
2 left
💡 Hint

Good system design balances functional and non-functional needs.

Architecture
advanced
3:00remaining
Classify requirements for a ride-sharing app

Given these requirements for a ride-sharing app, classify each as functional (F) or non-functional (NF):
1. The app shall allow users to book rides.
2. The app shall encrypt user data.
3. The app shall handle 10,000 concurrent users.
4. The app shall provide driver ratings.

A1-F, 2-NF, 3-NF, 4-F
B1-F, 2-F, 3-NF, 4-NF
C1-NF, 2-F, 3-F, 4-NF
D1-NF, 2-NF, 3-F, 4-F
Attempts:
2 left
💡 Hint

Functional requirements describe features; non-functional describe qualities.

estimation
expert
4:00remaining
Estimate capacity based on non-functional requirements

A new messaging app expects 1 million daily active users. The non-functional requirement states the system must handle peak loads with 10 messages per user per day, with 99.99% uptime. What is the minimum message processing capacity per second the system should support during peak hours (assuming peak hour is 10% of the day)?

AApproximately 1,000,000 messages per second
BApproximately 1,157,400 messages per second
CApproximately 11,574 messages per second
DApproximately 1,157 messages per second
Attempts:
2 left
💡 Hint

Calculate total messages per day, then divide by peak hour seconds.