一起答
单选

某C语言子程序如下。    int a:=0;    if(x==0  &&  y>2)a:=1               /*A语句*/    else{        if(x<1 || y==1)else        a:=2               /*B语句*/其中x,y是两个已定义的整型变量。如表6-2所示给出了可供选择的4组测试数据组,则实现条件覆盖至少应采用的测试数据组是(54)。

  • A.Ⅰ和Ⅱ组
  • B.Ⅰ、Ⅱ和Ⅲ组
  • C.Ⅰ、Ⅱ和Ⅳ组
  • D.Ⅰ、Ⅲ和Ⅳ组
参考答案
查看试卷详情
相关试题
  1. (129)

    • A.first
    • B.last
    • C.next
    • D.second
  2. (127)

    • A.when
    • B.where
    • C.who
    • D.which
  3. (128)

    • A.get
    • B.make
    • C.push
    • D.pull
  4. (126)

    • A.add
    • B.added
    • C.adding
    • D.additional
  5. An instruction is made up of operations that(68)the function to be performed and operands that represent the data to be operated on. For example, if an instruction is to perform. the operation of(69)two numbers, it must know(70)the two numbers are. The processor's job is to(71)instructions and operands from memory and to perform. each operation. Having done that, it signals memory to send it(72)instruction.

    • A.smile
    • B.skip
    • C.smoke
    • D.specify
  6. (124)

    • A.prevent
    • B.protect
    • C.examine
    • D.exploit
  7. A firewall is a(71)system designed to(72)an organization's network against threats.

    • A.operating
    • B.programming
    • C.security
    • D.data
  8. (122)

    • A.复制选中的文本
    • B.移动选中的文本
    • C.选中一个矩形区域中的文本
    • D.选中一个段落
  9. 在常用的字处理软件中,选中文本块后,按下Ctrl键再拖曳鼠标,可以()

    • A.复制选中的文本
    • B.移动选中的文本
    • C.选中一个矩形区域中的文本
    • D.选中一个段落
  10. There are many page replacement algorithms in the page management. Most frequently used algorithm is(69).

    • A.FIFO
    • B.LRU
    • C.OPT
    • D.PPT