皮皮学,免费搜题
登录
搜题
【简答题】
S oftware Testing is the process of executing a program or system with the intent of finding errors. O r, it involves any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results. S oftware is not unlike other physical processes where inputs are received and outputs are produced. W here software differs is in the manner in which it fails. M ost physical systems fail in a fixed (and reasonably small) set of ways. B y contrast, software can fail in many bizarre ways. D etecting all of the different failure modes for software is generally infeasible. U nlike most physical systems, most of the defects in software are design errors, not manufacturing defects. S oftware does not suffer from corrosion, wear-and-tear — generally it will not change until it upgrades, or until obsolescence ( 过时 ). S o once the software is shipped, the design defects — or bugs — will be buried in and remain latent until activation. S oftware bugs will almost always exist in any software module with moderate size: not because programmers are careless or irresponsible, but because the complexity of software is generally intractable — and humans have only limited ability to manage complexity. I t is also true that for any complex systems, design defects can never be completely ruled out. D iscovering the design defects in software, is equally difficult , for the same reason of complexity. B ecause software and any digital systems are not continuous, testing boundary values are not sufficient to guarantee correctness. A ll the possible values need to be tested and verified, but complete testing is infeasible. E xhaustively testing a simple program to add only two integer inputs of 32-bits would take hundreds of years, even if tests were performed at a rate of thousands per second. O bviously, for a realistic software module, the complexity can be far beyond the example mentioned here. I f inputs from the real world are involved, the problem will get worse, because timing and unpredictable environmental effects and human interactions are all possible inputs parameters under consideration. A further complication has to do with the dynamic nature of programs. I f a failure occurs during preliminary testing and the code is changed, the software may now work for a test case that it didn ’ t work for previously. B ut its behavior on pre-error test cases that it passed before can no longer be guaranteed. T o account for this possibility, testing should be restarted. T he expense of doing this is often prohibitive . A n interesting analogy parallels the difficulty in software testing with the pesticide, known as the Pesticide Paradox: Every method you use to prevent or find bugs leaves a residue of subtler bugs against which those methods are ineffectual. B ut this alone will not guarantee to make the software better, because the Complexity Barrier principle states: Software complexity (and therefore that of bugs) grows to the limits of our ability to manage that complexity. B y eliminating the (previous) easy bugs you allowed another escalation of features and complexity, but this time you have subtler bugs to face, just to retain the reliability you had before. S ociety seems to be unwilling to limit complexity because we all want that extra bell, whistle, and feature interaction. T hus, our users always push us to the complexity barrier and how close we can approach that barrier is largely determined by the strength of the techniques we can wield against ever more complex and subtle bugs. R egardless of the limitations, testing is an integral part in software development. I t is broadly deployed in every phase in the software development cycle. T ypically, more than 50% percent of the development time is spent in testing.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。 【说明】 某工业园区视频监控网络拓扑如图1-1所示。 图 1-1 【问题1】(4分) 图1-1中使用了SAN存储系统,SAN是一种连接存储管理子系统和 (1) 的专用网络。SAN分为FC SAN和IP SAN,其中FC SAN采用 (2) 互联;IP SAN采用 (3) 互联;SAN可以被看作是数据传输的后端网络,而前端网络则负责...
【简答题】在0.1582g含 CaCO 3 及不与酸作业杂质的石灰石中加入25.00mL 0.1471 mol.L -1 HCl溶液,过量的酸需用10.15mLNaOH溶液回滴。已知1mLNaOH溶液相当于1.032mLHCl,求石灰石的纯度及 CO 2 的质量分数 (提示:本题又是返滴定法,与上次相似,注意 CaCO 3 与HCl反应系数,此外一个CaCO 3 里含有一个 CO 2, 1mLNaOH溶液相...
【单选题】吉布斯自由能判据可以写作 ( )
A.
dG(T, V, Wf=0) ≤0
B.
dG( T, p, Wf=0)≤0
C.
dG(T, p, W=0) ≤0
D.
dG( T, p, Wf=0)≥0
【判断题】排水立管安装时应每两层设置一个检查口,但在设有卫生器具的最底层和最高层必须设置。
A.
正确
B.
错误
【简答题】在0.1582g含 及不与酸作用杂质的石灰石里加入25.00ml 0.1471 HCL溶液,过量的酸需用10.15ml NaOH溶液回滴,已知1mlNaOH溶液相当于1.032mlHCL溶液,求石灰石的纯度及CO2的质量分数
【单选题】吉布斯自由能判据可以写作:
A.
( A )
B.
( B )
C.
( C)
D.
(D)
【简答题】vi编辑器的三种工作模式 、 、 和 。
【单选题】吉布斯自由能判据可以写作: ( )
A.
、 (dG) T, p, W=0 ≤0
B.
、 (dG) ≤0
C.
、 (dG) T, p, W=0 ≥0
D.
(dG) ≥0
【单选题】立管安装时,在最底层和有卫生器具的最高层必须设置()。
A.
泄水口
B.
排气口
C.
检查口
【判断题】[判断题]排水立管安装时,在最底层和有卫生器具的最高层必须设置排气口。
A.
正确
B.
错误
相关题目: