网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设a = True ,b = True ,c = False,以下表达式值为False的是()
- A、a or b or c
- B、(not a or b )and( b or c )
- C、False or not a and b or not c
- D、not a and not b and (12 in [1..10] )
参考答案
更多 “设a = True ,b = True ,c = False,以下表达式值为False的是()A、a or b or c B、(not a or b )and( b or c )C、False or not a and b or not c D、not a and not b and (12 in [1..10] )” 相关考题
考题
下面程序段的输出结果为( )。 pubUCClassTeS { public static voidmain(StringargS[]) { booleaha,b,c; a=(3<5); b=(a==tme); System.Out.phntln("a="+a+"b="+b); c=(b==false); SyStem.out.println("b="+b+"C="+c); } }A.a=tme b=falSeB.a=true b=false b=true c=false b=true C=tmeC.a=true b=trueD.a=falSe b=false b=true c=falSe b=tme c=falSe
考题
以下程序booleana=false;booleanb=true;ooleanc=(abintresult=c==false?1:2;执行完后,c与result的值是()。
A.c=false;result=1;B.c=true;result=2;C.c=true;result=1;D.c=false;result=2;
考题
下面哪个函数可以返回逻辑值TRUE()。
A、AND(TRUE,TRUE,FALSE)B、OR(TRUE,TRUE,FALSE)C、OR(FALSE,FALSE,FALSE)D、NOT(TRUE)
考题
下面程序段的输出结果为( )。 public class Test { public static void main(String args[]) { booleana,b,C; a=(35): b=(a= =true); System.out.println("a="+a+"b="+b); c=(b= =false); System.out.println("b="+b+"c="+c); } }A.a=true b=false b=true c=trueB.a=true b=false b=true c=falseC.a=true b=true b=true c=falseD.a=false b=false b=true c=false
考题
3下面程序段的输出结果为( )。 mblic class Test public static void main(String args[]) { boolean a,b,c; a=(3<5); b=(a==true); System.out.println("a="+a+"b="+b); c=(b=false); System.out.println("b="+b+"c="+c); } }A.a=true b=false b=true c=falseB.a=true b=false b=true c=trueC.a=true b=true b=true c=falseD.a=false b=false b=true c=false
考题
下面程序段的输出结果为( )。A.a=true b=false b=true C=trueB.a=true b=false b=true e=falseC.a=true b=true b=true C=falseD.a=false b=false b=true C=false
考题
下面程序段的输出结果为 public class Test { public static void main(String args[]) { boolean a,b,c; a=(35); b=(a==true); System.out.println(”a=”+a+”b=+b) ; c=(b==false); System.out.printhln(”b=”+b+”c=”+c) ; } }A.a=true b=false b=true c=falseB.a=true b=false b=true c=trueC.a=true b=true b=tree c=falseD.a=false b=false b=tree c=false
考题
下面程序段的输出结果为 public class Test { public static void main(String args[]) { boolean a,b,c; a=(3<5); b=(a==true); System.out.printin( "a="+a+"b="+b) ; c-(b==false); System.out.println(b="+b+"e="+c) ; } }A.a=true b=false b=true c=falseB.a=true b=false b=true c=trueC.a=true b=true b=true c=falseD.a=false b=false b=true c=false
考题
下面程序段的输出结果为( )。 public class Test { public static void main(String args[]) { booleana,b,C; a=(35): b=(a= =true); System.out.println("a="+a+"b="+b); c=(b= =false); System.out.println("b="+b+"c="+c); } }A.a=true b=false b=true c=trueB.a=true b=false b=true c=falseC.a=false b=true b=true c=falseD.a=false b=false b=true c=false
考题
以下3个表达式的结果分别是?() 0===’0’ ’0’==false 1===trueA、false,true,falseB、true,true,falseC、false,false,trueD、true,true,true
考题
设A=True,B=False,C=True,D=False,以下逻辑运算表达式值为真的是()A、(A∧B)∨(C∧D∨﹁A)B、((﹁A∧B) ∨C)∧﹁DC、(B∨C∨D) ∧D∧AD、A∧(D∨﹁C)∧B
考题
逻辑表达式的值只有两个:True和False。当逻辑表达式成立,其值为();不成立,其值为()。A、True;TrueB、False;TrueC、False;FalseD、True;False
考题
条件表达式(result)?"true":"false"的意义是(),其中result是逻辑表达式。A、如果result为true,则表达式的值是true,否则为falseB、如果result为false,则表达式的值是true,否则为falseC、如果result为true,则表达式的值是false,否则为trueD、表达式错误
考题
单选题设a = True ,b = True ,c = False,以下表达式值为False的是()A
a or b or c B
(not a or b )and( b or c )C
False or not a and b or not c D
not a and not b and (12 in [1..10] )
考题
单选题设A=True,B=False,C=True,D=False,以下逻辑运算表达式值为真的是()A
(A∧B)∨(C∧D∨﹁A)B
((﹁A∧B) ∨C)∧﹁DC
(B∨C∨D) ∧D∧AD
A∧(D∨﹁C)∧B
考题
单选题设逻辑变量X为True,Y、Z均为False,以下逻辑表达式值为True的是()。A
XOR(YANDZ)B
(XANDY)ORZC
(NOTX)ORYORZD
XAND(YORZ)
考题
单选题条件表达式(result)?"true":"false"的意义是(),其中result是逻辑表达式。A
如果result为true,则表达式的值是true,否则为falseB
如果result为false,则表达式的值是true,否则为falseC
如果result为true,则表达式的值是false,否则为trueD
表达式错误
考题
单选题在Excel97升序排序中,()。A
逻辑值TRUE在FALSE之前B
逻辑值FALSE在TRUE之前C
逻辑值TRUE和FALSE等值D
逻辑值TRUE和FALSE保持原始次序
考题
判断题当a=True,b=False,c=True时,表达式“a Or b And Not c”的值为True。A
对B
错
热门标签
最新试卷