2、rC.y=x+30D.3y=x5.设S=“492”,表达式Right(S,1)+Left(S,1)+Mid(S,2,1)的值为__________。A.“492”B.“249”C.“294”D.“429”6.将数学表达式a≤b≤c写成Visual Basic表达式,正确的是__________。A.a<=b<=c B.a<=b Or b<=c C.a<=b And b<=c D.a<=b Not b<=c 7.为了把焦点移到文本框,所使用的方法是___________。A.SetFocusB.VisibleC.RefreshD.GetFocu
6、1To9Forb=0To9Forc=0To9x=_____________________If____________________________ThenPrintxNextcNextb《VB程序设计基础》试卷第11页共11页NextaEndSub得分评卷人三、程序分析题:(每题6分,共12分)1.点击窗体时,分析程序的执行结果。Private Sub Form_Click() For i = 1 To 5 For j = 1 To i Print "* "; Next j Print Next i End Sub程序功能结构分析:程序执行结果:2.单击命令按钮时,