收藏 分享(赏)

MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx

上传人:小肥粒 文档编号:21765136 上传时间:2024-04-24 格式:DOCX 页数:16 大小:30.70KB
下载 相关 举报
MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx_第1页
第1页 / 共16页
MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx_第2页
第2页 / 共16页
MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx_第3页
第3页 / 共16页
MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx_第4页
第4页 / 共16页
MOOC 软件测试-南京邮电大学 中国大学慕课答案.docx_第5页
第5页 / 共16页
亲,该文档总共16页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、 MOOC 软件测试-南京邮电大学 中国大学慕课答案随堂测验1、问题:Which item is static defect in the software?选项:A、BugB、FaultC、ErrorD、Failure正确答案:【Fault】2、问题:Which item is incorrect internal state that is the manifestation of some fault?选项:A、BugB、FaultC、ErrorD、Failure正确答案:【Error】3、问题:Which item is external incorrect behavior with

2、 respect to the requirements orother description of the expected behavior?选项:A、BugB、FaultC、ErrorD、Failure正确答案:【Failure】从Bug 故事中找 bugPIE 模型案例构造基础知识测验1、问题:Find the wrong item that describes objectiveness of software testing.选项:A、Evaluate the quality of softwareB、Detect faults in softwareC、Find defects

3、 in software D、Assure that there are not any faults in software正确答案:【Assure that there are not any faults in software】2、问题:After integration testing, ( ) should be performed in the next phase.选项:A、Unit testingB、Module testingC、System testingD、Regression testing正确答案:【System testing】3、问题:Which is not

4、the necessary condition of software failure.选项:A、There are enough test casesB、The location in the program that contain the fault must be reachedC、The state of the program must be incorrectD、The incorrect state must propagate to cause some output to be incorrect正确答案:【There are enough test cases】4、问题:

5、White-box testing should design test cases according to ( )?选项:A、Requirement documentsB、Users handbookC、Source codeD、Functions of program正确答案:【Source code】5、问题:Find the right item that describes the quality of test case.选项:A、The more test cases there are, the betterB、The few test cases there are, th

6、e betterC、The more faults are detected, the betterD、The easier the test case is, the better正确答案:【The more faults are detected, the better】6、问题:Software Error is a static defect in the software.选项:A、正确B、错误正确答案:【错误】7、问题:Testing is to fix bugs in software.选项: A、正确B、错误正确答案:【错误】8、问题:Gray-box testing is t

7、o merge black-box testing and white-box testing.选项:A、正确B、错误正确答案:【错误】9、问题:In software development, verification is often an internal process.选项:A、正确B、错误正确答案:【正确】10、问题:Performance Testing is same to the Stress Testing.选项:A、正确B、错误正确答案:【错误】随堂测验1、问题:Random testing must be performed automatically.选项:A、正确B

8、、错误正确答案:【正确】2、问题:Adaptive random testing detects faults more rapidly than random testing.选项:A、正确B、错误正确答案:【正确】随堂测验1、问题:There are totally () steps to construct a decision table.选项:A、2B、3 C、4D、5正确答案:【5】随堂测验1、问题:Which one is not involed in exploratory testing?选项:A、Test-related learingB、Test designC、Test

9、 executionD、Debugging正确答案:【Debugging】等价类划分与边界值分析随机测试相关的概率测试技术基础知识测验1、问题:Which one is not the advantage of random testing.选项:A、It detects fault rapidlyB、It is easy to perform automated testingC、Test cases obey uniform distributionD、It may be easy to calculate probability of fault detection正确答案:【It de

10、tects fault rapidly】2、问题:Which technique does not belong to input-domain testing technique.选项:A、Random testingB、Equivalent partitioningC、Boundary-value analysisD、GUI testing正确答案:【GUI testing】3、问题:There are totally ( ) steps in functional testing.选项:A、2B、3C、4 D、5正确答案:【4】4、问题:Which one is not involed

11、in exploratory testing?选项:A、Test-related learingB、Test designC、Test executionD、Debugging正确答案:【Debugging】5、问题:There are totally () steps to construct a decision table.选项:A、2B、3C、4D、5正确答案:【5】6、问题:Random testing must be performed automatically.选项:A、正确B、错误正确答案:【正确】7、问题:Adaptive random testing detects mo

12、re faults than random testing.选项:A、正确B、错误正确答案:【错误】8、问题:Anti-random testing detects faults more rapidlythan random testing.选项:A、正确B、错误正确答案:【正确】9、问题:In combinatorial testing, pairwise testing need more test cases than 3-waycombinatorial testing.选项:A、正确B、错误正确答案:【错误】 10、问题:Exploratoty testing is one of

13、input-domain testing techniques.选项:A、正确B、错误正确答案:【错误】随堂测验1、问题:In white-box testing, the statement coverage must achieve 100% by runningtest cases as many as possible.选项:A、正确B、错误正确答案:【错误】2、问题:The statement coverage is stronger than the branch coverage.选项:A、正确B、错误正确答案:【错误】随堂测验1、填空题:There is a statement

14、 “if(A!=1)(B3)(C=0)” in program, at least ( ) testcases are required to achieve 100% decision coverage? (give the interger, e.g. 1, 2, 3, 4,.)正确答案:【2】2、填空题:There is a statement “if(A!=1)(B3)(C=0)” in program, at least ( ) testcases are required to achieve 100% condition coverage? (give the interger,

15、 e.g. 1, 2, 3, 4,.)正确答案:【2】3、填空题:There is a statement “if(A!=1)(B3)(C=0)” in program, at least ( ) testcases are required to achieve 100% decision/condition coverage? (give the interger, e.g.1, 2, 3, 4, .)正确答案:【2】4、填空题:There is a statement “if(A!=1)(B3)(C=0)” in program, how many testcases are requi

16、red to achieve 100% condition combination coverage? (give the interger,e.g. 1, 2, 3, 4, .)正确答案:【8】 5、填空题:There is a statement “if(A!=1)(B3)(C=0)” in program, at least ( ) testcases are required to achieve 100% MCDC coverage? (give the interger, e.g. 1, 2, 3, 4, .)正确答案:【4】随堂测验1、问题:In fault-based logi

17、c testing, which mutation operator(s) is(are) the moststronger mutation operator(s)?选项:A、ASFB、CCFC、CDFD、ENF正确答案:【CCF#CDF】测试充分性基础知识测验1、问题:There is a statement “if(A!=1)(B3)” in program, how many test cases arerequired to achieve 100% MCDC coverage?选项:A、1B、2C、3D、4正确答案:【3】2、问题:There is a statement “if(

18、A!=1)(B3)” in program, how many test cases arerequired to achieve 100% branch coverage?选项:A、1B、2C、3D、4正确答案:【2】3、问题:Which technique does not belong to path coverage techniques.选项:A、All path coverageB、Prime path coverageC、Basic path coverageD、All-du-paths coverage正确答案:【All-du-paths coverage】 4、问题:Find

19、 the right item that describes the quality of test case.选项:A、The more test cases there are, the betterB、The less test cases there are, the betterC、The more conditions are checked, the betterD、The easier the test case is, the better正确答案:【The more conditions are checked, the better】5、问题:Find the wrong

20、 item that describes the quality of test case.选项:A、The more mutants are killed, the betterB、The more faults are detected, the betterC、The more codes are covered, the betterD、The more test cases there are, the better正确答案:【The more test cases there are, the better】6、问题:In white-box testing, the statem

21、ent coverage must achieve 100% by runningtest cases as many as possible.选项:A、正确B、错误正确答案:【错误】7、问题:In logic testing, the decision coverage must achieve 100% by running testcases as many as possible.选项:A、正确B、错误正确答案:【错误】8、问题:In logic testing, decision coverage is stronger than condition coverage.选项:A、正确

22、B、错误正确答案:【错误】9、问题:In data flow testing, all-du-paths coverage usually covers more paths than all-uses coverage.选项:A、正确B、错误正确答案:【正确】 10、问题:In fault-based logic testing, the mutation operator CCF is stronger than themutation operator ORF.选项:A、正确B、错误正确答案:【错误】期末考试客观题1、问题:Find the right item that describ

23、es the objectiveness of software testing.选项:A、Evaluate the quality of softwareB、Correct revealed faults in softwareC、Detect all possible faults in softwareD、Assure that there is not any faults in software正确答案:【Evaluate the quality of software】2、问题:( ) should be performed before integration testing.选

24、项:A、Unit testingB、Safety testingC、System testingD、Regression testing正确答案:【Unit testing】3、问题:Which one is not the reason why it is difficult to observe software failure.选项:A、A test may not execute the location of the faultB、A test executing the fault may not produce an errorC、An error may not be prop

25、agated to the outputD、There are not enough test cases正确答案:【There are not enough test cases】4、问题:Black-box testing should design test cases according to ( )?选项:A、Source codeB、Control-flow graphC、Logic in programD、Functions of program正确答案:【Functions of program】 5、问题:Find the right item that describes

26、the quality of test case.选项:A、The more test cases there are, the betterB、The less test cases there are, the betterC、The more branches are checked, the betterD、The easier the test case is, the better正确答案:【The more branches are checked, the better】6、问题:Find the wrong item that describes the quality of

27、 test case.选项:A、The more mutants are killed, the betterB、The more codes are covered, the betterC、The more faults are detected, the betterD、The more test cases there are, the better正确答案:【The more test cases there are, the better】7、问题:Which one is not the advantage of random testing.选项:A、It detects fa

28、ult rapidlyB、It is easy to perform automated testingC、Test cases obey uniform distributionD、It may be easy to calculate probability of fault detection正确答案:【It detects fault rapidly】8、问题:Which one is the advantage of adaptive random testing.选项:A、It detects more faultsB、It detects fault more rapidlyC、

29、Test cases obey uniform distributionD、It can generate many test cases正确答案:【It detects fault more rapidly】9、问题:There are totally ( ) steps in functional testing.选项:A、2B、3C、4D、5正确答案:【4】10、问题:There are totally ( ) steps to construct a decision table.选项: A、2B、3C、4D、5正确答案:【5】11、问题:Which one is not involv

30、ed in exploratory testing?选项:A、Test-related learningB、Test designC、Test executionD、Debugging正确答案:【Debugging】12、问题:Which technique does not belong to input-domain testing technique.选项:A、Random testingB、Equivalent partitioningC、Boundary-value analysisD、Mutation testing正确答案:【Mutation testing】13、问题:Ther

31、e is a statement “if(A!=1)(B3)” in program, how many test cases arerequired to achieve 100% condition coverage?选项:A、1B、2C、3D、4正确答案:【2】14、问题:There is a statement “if(A!=1)(B3)” in program, how many test cases arerequired to achieve 100% decision coverage?选项:A、1B、2C、3D、4正确答案:【2】15、问题:Which technique d

32、oes not belong to path coverage techniques.选项:A、All path coverage B、Prime path coverageC、Basic path coverageD、All-du-paths coverage正确答案:【All-du-paths coverage】16、问题:Which one is the tool for combinatorial testing?选项:A、Selenium IDEB、PICTC、JUnitD、GTest正确答案:【PICT】17、问题:Which one is the tool for perform

33、ance testing?选项:A、Selenium IDEB、GTestC、WebDriverD、JMeter正确答案:【JMeter】18、问题:Which one is not the tool for Web testing?选项:A、Selenium IDEB、WebDriverC、JMeterD、PICT正确答案:【PICT】19、问题:Which technique does not belong to data-flow testing.选项:A、All-def coverageB、All-use coverageC、Basic path coverageD、All-du-pa

34、th coverage正确答案:【Basic path coverage】20、问题:There are ( )basic paths for the following program.int FUN(int count, intflag) int temp=0; while(count0) if(0=flag) temp=count+100; else if(1=flag)temp=temp+10; else temp=temp+20; count-; return temp;选项:A、2B、3 C、4D、5正确答案:【4】21、问题:Software fault is a static

35、defect in the software.选项:A、正确B、错误正确答案:【正确】22、问题:Debugging is to reveal bugs in software.选项:A、正确B、错误正确答案:【错误】23、问题:Gray-box testing is to merge black-box testing and white-box testing.选项:A、正确B、错误正确答案:【错误】24、问题:In software development, verification involves acceptance and suitabilitywith external cus

36、tomers.选项:A、正确B、错误正确答案:【错误】25、问题:Stress testing is one of performance testing.选项:A、正确B、错误正确答案:【正确】26、问题:Random testing could be performed manually.选项:A、正确B、错误正确答案:【错误】27、问题:Adaptive random testing detects faults more rapidlythan random testing.选项: A、正确B、错误正确答案:【正确】28、问题:Anti-random testing detects m

37、ore faults than random testing.选项:A、正确B、错误正确答案:【错误】29、问题:In combinatorial testing, 3-way combinatorial testing need more test casesthanpairwisecombinatorial testing.选项:A、正确B、错误正确答案:【正确】30、问题:Exploratory testing is one of source code-based testing techniques.选项:A、正确B、错误正确答案:【错误】31、问题:In white-box tes

38、ting, the branch coverage must achieve 100% by running testcases as many as possible.选项:A、正确B、错误正确答案:【错误】32、问题:In logic testing, the decision/condition coverage must achieve 100% byrunning test cases as many as possible.选项:A、正确B、错误正确答案:【错误】33、问题:In logic testing, condition coverage is stronger than

39、decision coverage.选项:A、正确B、错误正确答案:【错误】 34、问题:In data flow testing, all-du-paths coverage usually covers more paths thanall-defs coverage.选项:A、正确B、错误正确答案:【正确】35、问题:In fault-based logic testing, the mutation operator CDF is stronger than themutation operator ASF.选项:A、正确B、错误正确答案:【错误】36、问题:Test case tha

40、t detect no fault is low-quality test case.选项:A、正确B、错误正确答案:【错误】37、问题:If there are n conditions in a decision table, then there must be 2nrules insuch decision table.选项:A、正确B、错误正确答案:【错误】38、问题:There should be an expected result in a test case.选项:A、正确B、错误正确答案:【正确】39、问题:There may be a fault, which canno

41、t be revealed by any test cases.选项:A、正确B、错误正确答案:【正确】40、问题:The number of basic paths must be equal to the McCabe complexity.选项:A、正确 B、错误正确答案:【错误】41、填空题:In the input domain of a program, the rate of failure inputs is 0.1.Supposing we test the program using 5 test cases that generated by random testing. Whatis the probability of the event that only the 5-th test case detect the fault? (给出浮点数答案即可,如 0.xxxxx,精度为小数点后 5 位)正确答案:【0.06561】42、填空题:For following program:void FUN(int a, int b, int c, int d) if(a=2) (d=5)if (!(b3) | !(c4) need ( ) test cases to achieve branch coverage.正确答案:【3】

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 大学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:文库网官方知乎号:文库网

经营许可证编号: 粤ICP备2021046453号世界地图

文库网官网©版权所有2025营业执照举报