【单选题】【消耗次数:1】
表达式(nottrueortrue)and(trueorfalse)的值为()。
false
true
0
-1
参考答案:
复制
纠错
相关题目
【单选题】 表达式(trueorfalse)的值为()。
①  false
②  true
③  0
④  -1
【单选题】 表达式(12==0) && (1/0 < 1)的值为( ) 。
①  true
②  false
③  0
④  运行时抛出异常
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【判断题】 表达式AB A=B 的值为true。
①  正确
②  错误
【单选题】 下列逻辑表达式中,其值为True的是
①  “THAT”>“THE”
②  “b”>“ABC”
③  9>“H”
④  “A”>“a”
【单选题】 下列逻辑表达式中,其值为True的是 ( )。
①  “b” > “ABC”
②  “THAT” > “THE”
③  9 > “H”
④  “A” > “a”
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 逻辑表达式(x0 x=10)的相反表达式为?
①  x=0|| x=10
②  x=0 x=10
③  x=0 || x=10
④  x0 x10
【单选题】 下面()表达式的值为4。
①  11/3
②  11.0/3
③  (float)11/3
④  (int)(11.0/3+0.5)
随机题目
【单选题】 May I use your bike for a moment?___________
①  It’s well.
②  It doesn’t matter.
③  By all means.
④  I have no idea.
【单选题】 We’ve _______ paper and ink. Ask Mr. Howard to lend us some.
①  run away with
②  run down
③  run off
④  run out of
【单选题】 How do I get to the cinema?____________
①  Its very far.
②  Yes, there is a cinema near here.
③  Its well known.
④  Go down this street and turn left.
【单选题】 I doubt whether the Chinese Football Team can win the game this time.____________
①  That’s true.
②  It’s hard to say.
③  I like the team.
④  I don’t believe it.
【判断题】 判断线上的内容是否正确:She is under the impression that he isn’t a __genuine____ person for he wouldn’t tell her where and when he went to university.
①  正确
②  错误
【判断题】 判断线上的内容是否正确:When the post fell ___vacant___.Dennis Bass was appointed to fill it.
①  正确
②  错误
【单选题】 Its high time ( ) bed!
①  to go to
②  go to
③  went to
④  to
【单选题】 Although they had suffered heavy losses, they refused to ____ defeat.
①  concede
②  conserve
③  assert
④  conceal
【单选题】 He departed ____  to catch the train only to find his ticket was left in home.
①  in hurry
②  in haste
③  in a haste
④  with haste
【单选题】 After so many years, he still ____ the hope that his lost son would return one day.
①  clang to
②  clung to
③  inclined to
④  subjected to