• 2021-04-14 问题

    下面代码段的执行结果是 int i, s = 0 ; int a[ ] = { 10 , 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 }; for ( i = 0 ; i < a.length ; i ++ ) if ( a[i]%3 = = 0 ) s += a[i] ; System.out.println("s="+s);

    下面代码段的执行结果是 int i, s = 0 ; int a[ ] = { 10 , 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 }; for ( i = 0 ; i < a.length ; i ++ ) if ( a[i]%3 = = 0 ) s += a[i] ; System.out.println("s="+s);

  • 2022-06-04 问题

    下面程序的运行结果是______。 CLEAR S=0 i=-l DO WHILE i<=20 i=i+2 IF i%5!=0 i=i+1 LOOP ENDIF s=s+i ENDDO s A: 0 B: 30 C: 35 D: 45

    下面程序的运行结果是______。 CLEAR S=0 i=-l DO WHILE i<=20 i=i+2 IF i%5!=0 i=i+1 LOOP ENDIF s=s+i ENDDO s A: 0 B: 30 C: 35 D: 45

  • 2021-04-14 问题

    程序运行的结果是 。 import java.io.* ; public class abc { public static void main(String args[ ]) { int i , s = 0 ; int a[ ] = { 10, 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 }; for ( i = 0 ; i < a.length ; i ++ ) s += a[i] ; System.out.println("s="+s); } }

    程序运行的结果是 。 import java.io.* ; public class abc { public static void main(String args[ ]) { int i , s = 0 ; int a[ ] = { 10, 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 }; for ( i = 0 ; i < a.length ; i ++ ) s += a[i] ; System.out.println("s="+s); } }

  • 2022-05-27 问题

    Part I Listening Comprehension (15minutes)Directions: This part is to test your listening ability. It consists of 3 sections.Section A 1 A: It’s 9:00 B: It’s 9:30 C: It’s 10:00 D: It’s 10:30

    Part I Listening Comprehension (15minutes)Directions: This part is to test your listening ability. It consists of 3 sections.Section A 1 A: It’s 9:00 B: It’s 9:30 C: It’s 10:00 D: It’s 10:30

  • 2022-06-18 问题

    下面程序段的运行结果是____。s = 1: sum = 0For i = 1 To 4 s = s * i sum = sum + sNext iPrint sum A: 24 B: 33 C: 10 D: 30

    下面程序段的运行结果是____。s = 1: sum = 0For i = 1 To 4 s = s * i sum = sum + sNext iPrint sum A: 24 B: 33 C: 10 D: 30

  • 2022-06-18 问题

    48. The film Avatar will be on tonight but it’s at 1:30 a.m. I don’t want to ______ that late.

    48. The film Avatar will be on tonight but it’s at 1:30 a.m. I don’t want to ______ that late.

  • 2022-05-27 问题

    有如下程序段:s = 0For i = 1 To 10 s = s + iNext iPrint s与上述程序段输出结果相同的程序段为( )。 A: s = 0: i = 0 While i <= 10 i = i + 1 s = s + i Wend Print s B: s = 0: i = 1 While i < 10 i = i + 1 s = s + i Wend Print s C: s = 0: i = 1 Do s = s + i i = i + 1 Loop While i < 10 Print s D: s = 0: i = 1 Do s = s + i i = i + 1 Loop Until i > 10 Print s

    有如下程序段:s = 0For i = 1 To 10 s = s + iNext iPrint s与上述程序段输出结果相同的程序段为( )。 A: s = 0: i = 0 While i <= 10 i = i + 1 s = s + i Wend Print s B: s = 0: i = 1 While i < 10 i = i + 1 s = s + i Wend Print s C: s = 0: i = 1 Do s = s + i i = i + 1 Loop While i < 10 Print s D: s = 0: i = 1 Do s = s + i i = i + 1 Loop Until i > 10 Print s

  • 2022-11-04 问题

    执行语句: int i=0 , s=0 ; for{ ; i&lt;=10 ; i+=2 } s+=i ; 后变量s的值是( ) A: 20 B: 24 C: 26 D: 30

    执行语句: int i=0 , s=0 ; for{ ; i&lt;=10 ; i+=2 } s+=i ; 后变量s的值是( ) A: 20 B: 24 C: 26 D: 30

  • 2022-05-28 问题

    以下能正确计算1*2*3*......*10的程序段是________. A: for(i=1;i<10;i++)s=s*i;s=1; B: s=0;for(i=1;i<=10;i++)s=s*i; C: for(i=1;i<10;i++)s=s*i;s=0; D: s=1;for(i=1;i<=10;i++)s=s*i;

    以下能正确计算1*2*3*......*10的程序段是________. A: for(i=1;i<10;i++)s=s*i;s=1; B: s=0;for(i=1;i<=10;i++)s=s*i; C: for(i=1;i<10;i++)s=s*i;s=0; D: s=1;for(i=1;i<=10;i++)s=s*i;

  • 2022-07-28 问题

    以下能计算1-20所有奇数之积的是: A: s=1for i in range(1,21,2): s=s*i B: s=0for i in range(1,21,2): s=s*i C: s=1for i in range(0,20,2): s=s*i D: for i in range(1,21,2): s=1 s=s*i

    以下能计算1-20所有奇数之积的是: A: s=1for i in range(1,21,2): s=s*i B: s=0for i in range(1,21,2): s=s*i C: s=1for i in range(0,20,2): s=s*i D: for i in range(1,21,2): s=1 s=s*i

  • 1 2 3 4 5 6 7 8 9 10