8、2.(3)填入下面语段空白处的语句,排序正确的一项是()
A.③④①②
B.④③①②
C.②④③①
D.①④③②
A.③④①②
B.④③①②
C.②④③①
D.①④③②
下面程序对已知数组a(),删除数组中某个数组元素。 在空白处填入合适的语句,使程序完整。 Dim i, j, Key As Integer Dim a() As Integer = {1, 6, 8, 3, 5, 9, 10, 2, 7, 4} Key = Val(InputBox("输入要删除的值")) For i = 0 To UBound(a) If a(i) = Key Then ________ End If Next i If i <= 1 ubound(a) then for j="i" + to a(j - 1)="a(j)" next redim preserve a(ubound(a) msgbox("删除完成") else msgbox("找不到要删除的元素") end if> A、Exit For
B、Exit Sub
C、Exit Do
D、a(i - 1) = a(i)
E、a(i) = a(i - 1)
填入下面文字空白处的 6句话组成的语段,与前后文衔接的最恰当的一项是 ()从性质来看,“绣”不是丝绸,但在古代一般常用彩丝和丝绸作为刺绣的材料, 因而“绣” 与丝绸就有了密切的关系。 ______________________________________________但是,锦与绣有相同点,即两者工艺最复杂色彩最丰富和图案最华丽, 是最具有观赏性的丝绸。 因此,锦绣是中华丝绸审美文化的精华。 ①前者是丝绸,后者只是丝绸的装饰技艺和装饰品。 ②前者是“织”成花纹图案,后者则是“绣”成花纹图案。 ③因而古人常常以“锦”与“绣”并称 (锦、绣)或者合称(锦绣)。 ④但是“锦”与“绣”两者的工艺技术不同。 ⑤所以,“锦”是锦,“绣”是绣。 ⑥由于所用材料相同 (如彩丝),表现对象相同 (如花纹图案)。
A.④②①⑤⑥③
B.⑥③④②⑤①
C.④⑤①②⑥③
D.⑥③①②④⑤
Private Sub Form_Click()
sum=0
For i=1 To 1000
If______Then
sum=sum+i
End If
Next i
MsgBox sum
End Sub
A.①③②
B.②①③
C.②③①
D.③①②
1. 如果a=6,则执行语句:x = IIf(a>5,-1,0) 后,x的值为 。 A) 5 B) 6 C) 0 D) -1 2. 下列叙述正确的是 。 A) Select Case语句中的测试表达式可以是任何形式的表达式 B) Select Case语句中的测试表达式只能是数值表达式或字符串表达式 C) 在执行Select Case语句时,所有的Case子句均按出现的次序被顺序执行 D) 下列Select Case语句中的Case表达式是错误的: Select Case x Case 1 To 10 ...... End Select 3. 下列程序段的执行结果为 。 x = 5 y = -20 If Not x > 0 Then x = y - 3 Else y = x + 3 Print x - y; y - x A) -3 3 B) 5 –8 C) 3 –3 D) 25 -25 4. 下列程序段的执行结果为 。 x = 2 y = 1 If x * y < 1 Then y = y - 1 Else y = -1 Print y - x > 0 A) True B) False C) –1 D) 1 5. 执行以下语句后显示结果为 。 Dim x As Integer If x Then Print x Else Print x - 1 A) 1 B) 0 C) –1 D) 不确定
试题10
下列程序段的功能是求1到100的累加和。请在空白处填入适当的语句,使程序完成指定的功能。
Dim s As Single , m As Single
s=0
m=1
do while ____【10】___
s=s+m
m=m+1
Loop
2.从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
Software quality assurance is now an(1)sub-discipline of software engineering. As Buckly and Oston point out,(2)software quality assurance is likely to lead to an ultimate(3)of software costs. However, the major hurdle in the path of software management in this area is the lack of(4)software standards. The development of accepted and generally applicable standards should be one ofthe principal goals of(5)in software engineering.
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!