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]])
举一反三
- 【单选题】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]]
- 下面是图的拓扑排序的是?(多选)[img=340x240]1802faef6ebcc2a.png[/img] A: 2 8 0 7 1 3 5 6 4 9 10 11 12 B: 2 8 7 0 6 9 11 12 10 1 3 5 4 C: 8 2 7 3 0 6 1 5 4 9 10 11 12 D: 8 2 7 0 6 9 10 11 12 1 3 5 4
- int a[12]={1, 4, 7, 10, 2, 5, 8, 11, 3, 6, 9, 12 };
- 设DES加密算法中的一个S盒为: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 14 4 13 1 2 15 11 8 3 10 6 12 5 9 0 7 0 15 7 4 14 2 13 1 10 6 12 11 9 5 3 8 4 1 14 8 13 6 2 11 15 12 9 7 3 10 5 0 15 12 8 2 4 9 1 7 5 11 A: 1010 B: 0001 C: 1011 D: 0111
- 下面是图的拓扑排序的是?(多选)[img src="https://i1.chinesemooc.org/course/formula/201610/eb69927aaf8baae83211ee3fadf836e7.png"] A: 2 8 0 7 1 3 5 6 4 9 10 11 12 B: 2 8 7 0 6 9 11 12 10 1 3 5 4 C: 8 2 7 3 0 6 1 5 4 9 10 11 12 D: 8 2 7 0 6 9 10 11 12 1 3 5 4
内容
- 0
下面是图的拓扑排序的是? (多选)[img=388x253]17de9252a2ceeb2.jpg[/img] A: 12 13 1 4 2 3 9 10 5 8 6 7 11 B: 1 12 4 13 2 3 9 10 11 7 6 8 5 C: 12 1 4 13 2 3 5 6 8 9 10 11 7 D: 1 12 4 2 13 3 9 5 8 6 7 10 11
- 1
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)
- 2
Which statement below initializes array items to contain 3 rows and 2 columns? ( ) A: int[][] items = {{2, 4}, {6, 8}, {10, 12}}; B: int[][] items = {{2, 6, 10}, {4, 8, 12}}; C: int[][] items = {2, 4}, {6, 8}, {10, 12}; D: int[][] items = {2, 6, 10}, {4, 8, 12};
- 3
已知S盒如下表,若输入为100010,则二进制输出为( ) [br][/br] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 7 13 14 3 0 6 9 10 1 2 8 5 11 12 4 15 1 13 8 11 5 6 15 0 3 4 7 2 12 1 10 14 9 2 10 6 9 0 12 11 7 13 15 1 3 14 5 2 8 4 3 3 15 0 6 10 1 13 8 9 4 5 11 12 7 2 14 A: 0110 B: 1001 C: 0100 D: 0101
- 4
设DES加密算法中的一个S盒为: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 14 4 13 1 2 15 11 8 3 10 6 12 5 9 0 7 0 15 7 4 14 2 13 1 10 6 12 11 9 5 3 8 4 1 14 8 13 6 2 11 15 12 9 7 3 10 5 0 15 12 8 2 4 9 1 7 5 11 3 14 10 0 6 13 若给定输入为101101,则该S盒的输出的二进制表示为