【单选题】【消耗次数:1】
冒泡排序对一维数组进行从大到小排序,一趟排序后会将数组中的()排到最后
最大值
最小值
下标最大的值
下标最小的值
参考答案:
复制
纠错
相关题目
【判断题】 单调函数一定存在最大值与最小值.( )
①  正确
②  错误
【单选题】 一组数据的最大值与最小值之差是
①  极差
②  中位数
③  四分位数
④  平均数
【判断题】 数据的最大值和最小值之差叫做极差。
①  正确
②  错误
【判断题】 函数在闭区间上有定义就一定有最大值和最小值。
①  正确
②  错误
【判断题】 若一维数组元素个数为n,则数组元素的最大下标是n,最小下标是0。
①  正确
②  错误
【单选题】 各个控制类型中,( )的控制标准Z值由某一目标函数的最大值和最小值构成。
①  程序控制
②  跟踪控制
③  自适应控制
④  最佳控制
【单选题】 在各个控制类型中,()的控制标准Z值有某一目标函数的最大值或最小值构成。
①  程序控制
②  跟踪控制
③  自适应控制
④  最佳控制
【单选题】 在对n个元素进行冒泡排序的过程中,第一趟排序至多需要进行( )对相邻元素之间的交换。
①  n
②  n-1
③  O(n的平方)
④  O(n)
【单选题】 若用冒泡排序方法对序列{10,14,26,29,41,52}从大到小排序,需进行( )次比较。
①  3
②  10
③  15
④  25
【单选题】 利用下标来访问数组时,最小下标是从( )开始的。
①  0
②  1
③  -1
④  2
随机题目
【单选题】 And there,almost________in the big chair,sat her little brother,who never had to be told to keep quiet.
①  having lost
②  losing
③  to be lost
④  lost
【单选题】 Neither of them________the snake.
①  dares catches
②  dare to catch
③  dare catching
④  dare catch
【单选题】 Ourclassroomis ______ largerthantheirs.
①  more
②  quite
③  very
④  much
【单选题】 Look out ! That tree_______ fall down.
①  is going to
②  will be
③  shall
④  would
【单选题】 Itwasveryhotyesterday,butitis _______today.
①  evenhotter
②  morehotter
③  muchmorehot
④  muchhot
【单选题】 He________listen to pop music,but now he________dancing.
①  is used to;used to
②  used to;is used to
③  used to;is used for
④  is used for;used to
【单选题】 ________,the subject was always in my mind.
①  Walking or sleeping
②  Walking or slept
③  Having walked or slept
④  To walk and sleep
【单选题】 The greatest tragedy in life is not to lose too much,but care about too much,_________ is an important reason people are not happy.
①  who
②  that
③  what
④  which
【单选题】 You________return the book now. You can keep it till next week if you like.
①  cant
②  mustnt
③  neednt
④  may not
【单选题】 Thispencilis______ thanthatone.
①  longest
②  long
③  longer
④  aslong