首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
Items (58) and (59) are based on the following Pascal code. for i:=1 to n -1 do begin k:=i: for j :=i+1 to n do if
Items (58) and (59) are based on the following Pascal code. for i:=1 to n -1 do begin k:=i: for j :=i+1 to n do if
admin
2009-02-24
54
问题
Items (58) and (59) are based on the following Pascal code. for i:=1 to n -1 do begin k:=i: for j :=i+1 to n do if A[j]<A[k] then k:=j: if k<>i then begin X:=A[k]; A[k]:=A
; A
:=x end; end;The sorting method described by the code is called
选项
A、Insertion sort
B、Selection sort
C、Radix sort
D、Merge sort
答案
B
解析
转载请注明原文地址:https://kaotiyun.com/show/p2NZ777K
0
笔试
原NCRE全国计算机四级
NCRE全国计算机四级
相关试题推荐
ICMP协议属于因特网中的(34)协议,ICMP协议数据单元封装在(35)中传送。(35)
某电子邮箱收件箱的内容如下图所示,其中未读邮件个数为(48)。本页面中带附件的邮件个数为(49)。(49)
1000Base-T标准规定网卡与Hub之间的非屏蔽双绞线长度最大为______。
在Windows命令提示窗口中,执行________________命令得到以下运行结果,该命令的作用是________________。
ICMPisshortforInternet(71)MessageProtocol,andisanintegralpartoftheInternet(72)suite(commonlyreferredtoas
故障管理是指__________,建立和维护差错日志并进行分析。
______is a contiguous, numbered set of variables of a given base type, which can be used and passed to functions as a unit.
An instruction is made up of(41) that specify the function to be performed and operands that represent the data to be operated o
In C program, all variables must be declared before(52), usually at the(53) of the function before any executable statements.
LocalbuscanreducetheoccupationtimeofCPU.FortheEISAlocalbus,commonlythetimecanbereducedto().
随机试题
佝偻病患儿体内缺乏()。
“同业存放——系统内款项存放”属于________科目。()
很难在城市与乡村之间划一条有严格科学意义的界线的原因,其说法正确的是()
根据《建设工程监理规范》,不属于专业监理工程师职责的是()。
某建设项目计算期8年,其中建设期2年。1.项目建设投资2400万元,第1年投入1000万元,全部为自有资金,第2年投入1400万元,其中1000万元为银行贷款,贷款年利率为6%,贷款偿还方式为:第3年不还本付息,以第3年末的本息和为基准,从
使用收入法计算工业增加值,应从工业生产过程中创造的原始收入初次分配的角度入手,其计算公式为( )。
某工厂1999年预防成本为10万元,鉴定成本为30万元,返工和返修费合计为50万元,三包费用为10万元。该厂故障成本率为()。
德国哲学家、教育家康德的主要教育思想集中体现在()一书中。
(2011年下半年)根据《计算机软件质量保证计划规范GB/T12504—1990)),为确保软件的实现满足需求而需要的基本文档中不包括(14)。
下面的程序执行后,屏幕上显示的应是publicclassExam{publicstaticvoidmain(String[]args){charchar1[]={’t’,’e’,’s’,’t’};
最新回复
(
0
)