[单选题]

执行完下列代码段之后: bool x=true, y=false, z=false; x=x&&y‖z; y=x‖y&&z; z=!(x!=y)‖(y-z); 则x=false, y=false, Z=( )。

A.true

B.false

C.不确定

D.异常

参考答案与解析:

相关试题

执行下列Python程序,输出结果是什么?( )x=True y=False w=False z=True print(not((x and y)or(w or z)))A 0 B 1 C Tr

执行下列Python程序,输出结果是什么?( )x=True y=False w=False z=True print(not((x and y)or(w

  • 查看答案
  • 已知如下代码: boolean m=true; if(m==false) Sys

    [单选题]已知如下代码: boolean m=true; if(m==false) System.out.prinfln("False"); else System.out.println("True");A.假B.真C.NoneD.An error will occur when running

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段:boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&b)&(!b);执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a||b)&&(b); boolean result=(a|b)&(b); 执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a&&B) &&(!B) ; boolean result=(a&B) &(!B) ; 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result=trueC.c=tree;result=falseD.c=false;result=trae

  • 查看答案
  • 已知如下代码:booleanm=true;if(m=false)System.o

    [单选题]已知如下代码:booleanm=true;if(m=false)System.out.println("False");elseSystem.out.println("True");执行结果是()A . FalseB . TrueC . NoneD . 出错

  • 查看答案
  • Is the following statement true or false

    [单选题]Is the following statement true or false?A. significant change in the ownership of an existing audit client is a factor which makes it appropriate for the auditor to review the terms of engagement.A.TrueB.False

  • 查看答案
  • AND函数中,条件判断,括号中条件值均为TRUE,则为TRUE;如果任一个为FALSE,则为FALSE。( )Y、对 N、错

    AND函数中,条件判断,括号中条件值均为TRUE,则为TRUE;如果任一个为FALSE,则为FALSE。( )Y、对 N、错A. YB. N

  • 查看答案
  • 已知 a = True , b = False , c = False , d = True 则 表达式 ( a and b ) or ( c and not d ) 的 值 _

    已知 a = True , b = False , c = False , d = True 则 表达式 ( a and b ) or ( c and not

  • 查看答案
  • “TRUE£¯FALSE”数据类型为( )

    [单选题]“TRUE/FALSE”数据类型为( )A.“文本”类型B.“是/否”类型C.“备注”类型D.“数字”类型

  • 查看答案