网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
下列CASE语句中执行结果不为空的是()

A、SELECTCASEWHEN125THEN'true'ELSE'false'END;

B、SELECTCASEBINARY'B'WHEN'a'THEN1WHEN'b'THEN2END;

C、SELECTCASEWHEN-10THEN'true'END;

D、SELECTCASE'one'WHEN1THEN'one'WHEN2THEN'two'END;


参考答案

更多 “ 下列CASE语句中执行结果不为空的是() A、SELECTCASEWHEN125THEN'true'ELSE'false'END;B、SELECTCASEBINARY'B'WHEN'a'THEN1WHEN'b'THEN2END;C、SELECTCASEWHEN-10THEN'true'END;D、SELECTCASE'one'WHEN1THEN'one'WHEN2THEN'two'END; ” 相关考题
考题 下列程序段的执行结果为a=2b=0Select Case aCase 1Select Case bCase 0Print "**0**"Case 1Print "**1**"End SelectCase 2Print "**2**"End Select( )。A.**0**B.**1**C.**2**D.0

考题 下列程序段的执行结果为m=1n=1Select Case mCase 1Select Case nCase 0Print "**0**"Case 1Print "**1**"End SelectCase 2Print "**2**"End Select( )。A.**0**B.**1**C.**2**D.0

考题 已知如下代码: 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

考题 以上程序段运行的结果是:______. Dim a(-1 To 5) As Boolean Dim flag As Boolean flag = False Dim i As Integer Dim j As Integer Do Until flag = True For i = -1 To 5 j=j+1 if a(i)= False Then a(i)= True Exit For End If If i = 5 Then flag = True End If Next Loop Print jA.20B.7C.35D.8

考题 下列不是分支结构的语句是( )。A)If…Then…End IfB)If…Then…Else…End IfC)While…WendD)Select…Case…End Select

考题 已知如下代码: boolean m=true; if (m==false) System.out.println("False"); else System.out.println("True"); 执行结果是( )。A.假B.TreeC.NoneD.An error will occur when running

考题 下列复选框构造方法,错误的是 ( )A.setLayout(new GridLayout(3,1));B.add(new Checkbox("one",null,true));C.add(new Checkbox("two"));D.add(new Checkbox("one",true));

考题 编译和执行以下代码,输出结果是( )。 int i=1; switch (i) { case 0: System.out.print("zero,"); break; case 1: System.out.print("one,"); case 2: System.out.print("two,"); default: System.out.println("default"); }A.one,B.one,two,C.one,two,defaultD.default

考题 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Corn.mandl的单击事件过程中,正确的是A.Private Sub Commandl—click() Command2.ViSible=True Command3.ViSible=False End SubB.Private Sub Commandl_click() Command2.Enabl ed=True Command3.Enabl ed=False End SubC.Private Sub Commandl_C1ick() Command2.Enabled=True Command3.ViSible=False End SubD.Private Sub Commandl_C1ick() Coiihmand2.Vi s ible:True Command3.Enabled=False End Sub

考题 下列复选框构造方法,错误的是()。A.setLayout(newGridLayout(3,1));B.add(newCheckbox("one",null,true));C.add(newCheckbox("tWO");D.add(newCheckbox("one",true);

考题 下列程序段的执行结果为m=1n=1Select Case mCase 1Select Case nCase 0print "A"Case 1Print "B"End SelectCase 2Print "C"End SelectA.AB.BC.CD.0

考题 下列程序 Private Sub form_Click() score=Int(Rnd * 10)+80 Select Case score Case Is<60:a$="F" Case 60 To 69:a$="D" Case 70 To 79:a$="C" Case 80 To 89:a$="B" Case Else:a$="A" End Select Print a$ End Sub 运行时输出的结果是A.FB.DC.CD.B

考题 以下叙述正确的是A.SelectCase语句中的测试表达式可以是任何形式的表达式B.SelectCase语句中的测试表达式只能是数值表达式或字符串表达式C.在执行SelectCase语句时,所有Case子句均按出现的次序被顺序执行D.如下SelectCase语句中的Case表达式是错误的 Select Case x Case 1 to 10 ... End Select

考题 执行下面这段程序后,单击命令按钮,窗体中输出结果是 ______。 Private Sub Command1_Click() a=1 : b=4 : c = 9 : d = 5 If a < b Then If c<d Then x=True Else If a<c Then x=False Else x=True End If End If End If Print Val(x) End SubA.TrueB.FalseC.0D.1

考题 以下语句正确的是:______。A.Select Case a Case b=1 Case “B” b=2 Case Else b=3 End SelectB.Select Case a Case “A” b=1 Case “B” b=2 Case Default b=3 End SelectC.Switch a Case “A” b=1 Case “B” b=2 Case Else b=3 End SwitchD.Switch a Case “A” b=1 Case “B” b=2 Case Default b=3 End Select

考题 窗体上添加有3个命令按钮,分别命名为C1、C2和C3。编写C1的单击事件过程,完成的功能为:当单击按钮C1时,按钮C2可见,按钮C3不可用。下列语句中正确的是( )。A.Private Sub C1_Click() C2.Visible=True C3.Visible=False End SubB.Private Sub C1 Click() C2.Enabled=True C3.Enabled=False End SubC.Private SubC1_Click() C2.Enabled=True C3.Visible=False End SubD.Private Sub C1 C2.Visible=True C3.Enabled=Fals End Sub

考题 以下程序段运行的结果是______。Dim a(-1 To 5) As BooleanDim flag As Booleanflag = FalseDim i As IntegerDim j As IntegerDo Until flag = True For i=-1 To 5 j=j+1 If a(i)= False Then a(i)= True Exit For End If If i = 5 Then flag = True End If NextLoopPrint jA.20B.7C.35D.8

考题 下列程序的运行结果是( )。 SET EXACT ON s="ni"+SPACE(2) IF S=”ni” IF S=”ni” ?"one" ELSE ?"two" END IF ELSE IF S="ni" ?"three" ELSE ?"four" END IF END IF RETURNA.oneB.twoC.threeD.four

考题 下列程序段的执行结果为a=1b=0Select Case a Case 1 Select Case b Case 0 Print"**0**" Case 1 Print"**1**" End SelectCase 2 Print"**2**"End SelectA.* * 0 * *B.* * 1 * *C.* * 2 * *D.0

考题 When a teacher wants to test students'__________ listening skills, grammar, vocabulary and pronunciation, which of the following test format is the most suitable one? A.True or false questions. B.Completion. C.Dictation. D.Translation.

考题 public void foo( boolean a, boolean b ){  if( a ) {  System.out.println( “A” );  } else if ( a  b ) {  System.out.println( “AB” );  } else { 17. if ( !b ) {  System.out.println( “notB” );  } else {  System.out.println( “ELSE” );  }  } }  What is correct?()  A、 If a is true and b is true then the output is “AB”.B、 If a is true and b is false then the output is “notB”.C、 If a is false and b is true then the output is “ELSE”.D、 If a is false and b is false then the output is “ELSE”.

考题 下列对条件语句、分支语句、固定循环次数语句、不定循环次数语句关键字排序正确的是()A、if elseend;for end;switch case end;while end;B、if elseend;switch case end;for end;while end;C、for end;if else end;while end;switch case end;D、while end;for end;switch case end;if else end;

考题 Which two statements are true about L2TP tunnel switching?()A、Requires only one tunnel switching license.B、Requires two licenses,one for inbound and one for outbound sessions.C、Enabled automatically when the BSR is configured as an LAC and LNS.D、Aids in L2TP tunnel scaling

考题 var one;var two=null;console.log(one==two,one===two);上面代码的输出结果是()。A、false trueB、true falseC、false falseD、true true

考题 单选题下列对条件语句、分支语句、固定循环次数语句、不定循环次数语句关键字排序正确的是()A if elseend;for end;switch case end;while end;B if elseend;switch case end;for end;while end;C for end;if else end;while end;switch case end;D while end;for end;switch case end;if else end;

考题 单选题var one;var two=null;console.log(one==two,one===two);上面代码的输出结果是()。A false trueB true falseC false falseD true true

考题 单选题public void foo( boolean a, boolean b ){  if( a ) {  System.out.println( “A” );  } else if ( a  b ) {  System.out.println( “AB” );  } else { 17. if ( !b ) {  System.out.println( “notB” );  } else {  System.out.println( “ELSE” );  }  } }  What is correct?()A  If a is true and b is true then the output is “AB”.B  If a is true and b is false then the output is “notB”.C  If a is false and b is true then the output is “ELSE”.D  If a is false and b is false then the output is “ELSE”.