Solved

A Developer Is Reviewing a Code That Was Written by a Colleague

Question 19

Multiple Choice

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) Reverse engineer and rewrite the code logic.
C) Using functions, rewrite any pieces of code that are repeated.
D) Modify the code to use loops.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents