200-901 Practice Test

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?

  1. Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.
  2. Functions create the implementation of secret and encrypted algorithms.
  3. Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.
  4. 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?

  1. reduces the length of code
  2. enables code to be multifunctional
  3. enables the reuse of code
  4. improves overall performance

Question 19

What is a benefit of organizing code into modules?

  1. enables the code to be broken down into layers
  2. improves collaboration of the development team
  3. makes it easier to deal with large and complex systems
  4. 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?

  1. git branch ג€"rm experiment
  2. git branch ג€"n experiment
  3. git branch ג€"f experiment
  4. git branch ג€"D experiment