Which statement describes the benefit of using functions in programming?
Which statement describes the benefit of using functions in programming?
A . Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.
B . Functions create the implementation of secret and encrypted algorithms.
C . Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.
D . Functions store mutable values within a script or application.
Answer: A
Explanation:
Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions
Latest 200-901 Dumps Valid Version with 211 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
C. makes more sense…
Functions are used for grouping code that is repetitive to reduce code size and help make code easier to read. which fits answer C. a lot more than ensuring a developer understands logic (A.)