题目详情

在开发某大型电子商务系统的过程中,为保证项目的开发质量,需要进行软件测试,某测试员被分配完成人事管理模块及某函数的测试任务。

【问题1】 (4分)

在人事管理模块中,对加班员工奖励制度:

(1)年薪制:月加班超过15小时(包括15小时),奖励月薪资的2%,少于15小时,奖励月薪资的1%;

(2)非年薪制:月加班超过15小时(包括15小时),奖励月薪资的2.5%,少于15小时,奖励月薪资的2%。 测试该功能模块的决策表如表3-1所示,其中Cl:年薪制,C2: 超过15小时(包括15小时),e1: 奖励2%,e2: 奖励2.5%,e3: 奖励1%。

根据题目描述,完成决策表3-1中的空缺。

注:在决策表中,“√ ”代表该动作执行,“X”代表该动作不执行。

表3-1 决策表

中级电子商务设计师,历年真题,2018年下半年(下午)《电子商务设计师》案例分析真题

【问题2】(4分)

某函数的程序流程图如图3-1所示。

中级电子商务设计师,历年真题,2018年下半年(下午)《电子商务设计师》案例分析真题

预期执行的四条执行路径为(请将(5)处的答案填写在答题纸的对应栏内):

L13:p1->p3

L14:pl->p4

(5)

L24:p2->p4

根据程序流程图,语句覆盖测试用例表如表3-2所示,完成表中空缺。

表3-2 语句覆盖测试用例表

中级电子商务设计师,历年真题,2018年下半年(下午)《电子商务设计师》案例分析真题

【问题3】(5分)

在程序流程图3-1中,条件表达式“a>1 AND b<2”中,“a>1”取真时代表T1,“b<2”取真时代表T2;条件表达式“a==3 OR x<3”中,“a== 3”取真时代表T3,“x<3”取真时代表T4。根据程序流程图。条件覆盖测试用例表如表3-3所示,完成表中空缺。

表3-3 条件覆盖测试例用例表

中级电子商务设计师,历年真题,2018年下半年(下午)《电子商务设计师》案例分析真题

【问题4】 (2分)

在问题3条件覆盖测试用例表中,去掉用例(14),依然满足条件覆盖,说明原因(15)。

正确答案及解析

正确答案
解析

【问题1】:

(1)0

(2)×

(3)√

(4)√

【问题2】:

(5)L23:p2—>p3

(6)3

(7)L24或p2—>p4

(8)100%

【问题3】:

(9)L24

(10)F

(11)T

(12)F

(13)F

【问题4】:

(14)2

(15)去掉用例2后,各用例中的条件真假值能各满足一次,仍满足条件覆盖。

新版章节练习,考前压卷,完整优质题库+考生笔记分享,实时更新,软件,

包含此试题的试卷

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +