需要题目答案及相关复习资料关注后留言私信即可~
白驹过隙,转眼大学三年就过去了,软件测试与维护也成为大学中最后一门考试的科目,接下来为大家总结一下软件测试与维护考试的主要内容、题型、以及真题答案
一、题型
题型仅限于我们学校(SCUT),其他学校的题型不太了解,我们是20分的名词解释题、30分的简答题。名词解释题就是给出名词去解释它的意思及相关方法、含义等,简答题就是给出一些问题让你去用自己的话回答,通常也是书上常见的一些名词,但是会展开问一下它主要适用于什么场景,用的什么方法、为什么要使用它等等,值得注意的是这里通常会考一个自动化测试工具的问题,需要同学们熟悉一下,总而言之多看两遍书,都是能回答个七七八八的
二、主要考点内容
重点自然是黑盒测试、白盒测试。黑盒中重点是等价类划分、边界值分析、决策表等方法,白盒测试中重点是条件覆盖、判定覆盖、基本路径覆盖等,这些都是容易出大题的,思想不难理解,多看几遍就可以了
简答题主要会考测试的一些基本概念如
单元测试
集成测试
系统测试
验收测试
而每个测试又有可能深入去考里面的细节,比如单元测试主要使用白盒测试,集成测试里面有基于分解的测试如大爆炸测试、自顶向下、自底向上、三明治集成等,系统测试里有功能测试、非功能测试、回归测试,验收测试里有Alpha、Beta测试等等,其中概念需大家自行熟悉
三、真题讲解
名词解释题
1:Alpha testing
2:Stub
3:Static white-box testing
4:W model
简答题
1:What is software testing? What is the difference between software testing anddebugging2:Please descricbe the difference between Top-down Integration and Bottom-upIntegration through drawing their model graph3:What is the Stress Testing? Briefly describe the process of Stress Testing through usingLoadrunner testing tool4:
大题
Int IsLeap(int year)1 {2 if (year % 4 = = 0)3 {4 if (year % 100 == 0)5 {6 if ( year % 400 = = 0)7 leap = 1;8 else9 leap = 0;10 }11 else12 leap = 1;13 }14 else15 leap = 0;16 return leap;17 }
1:Please draw the program flow chart of the above code
2:Please calculating the condition number of the above program flow graph
3:Assuming that the input range is 1000 < year < 2001, please use the condition coverage test method to design the testcases to meet the requirements of the condition coverage
![](https://i-blog.csdnimg.cn/blog_migrate/0b71635ba9d35029371fd73be717c199.png)
A insurance company publishes a insurance solution, the insurance premiumcomputation formula in this solution is as below:the insurance premium= the amount insured* the insurance rate 。the premium rate of which is different according to the number of points( the totalpoints ), the insurance rate above 10 points ( >=10 points ) is 0.6%, the insurance ratebelow 10 points(<10 points) is 0.1%, and the points are determined by the age, sex, andmarriage status,the total points are equal to the sum of the points. .—— the rules of the rate are as follows:
1:Please design testcases to calculate the insurance premium through using techniques of decision table
![](https://i-blog.csdnimg.cn/blog_migrate/445bae1135d5639200e80f8a4bbb44aa.png)
简化后如下
再根据简化后的决策表设计测试用例
The company A has undertaken the construction of office automation system for thecompany B. At the beginning of October 2014, at the stage of development, the project isexpected to complete all the development work in May 2015, but the contract stipulatesthat the system acceptance time is at the end of October 2014. Therefore, in the earlyOctober 2014, the company A submitted a request to the company B for acceptance test atthe end of October 2014, and gave a detailed test plan.In this plan, the company A point out that the testing team is made up of A's testingengineers, external testing experts and external experts
1) Is the practice of company A correct? Please give a reason