0
0
HLDsystem_design~10 mins

Requirements gathering (functional and non-functional) in HLD - Interactive Code Practice

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

Complete the code to identify the type of requirement that describes what the system should do.

HLD
requirement_type = "[1]"  # This type defines system behaviors and features
Drag options to blanks, or click blank then click option'
Atechnical
Bfunctional
Cnon-functional
Dbusiness
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing functional with non-functional requirements.
2fill in blank
medium

Complete the code to identify the type of requirement that defines system qualities like performance and security.

HLD
requirement_type = "[1]"  # This type defines system qualities and constraints
Drag options to blanks, or click blank then click option'
Afunctional
Binterface
Cuser
Dnon-functional
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up functional and non-functional requirements.
3fill in blank
hard

Fix the error in the code to correctly classify a requirement about system uptime.

HLD
requirement_type = "[1]"  # System uptime is a measure of availability
Drag options to blanks, or click blank then click option'
Anon-functional
Bfunctional
Cbusiness
Dregulatory
Attempts:
3 left
💡 Hint
Common Mistakes
Classifying uptime as a functional requirement.
4fill in blank
hard

Fill both blanks to complete the dictionary that maps requirement types to examples.

HLD
examples = {"[1]": "User login", "[2]": "Response time under 2 seconds"}
Drag options to blanks, or click blank then click option'
Afunctional
Bnon-functional
Cperformance
Dsecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping functional and non-functional keys.
5fill in blank
hard

Fill all three blanks to complete the list comprehension that filters functional requirements containing 'data'.

HLD
filtered = [req for req in requirements if req["type"] == "[1]" and "[2]" in req["[3]"]]
Drag options to blanks, or click blank then click option'
Afunctional
Bdata
Cdescription
Dnon-functional
Attempts:
3 left
💡 Hint
Common Mistakes
Using non-functional instead of functional.
Checking wrong field for 'data'.