资源描述:
《vb考试复习资料(模拟测试系统)(vb exam review material (simulation test system))》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、vb考试复习资料(模拟测试系统)(VBexamreviewmaterial(simulationtestsystem))TopofformThereare4mainquestionsinthisvolume:thebottomoftheformAsinglechoice(25items,atotalof25points)1、theextensionofengineeringsoftwareinVBis()(1points)A,DSB,FRMC,VBPD,bas2,removethespaceontherightofthestring"ABCDEF",
2、andusethe()function(1points)A,trimB,rtrimC,rightD,mid3,thedatatypeofthetextpropertyofthetextboxtext1is()(1points)A,integerB,stringC,singleprecisionD,doubleprecision4.Thefollowingattributesdeterminethecontentoftheformtitlebar(1points)A,NameB,CaptionC,TextD,BackStyle5,thecommandb
3、uttoncommand1doesnothaveanyofthefollowingevents()(1points)A,ClickB,KeyPressC,GotFocusD,DblClick6,inorderforthetextboxtohavehorizontalandverticalscrollbarsatthesametime,youshouldsettheMultiLinepropertytoTrue,andthensettheScrollBarspropertyto()1A,0B,1C,2D,37,Dim,D(3,1To10,1To15)s
4、tatement,thenumberofelementsofthearrayis()(1points)A,3*10*16B,3*11*16C,4*10*15D,4*11*158,iftheintegervariablesC,D,andXare8,6,and0respectively,thefollowingstatementForI=ctoD:x=x+i:I:Next,whentheendofexecution,thevalueofIis()(1)A,8B,7C,6D,59,assumethefollowingcyclicstructure,DoUn
5、til,theconditionalloopbodyLoop,andthecorrectdescriptionis()(1points)A,iftheconditionisaconstantof0,thenaloopbodyisnotexecutedB,iftheconditionisaconstantof0,atleastonecyclebodyisexecutedC,iftheconditionisaconstantthatisnot0,atleastonecyclebodyisexecutedD,whetherornotthecondition
6、istrue,executesatleastoneloop10,"xislessthan100nonnegativenumbers",usingtheVBexpressionthatiscorrect()(1points)A,x<1000<=x0rB,x<100<=0C,x<1000<=xAndD,0,<=x,x<10011,thefollowingstatementiswrong()(1points)A,exit,forB,exit,doC,end,subD,exit,selectThedatatypereturnedbythe12andInput
7、boxfunctionsis()(1points)A,integerB,logicalC,singleprecisionD,string13,assumethefollowingprocedures:ForI=1,To3:For,j=1,To5,Step,-1:,Print,I*j:,Next,j:,Next,I,andstatementPrintI*j,thenumberofexecutionsis()(1points)A,15B,18C,10D,014,ifyouwanttocleartheprintedoutputintheform,youca
8、nuse()statements(1points)A,InputB,LoadC,ClsD,Paint15,c