资源描述:
《vb期末练习卷(vb final exercise volume)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、vb期末练习卷(VBfinalexercisevolume)VBfinalexercisevolumeOne,yes,noproblem(14points,1pointspersubject)One,rightandwrong1234567891011121314Tickticktick********tickticktick1.whenusingthecheckboxcontrolarray,theyrespondtothesameClickeventanddistinguishthedifferentbuttonsfromtheIndexparametervalues.2.tomak
2、ethecharacteroftheinputtextboxalwaysshow"*",thePasswordCharpropertyshouldbemodifiedas"*"".3.thelastitemoftheListBoxcontrolList1isList1.List(List1.ListCount).4.settheframework,youcanfirstdrawagoodframeontheform,andthenaddcontroltotheframework;youcanalsodesignthecontrol,andthenestablishaframework,a
3、ndthendragtheexistingcontrolstotheframework.Thestaticvariableinthe5.processisalocalvariable.Whentheprocessisexecutedagain,theinitialvalueofthestaticvariableisthevalueafterthecallofthepreviousprocedure.The6.eventprocessistriggeredbyausereventorsystemevent,anditcannotbeinvokedbyotherprocesses.7.tex
4、tboxcontrolstheMaxLengthattributevalueis0,inthetextboxcannotenteranycharacter.8.addthedataitem"watermelon"tothelistboxLIST1,andmakeitthetopofthefirstitem,youcanusethefollowingstatementtoachieve:list1.addItem"watermelon",19.whentheIntervalattributevalueofthetimercontrolissetto0,theTimereventwillbe
5、continuouslyexcited.10.clickanyofthetableentriesinthecombobox,andthetextofthetablewillreplacetheTextattributevalueofthecomboboxcontrol.11.aproceduredeclaredasPrivateinaformormodulefilecanonlybeinvokedbyaprocedureinthisformormodule.12.inthecustomfunctionprocess,thefunctionnamemustbeassigned.When13
6、.arraysarepassedasarguments,theargumentsandtheparameterssharethesamestoragespace.14.labelsandtextboxcontrolscandisplaycharacters,whichdisplaythecontentofthecontrolistheCaptionattributevalue.Two,radioquestions(16points,1pointspersubject)Two.Radioquestions12345678910111213141516DADADACBCCADCABD1.aS
7、UBprocedureforsortingallelementsofaSingletypearrayfromsmalltolargeispresentedA.PrivateSubsort(a()AsSingle,nAsInteger)AsIntegerB.PrivateSubsort(a(1Ton)AsSingle,nAsInteger)C.PrivateSubsort(ByRefa()AsSingle,nAsInteger)AsI