早教吧 育儿知识 作业答案 考试题库 百科 知识分享
早教吧考试题库频道 --> 计算机类考试 -->软考中级 -->

●XP is (1)of interesting twists that encourage one to think -- for example, how about "Tes

题目

● XP is (1)of interesting twists that encourage one to think -- for example, how about "Test and then code"? I’ve worked with software companies and a few IT organizations in (2)programmer performance was measured on lines of code delivered and testing was measured on defects found ---- (3)side was motivated to reduce the number of defects prior to testing. XP uses two types of testing: unit and functional.(4), the practice for unit testing involves developing the test for the feature prior to writing the code and further states that the tests should be automated. Once the code is written, it is immediately (5)to the test suite bringing instant feedback.

(1)A. filled B. stuff C. pack D. full

(2)A. them B. where C. that D. which

(3)A. both B. neither C. no D. either

(4)A. whereas B. Although C. However D. And then

(5)A. subjected B. submitted C. sent D. suffered

参考答案
正确答案:D,D,B,C,A
    这是一篇关于极限编程(XP)测试的短文,译文如下:
    XP充满发人深思的有趣的难题。例如:什么是先测试后编码?我曾在软件公司和一些IT机构工作,在那里他们用代码的行数来度量程序员的工作,而对于测试则用发现的缺陷数量来度量。这两种方法对于减少测试前产生的缺陷数量都不富有鼓励性。XP使用两种测试:单元测试和功能测试。单元测试的准则要求在写代码之前就为相关特征开发出相应功能的测试,并进一步要求测试是自动化的。代码一旦编写完成,就用一系列测试对其测试,从而得到迅速的反馈。