单项选择题

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]
THEN k:=j:
IF k<>i
THEN BEGIN
X:=A[k];
A[k]:=A[i];
A[i]:=x
END
END;
<---> The sorting method described by the code is called()

A.Insertion sort
B.Selection sort
C.Radix sort
D.Merge sort

<上一题 目录 下一题>
热门 试题

单项选择题
Software Engineering Economy is an effective part of software engineering, which of the following content is the research comtent of software engineering economy () Ⅰ.Estimation of software development cost Ⅱ.Earn & Cost analysis of software development Ⅲ.Adjustment of software development progress

A.Ⅲ only
B.Ⅱ and Ⅲ
C.Ⅰ and Ⅱ
D.all

单项选择题
Prototype method is one of the software engineering methods frequently used, which of the following item is the necessary condition for implementing prototype method () Ⅰ.Can acquire the user requirement quickly Ⅱ.Have the tools for building software fast Ⅲ.Have a certain accumulation of prototype systems

A.Ⅰ only
B.Ⅰand Ⅱ
C.Ⅱ and Ⅲ
D.all

相关试题
  • Are based on the following Pascal ...
  • Prototype method is one of the sof...
  • Software Engineering Economy is an ...
  • 栈S最多能容纳4个元素。现在6个元素按A、...
  • 下列命题中哪个一定为真?()