试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省嘉兴市2018-2019学年高二下学期信息技术期末考试试卷一
实现上述功能的VB程序如下,请回答下列问题:
Dim i As Integer,s As Integer
s=0
For i=2 To ________ Step 2
s=s+i
Next i
Label1.Caption=Str(s)
k=0:s=0
Do While k<=10
s=s+1
k=k+1
Loop
PRIVATE SUB FORM-------CLICK()
S=0
DIM I AS INTEGER, S AS INTEGER
FOR I= 2 TO 100 {#blank#}1{#/blank#}
S=S+{#blank#}2{#/blank#}
NEXT I
PRINT S
END SUB
试题篮