Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 462
What is the main purpose of a code review?
Answer options
- A. to identify and review errors with the team
- B. to detect logical errors
- C. to ensure that all code is checked in simultaneously
- D. to provide the technical lead visibility into all code
Correct answer: A
Explanation
The main aim of a code review is to identify and review errors in collaboration with the team, making option A correct. Option B, while related, is too narrow as it only focuses on logical errors. Options C and D do not capture the collaborative and error-identifying essence of a code review.