>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
What makes a function pure? | SWE Maxx
← Question bank
Fundamentals · Multiple Choice
Difficulty: Easy
What makes a function pure?
Functions
Functional programming
Choose your answer
A
It always runs faster than an impure function.
B
It does not accept arguments.
C
It can only return a primitive value.
D
The same inputs produce the same output, with no observable side effects.
Check answer
More in Fundamentals →