网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
给定数列(541,132,984,746,518,181,946,314,205,827)按照从小到大的顺序排列,采用冒泡排序时,第一趟扫描结果是()
A.(541,132,827,746,518,181,946,314,205,984)
B.(205,132,314,181,518,746,946,984,541,827)
C.(132,541,746,984,181,518,314,946,205,827)
D.(132,541,746,518,181,946,314,205,827,984)
参考答案
更多 “ 给定数列(541,132,984,746,518,181,946,314,205,827)按照从小到大的顺序排列,采用冒泡排序时,第一趟扫描结果是()A.(541,132,827,746,518,181,946,314,205,984)B.(205,132,314,181,518,746,946,984,541,827)C.(132,541,746,984,181,518,314,946,205,827)D.(132,541,746,518,181,946,314,205,827,984) ” 相关考题
考题
给定数列(541,132,984,746,518,181,946,314,205,827)按照从小到大的顺序排列,采用直接选择大值开始排序时,第一趟扫描结果是()A.(541,132,827,746,518,181,946,314,205,984)B.(205,132,314,181,518,746,946,984,541,827)C.(132,541,746,984,181,518,314,946,205,827)D.(132,541,746,518,181,946,314,205,827,984)
考题
给定数列(541,132,984,746,518,181,946,314,205,827)按照从小到大的顺序排列,采用快速排序(以中间元素518为基准)的第一趟扫描结果是()A.(541,132,827,746,518,181,946,314,205,984)B.(205,132,314,181,518,746,946,984,541,827)C.(132,541,746,984,181,518,314,946,205,827)D.(132,541,746,518,181,946,314,205,827,984)
考题
在内部排序中,通常要对被排序数据序列进行多趟扫描。各种排序方法有其不同的排序实施过程和(时间)复杂性。对给定的整数序列(541,132,984,746,518,181,946,314,205,827)进行从小到大的排序时,采用冒泡排序的第一趟扫描结果是(61)。设被排序数据序列有n个元素,冒泡排序算法的复杂性是(62)。A.(541,132,827,746,518,181,946,314,205,984)B.(205,132,314,181,518,746,946,984,541,827)C.(541,132,984,746,827,181,946,314,205,518)D.(132,541,746,518,181,946,314,205,827,984)
考题
在内部排序中,通常要对被排序数据序列进行多趟扫描。对给定的整数序列(541,132,984, 746,518,181,946,314,205,827)进行从小到大的排序时,采用冒泡排序的第一趟扫描结果是(45)。A.(541,132,827,746,518,181,946,314,205,984)B.(205,132,314,181,518,746,946,984,541,827)C.(541,132,984,746,827,181,946,314,205,518)D.(132,541,746,518,181,946,314,205,827,984)
考题
对给定的整数序列(541,132,984,746,518,181,946,314,205,827)进行从小到大的排序时,采用快速排序(以中间元素518为基准)的第一趟扫描结果是( )。A.-181,132,314,205,541,000,000,000,000,000B.-541,132,827,746,518,000,000,000,000,000C.-205,132,314,181,518,000,000,000,000,000D.-541,132,984,746,827,000,000,000,000,000
考题
给定数列: 20 9 10 21 36 30 24 27 37 17 , 使用冒泡排序,从小到大排序。请写出第一轮冒泡排序的详细过程。 提示:第一轮需比较9次,写出每次比较后的数列。
热门标签
最新试卷