软件测试主要考点梳理以及真题讲解(附答案)

简介: 软件测试主要考点梳理以及真题讲解(附答案)

需要题目答案及相关复习资料关注后留言私信即可~

白驹过隙,转眼大学三年就过去了,软件测试与维护也成为大学中最后一门考试的科目,接下来为大家总结一下软件测试与维护考试的主要内容、题型、以及真题答案

一、题型

题型仅限于我们学校(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 and

debugging

2:Please descricbe the difference between Top-down Integration and Bottom-up

Integration through drawing their model graph

3:What is the Stress Testing? Briefly describe the process of Stress Testing through using

Loadrunner testing tool

4:

大题

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 else

9 leap = 0;

10 }

11 else

12 leap = 1;

13 }

14 else

15 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

A insurance company publishes a insurance solution, the insurance premium

computation 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 total

points ), the insurance rate above 10 points>=10 pointsis 0.6%, the insurance rate

below 10 points(<10 points) is 0.1%, and the points are determined by the age, sex, and

marriage 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

简化后如下

再根据简化后的决策表设计测试用例

Design the testcases

1) age = 30, sex = male, marriage = married insurance rate: 0.6%

2) age = 15, sex = male, marriage = unmarried insurance rate: 0.6%

3) age = 62, sex = female, marriage = married insurance rate: 0.1%

 

The company A has undertaken the construction of office automation system for the

company B. At the beginning of October 2014, at the stage of development, the project is

expected to complete all the development work in May 2015, but the contract stipulates

that the system acceptance time is at the end of October 2014. Therefore, in the early

October 2014, the company A submitted a request to the company B for acceptance test at

the 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 testing

engineers, external testing experts and external experts

1) Is the practice of company A correct? Please give a reason

A company's practice is incorrect.

Acceptance testing is performed after functional testing and system testing, so the

prerequisite for acceptance testing is that the system or software product has passed

internal testing. Then check the software with the user and run the software in a real

environment to see if there is a problem that is inconsistent with the user's needs or violates

the requirements of the product specification. Because the tester cannot completely use the

actual situation of the user, whether the software truly meets the requirements of the end

user, the user should perform a series of acceptance tests.

The software development of Company A was not completed and conditions for carrying

out acceptance tests were not available

2) If the software has been delivered in use, the company B requests to add new

functions to meet the new needs. Please answer:

Which stage of software process does this stage belong toWhat is the basic

definition of this stage

This stage belongs to the software maintenance stage.

Software maintenance refers to the modification of code and related documents due to a

software product's problem or need for improvement. The purpose of the software

maintenance is to modify the existing software product while maintaining its integrity

Please give a workflow description to meet the new functional requirements?(7

points

1. Users propose changes

2. Developer classification and identification

3. Software requirements analysis

4. Software design

5. Software implementation

6. System test

7. Acceptance test

8. Software delivery

相关文章
|
JavaScript Java 测试技术
基于springboot+vue.js+uniapp的多功能智能手机阅读APP附带文章源码部署视频讲解等
基于springboot+vue.js+uniapp的多功能智能手机阅读APP附带文章源码部署视频讲解等
329 1
|
XML 前端开发 Java
Spring Boot的Web开发之Thymeleaf模板引擎的解析及使用(Thymeleaf的基础语法以及常用属性)
Spring Boot的Web开发之Thymeleaf模板引擎的解析及使用(Thymeleaf的基础语法以及常用属性)
525 0
|
存储 分布式计算 负载均衡
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
1877 0
|
Android开发
Android实战之如何快速实现自动轮播图
本文介绍了在 Android 中使用 `ViewPager2` 和自定义适配器实现轮播图的方法,包括添加依赖、布局配置、创建适配器及实现自动轮播等步骤。
619 0
|
XML Android开发 数据格式
Android Studio App开发实战项目之实现淘宝电商App首页界面(附源码,可用于大作业参考)
Android Studio App开发实战项目之实现淘宝电商App首页界面(附源码,可用于大作业参考)
1778 1
|
分布式计算 Hadoop 大数据
Hadoop与Spark在大数据处理中的对比
【7月更文挑战第30天】Hadoop和Spark在大数据处理中各有优势,选择哪个框架取决于具体的应用场景和需求。Hadoop适合处理大规模数据的离线分析,而Spark则更适合需要快速响应和迭代计算的应用场景。在实际应用中,可以根据数据处理的需求、系统的可扩展性、成本效益等因素综合考虑,选择适合的框架进行大数据处理。
|
算法 决策智能 Python
Python高级算法——线性规划(Linear Programming)
Python高级算法——线性规划(Linear Programming)
1098 0
Python高级算法——线性规划(Linear Programming)
|
缓存 安全 Java
基于BuildKit优化Dockerfile的构建
基于BuildKit优化Dockerfile的构建
|
7月前
|
弹性计算 关系型数据库 微服务
基于 Docker 与 Kubernetes(K3s)的微服务:阿里云生产环境扩容实践
在微服务架构中,如何实现“稳定扩容”与“成本可控”是企业面临的核心挑战。本文结合 Python FastAPI 微服务实战,详解如何基于阿里云基础设施,利用 Docker 封装服务、K3s 实现容器编排,构建生产级微服务架构。内容涵盖容器构建、集群部署、自动扩缩容、可观测性等关键环节,适配阿里云资源特性与服务生态,助力企业打造低成本、高可靠、易扩展的微服务解决方案。
2176 10
|
机器学习/深度学习 自然语言处理 算法
【Python自然语言处理】概率上下文无关文法(PCFG)及神经网络句法分析讲解(图文解释 超详细)
【Python自然语言处理】概率上下文无关文法(PCFG)及神经网络句法分析讲解(图文解释 超详细)
1078 0