200-901 · Question #442
200-901 Question #442: Real Exam Question with Answer & Explanation
The correct answer is D: file comparison within the unified diff format. The exhibit shows unified diff format output, which represents file differences using '+' and '-' line prefixes along with hunk headers to indicate additions and deletions between two file versions.
Question
Refer to the exhibit. A developer got this output during the development of an application. Which action produces this output?
Options
- Aexecution of a Python script with numpy library
- Benhancement to Python numpy library
- Cupload of a script to a git repository
- Dfile comparison within the unified diff format
Explanation
The exhibit shows unified diff format output, which represents file differences using '+' and '-' line prefixes along with hunk headers to indicate additions and deletions between two file versions.
Common mistakes.
- A. Executing a Python script with numpy produces numerical computation results or array output, not the structured +/- line comparison format shown in the exhibit.
- B. Enhancing a numpy library would produce build, compilation, or installation log output, not a unified diff file comparison.
- C. Uploading a script to a git repository produces git push confirmation and remote tracking messages, not a diff comparison of file contents.
Concept tested. Unified diff format file comparison output
Reference. https://www.gnu.org/software/diffutils/manual/diffutils.html#Unified-Format
Topics
Community Discussion
No community discussion yet for this question.