ExamGecko
Question list
Search
Search

Question 25 - 200-901 discussion

Report
Export

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.

Answers
A.

Refactor the code by removing any unnecessary tests.

B.

Reverse engineer and rewrite the code logic.

Answers
B.

Reverse engineer and rewrite the code logic.

C.

Using functions, rewrite any pieces of code that are repeated.

Answers
C.

Using functions, rewrite any pieces of code that are repeated.

D.

Modify the code to use loops.

Answers
D.

Modify the code to use loops.

Suggested answer: C
asked 07/10/2024
Matt Smith
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first