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

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

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

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

一、题型

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

相关文章
|
Kubernetes 开发者 Docker
构建高效微服务架构:Docker与Kubernetes的协同
在当今快速迭代和部署应用程序的背景下,微服务架构已成为企业开发的首选模式。此文章通过深入分析Docker容器化技术和Kubernetes集群管理工具,探讨了如何利用这两者协同工作以构建和维护一个高效的微服务系统。我们将剖析Docker和Kubernetes的核心原理,并展示它们如何简化部署流程、提高系统的可伸缩性和可靠性。本文旨在为开发者提供一套实践指南,帮助其在云原生时代下,构建出既灵活又强大的后端服务。
424 3
C# DEV 关于设置gridview 指定单元格字体为红色
C# DEV 关于设置gridview 指定单元格字体为红色
|
存储 分布式计算 负载均衡
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
2011 0
|
监控 Linux 数据安全/隐私保护
|
9月前
|
弹性计算 关系型数据库 微服务
基于 Docker 与 Kubernetes(K3s)的微服务:阿里云生产环境扩容实践
在微服务架构中,如何实现“稳定扩容”与“成本可控”是企业面临的核心挑战。本文结合 Python FastAPI 微服务实战,详解如何基于阿里云基础设施,利用 Docker 封装服务、K3s 实现容器编排,构建生产级微服务架构。内容涵盖容器构建、集群部署、自动扩缩容、可观测性等关键环节,适配阿里云资源特性与服务生态,助力企业打造低成本、高可靠、易扩展的微服务解决方案。
2347 10
|
JSON JavaScript 测试技术
Postman 使用教程:从基础到高级
Postman是一款强大的API开发和测试工具,支持从基础请求发送到复杂API集成。本文详细介绍了Postman的基础使用,包括安装、界面概览、发送请求、设置请求头等,以及高级功能,如使用环境变量、创建请求集合、编写测试脚本及使用Newman进行命令行测试,帮助用户全面掌握Postman的使用技巧。
7686 28
Postman 使用教程:从基础到高级
|
JSON Java 定位技术
【Android App】GPS获取定位经纬度和根据经纬度获取详细地址讲解及实战(附源码和演示 超详细)
【Android App】GPS获取定位经纬度和根据经纬度获取详细地址讲解及实战(附源码和演示 超详细)
6312 2
|
移动开发 前端开发 JavaScript
SpringBoot3 整合Thymeleaf 模板引擎
Thymeleaf 是一个基于 Java 的现代模板引擎,支持 HTML 原型,文件后缀为 .html,可直接在浏览器中查看静态效果。它与 Spring Boot 完美整合,默认配置即可使用,无需额外视图解析器设置。Thymeleaf 支持多种表达式(如变量、链接、国际化等)和 th 属性(如 th:text、th:if 等),适用于 Web 和非 Web 应用开发。通过 th:fragment、th:insert、th:replace 和 th:include 等属性,可以抽取和复用公共页面片段,并支持参数传递。
2085 12
|
Android开发
Android实战之如何快速实现自动轮播图
本文介绍了在 Android 中使用 `ViewPager2` 和自定义适配器实现轮播图的方法,包括添加依赖、布局配置、创建适配器及实现自动轮播等步骤。
671 0
|
分布式计算 Hadoop 大数据
Hadoop与Spark在大数据处理中的对比
【7月更文挑战第30天】Hadoop和Spark在大数据处理中各有优势,选择哪个框架取决于具体的应用场景和需求。Hadoop适合处理大规模数据的离线分析,而Spark则更适合需要快速响应和迭代计算的应用场景。在实际应用中,可以根据数据处理的需求、系统的可扩展性、成本效益等因素综合考虑,选择适合的框架进行大数据处理。