题目
3600 Final Exam- Requires Respondus LockDown Browser
单项选择题
Your tool changes the arithmetic operator in x = a + b to x = a - b. The mutant is then evaluated using your test suite. Why does mutation testing apply this kind of change?
选项
A.To simulate realistic user input
B.To validate performance optimizations
C.To identify dead code
D.To debug the original program
E.To model potential human coding errors
查看解析
标准答案
Please login to view
思路分析
The question describes a mutation testing scenario where an arithmetic operator in x = a + b is changed to x = a - b, and then the mutant is run against the test suite. This sets the stage for evaluating how well tests catch small, human-like mistakes in code.
Option 1: 'To simulate realistic user input' — This is inaccurate because mutation testing ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!