有以下程序: #include<stdio.h> main() int a=7, b=8, *p, *q, *r; p=&a; q=&b; r=p; p=q; q=r; printf("%d, %d, %d, %d\n', *p, *q, a, b); 程序运行后的输出结果是()。 A: 8, 7, 8, 7 B: 7, 8, 7, 8 C: 8, 7, 7, 8 D: 7, 8, 8, 7
有以下程序: #include<stdio.h> main() int a=7, b=8, *p, *q, *r; p=&a; q=&b; r=p; p=q; q=r; printf("%d, %d, %d, %d\n', *p, *q, a, b); 程序运行后的输出结果是()。 A: 8, 7, 8, 7 B: 7, 8, 7, 8 C: 8, 7, 7, 8 D: 7, 8, 8, 7
在八进制中12(8)+7(8)=21(8),则12(8)×7(8)的值为说明:(8)代表八进制
在八进制中12(8)+7(8)=21(8),则12(8)×7(8)的值为说明:(8)代表八进制
如下代码的运行结果为:( ) A: array([[-10, -8, -6, -4, -2],[ 0, 2, 4, 6, 8]]) B: array([[ 1, 2, 3, 4, 5],[ 6, 7, 8, 9, 10]]) C: array([[-11, -10, -9, -8, -7],[ -6, -5, -4, -3, -2]]) D: array([[12, 12, 12, 12, 12],[12, 12, 12, 12, 12]])
如下代码的运行结果为:( ) A: array([[-10, -8, -6, -4, -2],[ 0, 2, 4, 6, 8]]) B: array([[ 1, 2, 3, 4, 5],[ 6, 7, 8, 9, 10]]) C: array([[-11, -10, -9, -8, -7],[ -6, -5, -4, -3, -2]]) D: array([[12, 12, 12, 12, 12],[12, 12, 12, 12, 12]])
输出九九乘法表。 1*1=1 2*1=2 2*2=4 3*1=3 3*2=6 3*3=9 4*1=4 4*2=8 4*3=12 4*4=16 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 7*1=7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 9*1=9
输出九九乘法表。 1*1=1 2*1=2 2*2=4 3*1=3 3*2=6 3*3=9 4*1=4 4*2=8 4*3=12 4*4=16 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 7*1=7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 9*1=9
ExercisesofUnit2VocabularyI.1.Fillinthegapswithwordsorphrasesgiveninthebox.Changetheformwherenecessary.1)2)3)4)5)6)7)8)9)10)11)12)2.Rewriteeachsentencewiththewordorphraseinbrackets,keepingthesamemeaning.Thefirstparthasbeenwrittenforyou.1)Whenyouare2)Wateris3)Thereisstill4)Asapersonofsimplelivinghabits,heneeds5)ItComprehensiveExercisesCloze1.Text-related1)2)3)4)5)6)7)8)9)10)11)12)2.Theme-related1)2)3)4)5)6)7)8)9)10)
ExercisesofUnit2VocabularyI.1.Fillinthegapswithwordsorphrasesgiveninthebox.Changetheformwherenecessary.1)2)3)4)5)6)7)8)9)10)11)12)2.Rewriteeachsentencewiththewordorphraseinbrackets,keepingthesamemeaning.Thefirstparthasbeenwrittenforyou.1)Whenyouare2)Wateris3)Thereisstill4)Asapersonofsimplelivinghabits,heneeds5)ItComprehensiveExercisesCloze1.Text-related1)2)3)4)5)6)7)8)9)10)11)12)2.Theme-related1)2)3)4)5)6)7)8)9)10)
下列程序段的执行结果是( )。 x = 5: y = 7: z = 8 If x < y Then t = x: x = y: y = t End If If y < z Then t = y: y = z: z = t If x < y Then t = x: x = y: y = t End If End If Print x, y, z A: 8 5 7 B: 8 7 5 C: 5 7 8 D: 7 5 8
下列程序段的执行结果是( )。 x = 5: y = 7: z = 8 If x < y Then t = x: x = y: y = t End If If y < z Then t = y: y = z: z = t If x < y Then t = x: x = y: y = t End If End If Print x, y, z A: 8 5 7 B: 8 7 5 C: 5 7 8 D: 7 5 8
【单选题】myarray1=np.arange(15) myarray2=myarray1.reshape(5,3) print( myarray1) print(myarray2) 输出值是? A. [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] [[ 0 1 2] [ 3 4 5] [ 6 7 8] [ 9 10 11] [12 13 14]] B. [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] [[ 1 2 3] [ 4 5 6] [ 7 8 9] [10 11 12] [13 14 15]] C. [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] [[ 0 1 2] [ 3 4 5] [ 6 7 8] [ 9 10 11] [12 13 14]] D. [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] [[ 1 2 3] [ 4 5 6] [ 7 8 9] [10 11 12] [13 14 15]]
【单选题】myarray1=np.arange(15) myarray2=myarray1.reshape(5,3) print( myarray1) print(myarray2) 输出值是? A. [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] [[ 0 1 2] [ 3 4 5] [ 6 7 8] [ 9 10 11] [12 13 14]] B. [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] [[ 1 2 3] [ 4 5 6] [ 7 8 9] [10 11 12] [13 14 15]] C. [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] [[ 0 1 2] [ 3 4 5] [ 6 7 8] [ 9 10 11] [12 13 14]] D. [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] [[ 1 2 3] [ 4 5 6] [ 7 8 9] [10 11 12] [13 14 15]]
2,5,20,12,-8,(),10 A: 7 B: 8 C: 12 D: -8
2,5,20,12,-8,(),10 A: 7 B: 8 C: 12 D: -8
【单选题】下面程序的运行结果是 () 。 void main() { int x=7,y=8,z=9; if(x>y) x=y,y=z; z=x; printf("x=%d y=%d z=%d ",x,y,z); } A. x=7 y=8 z=7 B. x=7 y=9 z=7 C. x=8 y=9 z=7 D. x=8 y=9 z=8
【单选题】下面程序的运行结果是 () 。 void main() { int x=7,y=8,z=9; if(x>y) x=y,y=z; z=x; printf("x=%d y=%d z=%d ",x,y,z); } A. x=7 y=8 z=7 B. x=7 y=9 z=7 C. x=8 y=9 z=7 D. x=8 y=9 z=8
输出九九乘法表。 1 2 3 4 5 6 7 8 9 --------------------------------------------------------------------- 1*1=1 2*1=2 2*2=4 3*1=3 3*2=6 3*3=9 4*1=4 4*2=8 4*3=12 4*4=16 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 7*1=7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 9*1=9 9*2=18 9*3=27 9*4=36 9*5=45 9*6=54 9*7=63 9*8=72 9*9=81
输出九九乘法表。 1 2 3 4 5 6 7 8 9 --------------------------------------------------------------------- 1*1=1 2*1=2 2*2=4 3*1=3 3*2=6 3*3=9 4*1=4 4*2=8 4*3=12 4*4=16 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 7*1=7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 9*1=9 9*2=18 9*3=27 9*4=36 9*5=45 9*6=54 9*7=63 9*8=72 9*9=81