【单选题】【消耗次数:1】
如果a=1,b=-1,则语句Print (a = 1) And (b = -1)的输出结果是 。
False
True
1
-1
参考答案:
复制
纠错
相关题目
【单选题】 如果a=True,b=0,则语句Print not a <>b的输出结果是?
①  False
②  True
③  1
④  -1
【单选题】 应用程序的main方法中有以下语句,则输出的结果是 ( )。 String s1=new String(abc); String s2=new String(abc); boolean b1=s1.equals(s2); boolean b2=(s1==s2); System.out.print(b1+ +b2);
①  true false
②  false true
③  true true
④  false false
【简答题】 以下程序的输出结果是[填空1]。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
【单选题】 c=1,执行语句abc结果是()。
①  True
②  False
③  1
④  出错信息
【单选题】 以下程序的输出结果是(  )。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
①  101
②  6
③  4
④  3
【单选题】 若x=1,执行语句If x<>0 Then x = 0 Else x = 1的结果是( )。
①  实时错误
②  编译错误
③  x=1
④  x=0
【单选题】 有如下程序:main(){  intx=1,a=0,b=0;  switch(x){  case0:b++;case1:a++;case2:a++;b++;}  printf(“a=%d,b=%d\n”,a,b);}该程序的输出结果是()
①  a=2 b=1
②  a=1 b=1
③  a=1 b=0
④  a=2 b=2
【单选题】 以下程序的输出结果是()。 main( ) { int b[3][3]={0,1,2,0,1,2,0,1,2},i,j,t=0; for(i=0;i for(j=i;j t=t+b[i][b[j][j]]; printf(%d\n,t); }
①  3
②  4
③  1
④  9
【单选题】 在Excel工作表中,已知A1=12,B1=67,在C1单元格中输入公式”=IF(B1A1),”A”,” B””,则C1最后显示的是( )
①  A
②  B
③  TRUE
④  79
【单选题】 设 A = {1, 22, 43, 3},B = {1, 32, 44, 2},则交关系A∩B等于:
①  {1,21,32,43,34,2
②  {2,4
③  {1,21,33,34,2
④  {1,23,3}.
随机题目
【单选题】 sovereign
①  self-governing
②  self-sufficient
③  self-centered
④  self-respected
【单选题】 tribulation
①  contribution
②  delivery
③  distribution
④  great difficulty or trouble
【单选题】 belabour
①  ask sb. to work hard
②  set upon with too much talk
③  furnish with power
④  force upon others
【单选题】 undoing
①  showing
②  aziness
③  cover
④  destruction
【单选题】 adversary
①  a person who gives advice
②  a friend
③  an enemy
④  a listener
【单选题】 subversion
①  rebuilding
②  succession
③  destroying
④  salvage
【单选题】 scamper
①  move onward smoothly
②  drop down directly
③  run quickly and playfully
④  walk forward and backward
【单选题】 facetious
①  unimportant
②  very superficial
③  hideous
④  not serious
【单选题】 anecdote
①  short amusing story
②  long tedious talk
③  uninteresting writing
④  exciting information
【单选题】 tussle
①  have a hard struggle or fight
②  raise to a higher grade
③  come to a lower level or state
④  make the greatest possible use of