Cisco DevNet Associate (DEVASC) 200-901 Question # 55 Topic 6 Discussion

Cisco DevNet Associate (DEVASC) 200-901 Question # 55 Topic 6 Discussion

200-901 Exam Topic 6 Question 55 Discussion:
Question #: 55
Topic #: 6

A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?


A.

Refactor the code by removing any unnecessary tests


B.

Using functions, rewrite any pieces of code that are repeated


C.

Reverse engineer and rewrite the code logic


D.

Modify the code to use loops


Get Premium 200-901 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.