山东交通学院
  1. 假定X为整数类型变量,X>=1并且X<=10,如果用边界值分析法,X在测试中应该取( )值。

  2. A:0,1,10,11
    B:1,5,10,11
    C:1,10
    D:1,11

    答案:0,1,10,11
  3. Given the following sample of pseudo code:01 Input number of male rabbits02 Input number of female rabbits03 If male rabbits > 0 and female rabbits > 0 then04 Input Do you want to breed (Yes / No)05 If breed = No06 Print deep male and female rabbits apart07 End if08 End If.Which of the following test cases will ensure that statement 6 is executed?( )

  4. A:male rabbits = 1, female rabbits = 0, breed = No
    B:male rabbits = 1, female rabbits = 1, breed = No
    C:male rabbits = 1, female rabbits = 2, breed = Yes
    D:male rabbits = 1, female rabbits = 1, breed = Yes

    答案:male rabbits = 1, female rabbits = 1, breed = No
  5. 以下控制流程图的环路复杂度等于( )。


  6. A:12
    B:9    
    C:6  
    D:5  

    答案:6
  7. 不属于测试人员编写的文档的是( )

  8. A:缺陷修复报告
    B:缺陷报告
    C:测试用例说明文档
    D:测试环境配置文档

    答案:缺陷修复报告
  9. 以下关于web测试的叙述中,不正确的是( )。

  10. A:与其他系统采用的测试工具部分不同
    B:与其他系统的测试重点不同
    C:与其他系统的测试手段基本相同
    D:与其他系统的测试内容不同

    答案:与其他系统的测试内容不同
  11. 针对下列程序段,需要( )个测试用例可以满足语句覆盖的要求。


  12. A:2  
    B:5
    C:4    
    D:3  

    答案:4
  13. 软件测试的目的是:( )

  14. A:证明软件正确
    B:找出软件中所有错误
    C:发现软件错误
    D:试验性运行软件

    答案:发现软件错误
  15. 在划分等价类后,首先需要设计一个测试用例覆盖( )有效等价类

  16. A:2个
    B:1个
    C:等价类数量-1
    D:尽可能多的

    答案:尽可能多的
  17. 自动化测试工具中,( )是最难自动化的。

  18. A:测试执行
    B:测试用例生成
    C:实际输出和预期输出的比较
    D:测试录制与回放

    答案:测试用例生成
  19. 以下关于白盒测试的叙述中,不正确的是( )。

  20. A:逻辑覆盖法是一种常见的白盒测试方法
    B:程序中存在很多判定和条件,不可能实现100%的条件覆盖
    C:白盒测试仅与程序的内部结构有关,完全可以不考虑程序的功能要求
    D:测试基于代码,无法确定设计正确与否
  21. A candidate sits an exam with 40 questions. To pass, the candidate must answer at least 25 questions correctly. To gain a distinction, a mark of 32 or above must be achieved.Which of these groups of exam scores would fall into three different equivalence classes?( )

  22. A:0, 27, 36
    B:32, 36, 40
    C:25, 32, 40
    D:0, 24, 32
  23. 服务端性能指标是一类重要的负载压力测试指标,以下不属于服务器端交易处理性能指标的是( )。

  24. A:每秒进程切换数
    B:内存占用量
    C:CPU占用率
    D:平均事务响应时间
  25. Which of the following are structure-based techniques?(    )a) Decision table testingb) Boundary value analysisc) Multiple condition coveraged) Use case testinge) Decision testing

  26. A:b and d B:a and c C:c and e D:b and e
  27. 调试应该由( )完成。

  28. A:设计该软件的机构
    B:编制该源程序的程序员
    C:测试人员
    D:与源程序无关的程序员
  29. V模型描述了软件基本的开发过程和测试行为,描述了不同测试阶段与开发过程各阶段的对应关系,其中,集成测试阶段对应的开发阶段是:( )

  30. A:详细设计阶段
    B:编码阶段
    C:需求分析阶段
    D:概要设计阶段
  31. 以下关于V模型的说法,不正确的是( )。

  32. A:V模型左边是测试过程阶段,右边是开发过程阶段
    B:V模型是瀑布模型的变种,它反映了测试活动与分析和设计的关系
    C:V模型把测试过程作为在需求、设计及编码之后的一个阶段
    D:V模型的软件测试策略既包括低层测试又包括高层测试
  33. 除了测试程序外,黑盒测试还适用于对( )阶段的软件文档进行测试。

  34. A:编码
    B:软件总体设计
    C:需求分析应用范围
    D:软件详细说明
  35. 客户端交易处理性能指标是一类重要的负载压力测试指标,以下不属于客户端交易处理性能指标的是( )。

  36. A:并发用户数
    B:每秒事务数
    C:每秒进程切换数
    D:平均事务响应时间
  37. 关于静态分析的概念,下列的选项正确的是( )

  38. A:通过静态分析能够发现软件内的所有缺陷
    B:静态分析不需要运行被测软件,且能发现软件的失效
    C:开发人员通常在软件验收期间使用静态分析工具
    D:通过静态分析能够发现模块和组件之间接口不一致
  39. 下列叙述中,( )是正确的。

  40. A:一般而言,黑盒测试对结构的覆盖比白盒测试高
    B:穷举路径测试可以查出程序中因遗漏路径而产生的错误
    C:必须根据软件需求说明文档生成用于白盒测试的测试用例
    D:白盒测试又称为逻辑驱动测试
  41. Which of the following is a purpose of the review kick off activity? ( )

  42. A:Explain the objectives
    B:Define entry and exit criteria
    C:Select the personnel group
    D:Document results
  43. A failure has occurred during system testing and incident report must be raised. The following attributes are available for the report:a) Tester name.b) Date raised.c) Priority (to fix).d) Severity (impact on the system).e) Expected Results.f) Actual Results.g) Test case specification identifier.h) Failing software function.i) Tester recommendations.Which attributes would be the MOST effective to enable determination of WHEN the incident should be fixed and HOW MUCH effort might be required to apply the fix?( )

  44. A:c, d, e, f, h
    B:c, d, e, g,i
    C:b, c, e, f, g
    D:a, b, d, h,i
  45. 造成测试覆盖率不达标的原因可能是( )。

  46. A:存在不可能的路径和条件
    B:测试用例不足
    C:其余选项都对
    D:存在不可到达的代码或冗余的代码
  47. 测试用例的主要要素不包括( )。

  48. A:实际输出
    B:预期输出
    C:输入
    D:执行步骤
  49. 根据黑盒测试方法可以设计变量0 <= X <= 100的测试用例:( )

  50. A:-100,30,100,200
    B:20,50,100
    C:-1,0,1,50,99,100,101
    D:0,20,100
  51. Place the stages of the Fundamental Test Process in the usual order (by time).(    )a)Test closure activities.b)Analysis and design.c)Planning and control.d)Implementation and execution.e)Evaluating exit criteria and reporting.

  52. A:c, b, d, a, e B:b, c, d, e, a C:c, b, d, e, a D:c, b, e, d, a
  53. 关于软件质量保证和软件测试的描述,不正确的是:( )。

  54. A:软件质量保证和软件测试是软件质量工程的两个不同层面的工作
    B:软件测试人员是软件质量保证人员
    C:软件测试是保证软件质量的一个重要环节
    D:在软件质量保证的活动中也有一些测试活动
  55. 对于软件的β测试,下列描述正确的是( )。

  56. A:β测试就是在软件公司内部展开的测试,由公司的非专业的测试人员执行的测试
    B:β测试就是在软件公司外部展开的测试,由公司的非专业的测试人员执行的测试
    C:β测试就是在软件公司外部展开的测试,由公司专业的测试人员执行的测试
    D:β测试就是在软件公司内部展开的测试,由公司专业的测试人员执行的测试
  57. A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges.You have been asked to prepare test cases using various values for the number of printer cartridges ordered.Which of the following groups contain three test inputs that would be generated using Boundary Value Analysis?( )

  58. A:4, 5, 99
    B:5, 6, 20
    C:1, 20, 100
    D:4, 5, 80
  59. 确认测试以( )文档作为测试的基础。

  60. A:需求规格说明书
    B:设计说明书
    C:源程序
    D:开发计划
  61. 验收测试的定义是( )。

  62. A:按照软件任务书或合同,供需双方约定的验收依据进行测试,决定是否接收
    B:由用户按照用户手册对软件进行测试以决定是否接收
    C:由开发方和用户按照用户手册执行软件验收
    D:由某个测试机构代表用户按照需求说明书和用户手册对软件进行测试以决定是否接收
  63. Which of the following types of defect are typically found in reviews rather than in dynamic testing?(   )a) Deviations from standards.b) Defects in interface implementation.c) Poor maintainability of code.d) Poor performance of the system.e) Defects in requirements.

  64. A:a, b and d B:b, d and e C:a, c and d D:a, c and e
  65. 哪个不是文档测试包含的内容( )

  66. A:管理文档
    B:用户文档
    C:合同文档
    D:开发文档
  67. Which of the following account for most of the failures in a system?( )

  68. A:They will be found in a small proportion of modules
    B:They will be found in the They will be found in a small proportion of moduleslargest modules
    C:They will be evenly distributed among all modules
    D:They will be found in the smallest modules
  69. Why should expected results be defined before execution?( )

  70. A:To reduce the possibility of incorrect results
    B:To assist in test automation
    C:To improve design of the software
    D:To improve test efficiency
  71. Arrive-and-Go airline wants to clarify its baggage handling policy, whilst maximising revenues, and will introduce the following tariffs for all baggage per individual customer (weights are rounded up to the nearest 0.1Kg):The first 2Kg will be carried free of charge. The next 10 Kg will be carried for a flat charge of 0. An additional 15Kg will be charged a total charge of 7. Luggage over this amount will be charged at ? per Kg, up to a maximum of 150Kg per person. No passenger may take more that 150Kg with them. Which of the following would constitute boundary values for baggage weights in the price calculation?( )

  72. A:0, 5.0, 10.0, 17.0
    B:2.0,9.9, 15.0, 26.9
    C:2.0, 12.1, 27.0, 150.1
    D:1.9, 12.0, 14.9, 150.0
  73. 下列关于alpha、beta 测试的描述中正确的是( )。

  74. A:alpha 测试不需要用户代表参加
    B:alpha 测试需要用户代表参加
    C:beta 测试是不是验收测试的一种
    D:beta 测试是系统测试的一种
  75. 软件缺陷通常是指存在于软件之中的那些不希望或不可接受的偏差,以下关于软件缺陷的理解,不正确的是( )。

  76. A:实践中,绝大多数的软件缺陷的产生都来自编码错误
    B:同一个软件缺陷在软件运行的不同条件下被激活,可能会产生不同类型的软件故障
    C:软件错误是软件生存期内不希望或不可接受的人为错误,这些人为错误导致了软件缺陷的产生
    D:软件缺陷的存在会导致软件运行在特定条件时出现软件故障,这时称软件缺陷被激活
  77. 一个程序的控制流图中有8个节点、12条边,在测试用例数最少的情况下,确保程序中每个可执行语句至少执行一次所需的测试用例数的上限为( )。

  78. A:2
    B:6
    C:4
    D:8
  79. The digital ainbow Thermometer uses 7 colours to show the ambient temperature. Each colour spans a range of just 5, with an operating minimum and maximum of minus 5℃ and 30℃. Which of the following values is minimum and maximum of minus 5℃ and ℃. Which of the following values is LEAST likely to have been identified when applying the boundary value test design technique?( )

  80. A:0 ℃
    B:30 ℃
    C:15 ℃
    D:8 ℃

温馨提示支付 ¥5.00 元后可查看付费内容,请先翻页预览!
点赞(4) dxwkbang
返回
顶部