单选

●在结构测试用例设计中,有语句覆盖、条件覆盖、判定覆盖(即分支覆盖)、路径覆盖等,其 (45) 是最强的覆盖准则。为了对图1所示的程序段进行覆盖测试,必须适当地选取测试数据组。若x和y是两个变量,可供选择的测试数据组共有I、Ⅱ、Ⅲ、Ⅳ四组(见表2),则实现判定覆盖至少应采用的测试数据组是 (46) ;实现条件覆盖至少采用的测试数据组是 (47) ,实现路径覆盖至少应采用的测试数据组是 (48) 或 (49) 。

                                                                             图1 程序段

  (45) A.语句覆盖

   B.条件覆盖

   C.判定覆盖

   D.路径覆盖

 (46) ,(47) A.I和Ⅱ组

   B.Ⅱ和Ⅲ组

   C.Ⅲ和Ⅳ组

   D.I和Ⅳ组

 (48) ,(49) A.I、Ⅱ和Ⅲ组

   B.Ⅱ、Ⅲ和Ⅳ组

   C.I、Ⅲ和Ⅳ组

   D.I、Ⅱ和Ⅳ组

参考答案
您可能感兴趣的试题

●MIMD systems c

  • an
  • be
  • classifie
  • d into(71)oriented systems,highavailability systems and responseoriented systems.The goal of(71).orlented multiprocessing is to obtain high(71)(72)minimal computing cost.The techniques employed by multiprocessor operating systems to achieve this goal t

●Prior to the UML,there w

  • as no clearleading&n
  • bsp;(66) language.Users had to
  • choose from among many similar mo
  • deling languages with minor differences in overall (67) power.Most of the modeling languages shared a set of commonly accepted concepts that are expressed slightly differently in various languages.This lack of (68) discouraged new user
  • B.modeling
  • C.formal
  • D.intelligent    (67) A.control
  • B.expressive
  • C.conductive
  • D.interactive    (68) A.agreement

对长度为n的顺序表进行顺序查找的时间复杂度为 () 。

  • A.O(n)
  • B.O([log2n])
  • C.O([log2](n+1))
  • D.O(n2)

●对于一个线性表既要求能够进行较快的插入和删除,又要求存储结构能够反应数据之间的逻辑关系,则应该用 (42) 。

(42)

  • A.顺序方式存储    &n
  • bsp;  B.链接方式存储    
  • C.散列方式存储    
  • D.以上方式均可
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服