试题

试题 试卷

logo

题型:单选题 题类:常考题 难易度:困难

浙江省诸暨市牌头中学2018届高三上学期信息技术期中考试试题

【加试题】有如下程序段:

For k = 1 To 4 Step 3

For i = k To k + 1

For j = i + 1 To k + 2

If a(j) < a(i) Then

temp = a(j): a(j) = a(i): a(i) = temp

End If

Next j

Next i

Next k

数组元素a(1)到a(6)的值依次为“9,8,7,6,5,4”,经过该程序段“加工”后,数组元素a(1)到a(6)的值依次为(    )

A、9,8,7,6,5,4 B、4,5,6,7,8,9 C、9,8,7,4,5,6 D、7,8,9,4,5,6
举一反三
返回首页

试题篮