若定义数组并初始化chara[10]={‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’};,以下正确语句是()。
举一反三
- 当执行下面的语句定义一维数组a后,此数组的所有元素为 ( ) inta[10]; A.a[1],a[2],a[3],a[4],a[5],a[6],a[8],a[9],a[10],a[10] B.a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9] C.a[0],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10] D.a[1],a[2],a [3],a[4],a [5],a [9],a [7],a [8],a [9],a [10],a [11]
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']
- 下列数组声明语句中正确的是( )。 A: Dim A(9) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } B: Dim A( ) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } C: Dim A( ) As Single = { 1, "abc", "ccc", 4, 5, 6, 7, 8, 9, 10 } D: Dim A( , ) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
- 下面语句的输出结果是?range(len('HelloWorld')) A: [1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11] B: 11 C: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] D: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
- 【阅读理解(选择)/完型填空】基于以下描述回答 1-2 题: 下表是 9 名评委对 10 名学生的毕业设计进行等级评定结果: 评委 A B C D E F G H I J 1 1 2 4 3 9 6 5 8 7 10 2 1 4 2 5 6 7 3 10 8 9 3 1 3 4 5 2 8 9 6 10 7 4 1 3 4 5 2 6 10 8 7 9 5 1 9 2 5 6 3 4 8 10 7 6 1 4 9 2 5 6 7 3 10 8 7 1 3 5 10 2 6 9 7 8 4 8 1 3 5 7 6 4 8 10 2 9 9 1 2 8 4 9 6 3 7 5 10