200-901 Practice Test practice questions, page 4 of 26, with answer review and explanations.
Question 16
Which statement describes the benefit of using functions in programming?
Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.
Functions create the implementation of secret and encrypted algorithms.
Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.
Functions store mutable values within a script or application.
Question 17
Refer to the exhibit. The output of a unified diff when comparing two versions of a Python script is shown. Which two `single_request_timeout()` functions are defined in fish.py and cat.py? (Choose two.) A. B. C. D. E.
Question 18
What is a benefit of organizing code into modules?
reduces the length of code
enables code to be multifunctional
enables the reuse of code
improves overall performance
Question 19
What is a benefit of organizing code into modules?
enables the code to be broken down into layers
improves collaboration of the development team
makes it easier to deal with large and complex systems
enables the inclusion of more programming languages in the code
Question 20
What is the Git command to delete a local branch named `experiment` without a warning?