【单选题】【消耗次数:1】
排序中当待排序记录的关键字(数值)()时,排序结果是惟一的,否则排序结果不惟一。
都相同
都不相同
有序
无序
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 设有n个待排序的记录关键字,则在堆排序中需要()个辅助记录单元。
①  1
②  n
③  nlog2n
④  n2
【单选题】 若待排序序列在排序前已按关键字递增排列,则采用( )方法比较次数最多。
①  A.直接插入排序
②  B.归并排序
③  C.归并排序
④  D.直接选择排序
【判断题】 排序过程中,每一趟从无序子表中将一个待排序的记录按其关键字的大小放置到已经排好序的子序列的适当位置,直到全部排好序为止,该排序算法是直接插入排序。
①  正确
②  错误
【单选题】 在所有排序方法中,关键字比较的次数与记录的初始排列次序无关的是
①  希尔排序
②  冒泡排序
③  插入排序
④  选择排序
【单选题】 设一组初始记录关键字序列为(45,80,55,40,42,85),则以第一个记录关键字45为基准而得到一趟快速排序的结果是()。
①  40,42,45,55,80,83
②  42,40,45,80,85,88
③  42,40,45,55,80,85
④  42,40,45,85,55,80
【单选题】 设有5000个待排序的记录关键字,如果需要用最快的方法选出其中最小的10个记录关键字,则用下列()方法可以达到此目的。
①  快速排序
②  堆排序
③  归并排序
④  插入排序
【单选题】 在排序算法中,每次从未排序的记录中挑出最小(或最大)关键码字的记录,加入到已排序记录的末尾,该排序方法是()。
①  选择
②  冒泡
③  插入
④ 
【判断题】 流水车间排序问题是指所有工件的加工顺序都相同的排序问题。
①  正确
②  错误
【判断题】 设初始记录关键字基本有序,则快速排序算法的时间复杂度为O(nlog2n)。()
①  正确
②  错误
【单选题】 就排序算法所用的辅助空间而言,堆排序、快速排序、归并排序的关系是( )。
①  A.堆排序 快速排序 归并排序
②  B.堆排序 归并排序 快速排序
③  C.堆排序 归并排序 快速排序
④  D.堆排序 快速排序 归并排序
随机题目
【单选题】 Not until the early years of the 19th century ____ what heat is.
①  man knew
②  did man know
③  man did know
④  didn’t man know
【单选题】 The gate is too____ for a car; we’ll have to walk through. ?
①  shallow ?
②  loose ?
③  broad ?
④  narrow?
【单选题】 I’d like to ____ a single room at the holiday inn for two days.
①  serve
②  conserve
③  preserve
④  reserve
【单选题】 27. The police are anxious to interview everyone ____ last night’s incident.
①  concerning
②  B. concerned about
③  concerned in
④  concerned for
【单选题】 John was going to ____ Mary by telling his friends how much weight she had gained.
①  essential
②  embarrass
③  elementary
④  consider
【单选题】 She picked ____ the little book and give it to him.
①  on
②  over
③  off
④  up
【单选题】 -I hope you don’t mind my pointing out your mistakes.- ____.
①  Of course
②  You’re welcome
③  Certainly not
④  Yes, I do
【单选题】 I’d____ it if you could offer me some advice on the task. ?
①  appreciate ?
②  afford ?
③  ask ?
④  admit ?
【单选题】 1.Everyone is working harder and living a happier life now, ____ ?
①  aren’t they
②  aren’t we
③  isn’t it
④  isn’t one
【单选题】 -Hi, haven’t seen you for ages! You look fine! -____. You look well, too.
①  Great
②  Thanks
③  Oh, no
④  Not at all