在用冒泡排序对数5、30、25、15进行升序排序的过程中,进行了3次交换。In the bubble sort ascending order of number 5, 30, 25 and 15, three exchanges were made.
在用冒泡排序对数5、30、25、15进行升序排序的过程中,进行了3次交换。In the bubble sort ascending order of number 5, 30, 25 and 15, three exchanges were made.
A.正确
B.错误
正确答案:正确
- 上一篇:如果知道100个元素被分配到二维数组A中,则A的两个下标都必须是从0到9,即A必须是10行和10列。If you know that 100 elements are assigned to a two-dimensional array A, the two subscripts of A must be from 0 to 9, that is, A must be 10 rows and 10 columns.
- 下一篇:因为Score1数组、Score2数组和Score3数组的大小相同,并且相应元素包含相关数据,所以它们叫做平行(parallel)数组。Because Score1, Score2 and Score3 are of the same size and the corresponding elements contain relevant data, they are called parallel arrays.