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

题目内容 (请给出正确答案)

A=[1,2,3,4,5;6,7,8,9,10;11,12,13,14,15;16,17,18,19,20]; A(2:3,1:3:5)为()。

A.[6,7,8,9,10;11,12,13,14,15]

B.[6,8,10;11,13,15]

C.[1,3,5;6,8,10;11,13,15;16,18,20]

D.以上都不对。


参考答案和解析
D
更多 “A=[1,2,3,4,5;6,7,8,9,10;11,12,13,14,15;16,17,18,19,20]; A(2:3,1:3:5)为()。A.[6,7,8,9,10;11,12,13,14,15]B.[6,8,10;11,13,15]C.[1,3,5;6,8,10;11,13,15;16,18,20]D.以上都不对。” 相关考题
考题 表达式{1,2,3,4,5}^{4,5,6,7}的值为_________________________。

考题 表达式list(map(lambdax:x+5,[1,2,3,4,5]))的值为______________________。

考题 已知x=[1,2,3,4,5],那么执行语句delx[1:3]之后,x的值为____________。

考题 已知x=[1,2,3,4,5],那么执行语句delx[:3]之后,x的值为__________。

考题 表达式[xforxin[1,2,3,4,5]ifx 表达式[xforxin[1,2,3,4,5]ifx

考题 树干易受日灼伤害,庭荫树的树冠以占树高的()以上为佳,以不小于()为宜。 A、1/2,1/3B、2/3,1/2C、4/5,2/3D、1/3,1/4

考题 下列数组的初始化正确的是_________。 A.int[]score=newint[5]{1,2,3,4,5};B.int[5]score=newint[]{1,2,3,4,5};C.intscore={1,2,3,4,5};D.int[]score=newint[5];

考题 int a[2][3]={1,2,3,4,5};问:a[1][2]=?

考题 以下语句定义正确的是( )。A.int a[1][4]={1,2,3,4,5};B.float a[3][]={{1,2},{2,3},{3,1}};C.long a[2][3]={{1},{1,2},{1,2,3},{0,0}};D.double a[][3]={8};

考题 设已打开5个文件,文件号分5U为1,2,3,4,5。要关闭所有文件,以下语句正确的是A.Close#1,2,3,4,5B.Close#1;#2;#3;#4;#5C.Close #1-#5D.Close

考题 在scala中对于列表的操作,那些说法说法正确vart=List(1,2,3)vart2=List(4,5)()A、vart3=t++t2得到List(1,2,3,4,5)B、vart3=List.concat(t,t2)得到List(1,2,3,4,5)C、vart3=t:::t2得到List(1,2,3,4,5)D、vart3=t2.:::(t)得到List(1,2,3,4,5)

考题 已知x=[1,2,3,4,5],那么执行语句x[::2]=map(lambday:y!=5,range(3))之后,x的值为()。

考题 varmyArr=[1,2,3,4,5];myArr.shift();执行上述代码之后,数组myArr的值是什么()。A、[1,2,3,4,5]B、[2,3,4,5]C、[]D、[1,2,3,4]

考题 表达式[x for x in[1,2,3,4,5]ifx3]的值为()。

考题 铺植草坪的草块或草卷应规格一致,草块土层厚度宜为()cm,草卷土层厚度宜为()cm。A、3~5,1~3B、2~3,1~3C、3~5,1~2D、2~3,1~2

考题 在scala中对于以下2个列表的操作,那些说法说法正确vart=List(1,2,3)vart2=List(4,5)()A、vart3=t++t2得到List(1,2,3,4,5)B、vart3=List.concat(t,t2)得到List(1,2,3,4,5)C、vart3=t:::t2得到List(1,2,3,4,5)D、vart3=t.:::(t2)得到List(1,2,3,4,5)

考题 对于以下2个列表的操作,下面那些说法说法正确vart=List(1,2,3)vart2=List(4,5)()A、vart3=t++t2得到List(1,2,3,4,5)B、vart3=List.concat(t,t2)得到List(1,2,3,4,5)C、vart3=t:::t2得到List(1,2,3,4,5)D、vart3=t.:::(t2)得到List(4,5,1,2,3,)

考题 下列程序段执行后,a[4]的值为()。int[]a={1,2,3,4,5};a[4]=a[a[2]];

考题 以下的数组定义语句中,不正确的是()A、 int[] a=new int[5]{1,2,3,4,5};B、 int[,] a=new int[3][4];C、 int[][] a=new int[3][];D、 int[] a={1,2,3,4,5};

考题 数组定义与赋初值语句如下:int[]a={1,2,3,4,5};则a[2]的值为()。

考题 已知x=[1,2,3,4,5],那么执行语句x[::2]=range(3)之后,x的值为()。

考题 表达式’:’.join(’1,2,3,4,5’.split(’,’))的值为()。

考题 表达式{1,2,3,4,5}^{4,5,6,7}的值为{1,2,3,6,7}。

考题 单选题铺植草坪的草块或草卷应规格一致,草块土层厚度宜为()cm,草卷土层厚度宜为()cm。A 3~5,1~3B 2~3,1~3C 3~5,1~2D 2~3,1~2

考题 单选题有以下程序:#include void f(int *p);main(){ int a[5]={1,2,3,4,5},*r=a; f(r); printf("%d",*r);}void f(int *p){ p=p+3; printf("%d,",*p);}程序运行后的输出结果是(  )。A 1,4B 4,4C 3,1D 4,1

考题 单选题varmyArr=[1,2,3,4,5];myArr.shift();执行上述代码之后,数组myArr的值是什么()。A [1,2,3,4,5]B [2,3,4,5]C []D [1,2,3,4]

考题 填空题表达式’:’.join(’1,2,3,4,5’.split(’,’))的值为()。

考题 填空题表达式{1,2,3,4,5}^{4,5,6,7}的值为()。