软件水平考试

解析:The sorting method described by the

来源:网考网软件水平 所有评论

【单选题】The sorting method described by the following code is called().
FOR i:=1 TO n—1 do
BEGIN
k: =i;
FOR j: =i+1 TO nDO
IFA[j]<A[K]
THEN k:=j;
IF k<>i
THENBEGIN
x:=A[k];
A[k]: =A[i];
A[i]:=x
END
END;
A、insertion sort B、selection sortC、radix sortD、merge sort

网考网参考答案:D
网考网解析:

暂无解析 document.getElementById("warp").style.display="none"; document.getElementById("content").style.display="block"; 查看试题解析出处>>

相关推荐

发布评论 查看全部评论