【单选题】【消耗次数:1】
假定x是一个逻辑量,则x!x和x||!x的值分别为( )。
1和1
0和0
0和1
1和0
参考答案:
复制
纠错
相关题目
【单选题】 假定x是一个逻辑量,则x&&!x和x||!x的值分别为( )。
①  1和1
②  0和0
③  0和1
④  1和0
【单选题】 假定一个类的构造函数为“A(int i=4, int j=0) {a=i;b=j;}”, 则执行“A x (1);”语句后,x.a和x.b的值分别为()
①  1和0
②  1和4
③  4和0
④  4和1
【单选题】 假定一个类的构造函数为“A(int i=4, int j=0) {a=i;b=j;}”, 则执行“A x (1);”语句后,x.a和x.b的值分别为()
①  1和0
②  1和4
③  4和0
④  4和1
【单选题】 若x=1,执行语句If x<>0 Then x = 0 Else x = 1的结果是( )。
①  实时错误
②  编译错误
③  x=1
④  x=0
【单选题】 设有说明intx=0,y=2;则执行if(x=0)y=1+x;elsey=x-1;后,变量y的值是(   )
①  -1
②  0
③  1
④  2
【单选题】 minZ=x1-x2,2x1+x2≥1,x1+4x2≤4,x1,x2=0或1,最优解是()。
①  (0,0)
②  (0,1)
③  (1,0)
④  (1,1)
【单选题】 设M={x|f1(x)=0},N={x|f2(x)=0},则方程f1(x)·f2(x)=0的解为(   )
①  M∩N
②  M∪N
③  MN
④  M-N
【单选题】 假定x=-4.6,则表达式floor(x)和ceil(x)的值分别为( )。
①  5.0和-5.0
②  -4.0和-4.0
③  -4.0和-5.0
④  -5.0和-4.0
【单选题】 假定x=-4.6,则表达式floor(x)和ceil(x)的值分别为( )。
①  5.0和-5.0
②  -4.0和-4.0
③  -4.0和-5.0
④  -5.0和-4.0
【单选题】 已知x0,y0,且x+y=8,则(1+x)(1+y)的最大值为(  )
①  25
②  16
③  36
④  9
随机题目
【单选题】 I think you should ( ) your viewpoint on such an occasion.
①  assure
②  utilize
③  confront
④  voice
【单选题】 Take out accident( )before you travel.
①  insured
②  insurance
③  insurable
④  insurability
【单选题】 Alex is a ( ) at writing novels.
①  genius
②  genuine
③  intellect
④  gift
【单选题】 Dont ( ) the same topic when you stay with me.
①  concentrate on
②  dwell on
③  depend on
④  focus on
【单选题】 The?( )?from?school?to?work?can be?difficult
①  transformation
②  transport
③  transition
④  transmission
【单选题】 When in solitude, she sometimes ( ) that she saw strange images.
①  fancies
②  fancied
③  fancy
④  fancing
【单选题】 The equipment is ( ) but is well worth the money.
①  worth
②  costly
③  high
④  cost
【单选题】 She has always been quick to pick things up, doing ( ) well in school without really trying.
①  passably
②  passable
③  passenger@passage
【单选题】 Suddenly,?high above the jubilant roar?and?thunder?of?the?( ),?broke the?clear peal?of?a?bugle-note.
①  review
②  revel
③  reveal
④  revert
【单选题】 For?many,?Rome?is?( )?the?imitator?and?the continuator?of?Greece?on a?larger?scale.
①  at best
②  at times
③  at once
④  at least