下列shell脚本中的case语句,语法正确的是() A: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; B: case $1 in 1) echo "Monday" ; 2) echo "Tuesday" ; *) echo "Input error" ; C: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; esac D: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; end
下列shell脚本中的case语句,语法正确的是() A: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; B: case $1 in 1) echo "Monday" ; 2) echo "Tuesday" ; *) echo "Input error" ; C: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; esac D: case $1 in 1) echo "Monday" ;; 2) echo "Tuesday" ;; *) echo "Input error" ;; end
下列程序的执行结果是______。 public class Test { public static void main(String[] args) { int[] x={0, i,2,3}; for(int i=0;i<3;i+=2) { try{ System.out.println(x[i+2]/x[i]+x[i+1]); }catch(ArithmeticException e) { System.out.println("error1"); }catch(Exception e) { System.out.println ("error2"); } } } }[/i] A: error1 B: error2 C: error1 error2 D: 2 error2
下列程序的执行结果是______。 public class Test { public static void main(String[] args) { int[] x={0, i,2,3}; for(int i=0;i<3;i+=2) { try{ System.out.println(x[i+2]/x[i]+x[i+1]); }catch(ArithmeticException e) { System.out.println("error1"); }catch(Exception e) { System.out.println ("error2"); } } } }[/i] A: error1 B: error2 C: error1 error2 D: 2 error2
下列是全局变量的是()。 A: @error B: @@error C: !error D: error()
下列是全局变量的是()。 A: @error B: @@error C: !error D: error()
以下程序的运行结果是() int n=0; switch(n++){ case 0 : System.out.println("0"); case 1: System.out.println("1"); case 2: System.out.println("2"); default :System.out.println("error"); } A: 0 B: 1 C: 2 D: 0 1 2 error
以下程序的运行结果是() int n=0; switch(n++){ case 0 : System.out.println("0"); case 1: System.out.println("1"); case 2: System.out.println("2"); default :System.out.println("error"); } A: 0 B: 1 C: 2 D: 0 1 2 error
The following is not the geometric error of machining process system (). A: machining principle error B: geometric error of machine tool C: adjustment error D: tool manufacturing error
The following is not the geometric error of machining process system (). A: machining principle error B: geometric error of machine tool C: adjustment error D: tool manufacturing error
下列不属于VBA提供的On Error语句形式为()。 A: On Error Goto标号 B: On Error Then 标号 C: On Error Resume Next D: On Error Goto 0
下列不属于VBA提供的On Error语句形式为()。 A: On Error Goto标号 B: On Error Then 标号 C: On Error Resume Next D: On Error Goto 0
The following is the machining principle error () . A: approximate profile error of forming tool B: spindle revolving error of machine tool spindle C: guide error of machine tool D: fixture error
The following is the machining principle error () . A: approximate profile error of forming tool B: spindle revolving error of machine tool spindle C: guide error of machine tool D: fixture error
若fopen()函数打开文件失败,其返回值是( )。 A: 1 B: NULL C: ERROR D: -1
若fopen()函数打开文件失败,其返回值是( )。 A: 1 B: NULL C: ERROR D: -1
以下程序的输出结果是:a =10b =1try:c=b//(b/a)print(except (IOError ,ZeroDivisionError):print( " calculation error" )else:print(" no error" )} A: calculation error B: no error C: 9.0 D: 9.0no error
以下程序的输出结果是:a =10b =1try:c=b//(b/a)print(except (IOError ,ZeroDivisionError):print( " calculation error" )else:print(" no error" )} A: calculation error B: no error C: 9.0 D: 9.0no error
VBA中不能进行错误处理的语句是( )。 A: On Error Got0标号 B: On Error Then标号 C: On Error Resume Next D: On Error Got0 0
VBA中不能进行错误处理的语句是( )。 A: On Error Got0标号 B: On Error Then标号 C: On Error Resume Next D: On Error Got0 0