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

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

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

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

一、题型

题型仅限于我们学校(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的核心原理,并展示它们如何简化部署流程、提高系统的可伸缩性和可靠性。本文旨在为开发者提供一套实践指南,帮助其在云原生时代下,构建出既灵活又强大的后端服务。
303 3
|
存储 分布式计算 负载均衡
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
【大数据技术Hadoop+Spark】MapReduce概要、思想、编程模型组件、工作原理详解(超详细)
1255 0
|
3月前
|
弹性计算 关系型数据库 微服务
基于 Docker 与 Kubernetes(K3s)的微服务:阿里云生产环境扩容实践
在微服务架构中,如何实现“稳定扩容”与“成本可控”是企业面临的核心挑战。本文结合 Python FastAPI 微服务实战,详解如何基于阿里云基础设施,利用 Docker 封装服务、K3s 实现容器编排,构建生产级微服务架构。内容涵盖容器构建、集群部署、自动扩缩容、可观测性等关键环节,适配阿里云资源特性与服务生态,助力企业打造低成本、高可靠、易扩展的微服务解决方案。
1720 10
|
12月前
|
JSON API 数据处理
如何运用获得京东商品详情API接口搬运商品到自己的电商平台?(一篇文章全搞定)
本文介绍如何利用京东商品详情API接口,将商品信息高效搬运至第三方电商平台。主要内容包括:前期准备(注册账号、申请权限、阅读文档、技术准备),API接口调用(构造请求URL、发送请求、解析返回数据、调用频率限制),数据处理与上架(清洗整理、分类设置、信息上传、商品审核),定时更新与维护(更新商品信息、信息维护、错误处理与日志记录),以及案例分析和优化建议。通过合理使用该接口,可提高运营效率,丰富商品种类,增强平台竞争力。
368 13
|
监控 Java Python
Java 中的正则表达式
正则表达式是Java中强大的文本处理工具,支持灵活的匹配、搜索、替换和验证功能。本文介绍了正则表达式的语法基础及其在Java中的应用,包括字符串匹配、替换、分割及实际场景中的邮箱验证和电话号码提取等示例。通过这些技术,可以显著提高文本处理的效率和准确性。
638 8
|
Java
Java“NullPointerException”解决
Java中的“NullPointerException”是常见的运行时异常,发生在尝试使用null对象实例的方法或字段时。解决方法包括:1. 检查变量是否被正确初始化;2. 使用Optional类避免null值;3. 增加空指针检查逻辑。
2090 2
|
Android开发
Android实战之如何快速实现自动轮播图
本文介绍了在 Android 中使用 `ViewPager2` 和自定义适配器实现轮播图的方法,包括添加依赖、布局配置、创建适配器及实现自动轮播等步骤。
537 0
|
分布式计算 Hadoop 大数据
Hadoop与Spark在大数据处理中的对比
【7月更文挑战第30天】Hadoop和Spark在大数据处理中各有优势,选择哪个框架取决于具体的应用场景和需求。Hadoop适合处理大规模数据的离线分析,而Spark则更适合需要快速响应和迭代计算的应用场景。在实际应用中,可以根据数据处理的需求、系统的可扩展性、成本效益等因素综合考虑,选择适合的框架进行大数据处理。
|
存储 数据可视化 数据挖掘
利用Matplotlib实现地图可视化
【4月更文挑战第17天】使用Matplotlib结合GeoPandas和Basemap在Python中实现地图可视化。首先安装Matplotlib、GeoPandas和Basemap库。读取GeoJSON或Shapefile格式的地理数据,然后使用Basemap创建地图底图,绘制海岸线、国家边界和大陆湖泊。将GeoDataFrame数据转换后叠加到地图上,自定义地图样式和添加图例。利用颜色映射展示与地理位置相关的数值数据,创建颜色条。此外,可通过Folium实现交互式地图。通过学习和实践,提升地图可视化的技能。
|
算法 决策智能 Python
Python高级算法——线性规划(Linear Programming)
Python高级算法——线性规划(Linear Programming)
1020 0
Python高级算法——线性规划(Linear Programming)