资源描述:
《2010年vb期中试卷answer(2010 vb midterm examination paper answer)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、2010年vb期中试卷answer(2010VBmidtermexaminationpaperanswer)Interimexaminationpaper(A)volume2009--2010semestersecondsemestercoursenamecomputerlanguage(VB)testdate:April25,2010Theteacher:theexaminationtime:90minutesMajor:Class:examineenumber:examineename:Note:thepapersuseredpen,ont
2、hetick"wrong"X",andthemethodofevaluationpoints.Questionno.OneTwoThreeThetotalscoreCumulativepersonsignatureItemFiftyThirtyTwentyOnehundredScoreCandidatesnote:1,thetestpaper8pages,pleasecheckwhetherthereisamissingpageinthetestpaper.2,aftertheexamination,theexamineeshallnottes
3、tpapers,answerpaperanddrafttapeoutoftheexaminationroom.Achoice(2pointsperday,atotalof50points,pleasewriteyouranswersinthetablebelow)ScoreThemarkingOneTwoThreeFourFiveSixSevenEightNineTenCBBAABADCCElevenTwelveThirteenFourteenFifteenSixteenSeventeenEighteenNineteenTwentyCBBBAC
4、CBBDTwenty-oneTwenty-twoTwenty-threeTwenty-fourTwenty-fiveACBBA1,thefollowingdescriptioniswrong().A)VisualBasicisaneventdrivenvisualprogrammingtool.B)VisualBasicapplicationsdonothaveobviousstartandendstatements.C)allstandardcontrolsintheVisualBasictoolboxhavewidth(Width)andh
5、eight(Height)attributes.D)somepropertiesofcontrolsinVisualBasiccanonlybesetatruntime.2,thefollowingdescriptionisnotcorrect.APA)double-clickthemousecantriggertheDblClickeventThebrandnameB)formorcontroleventscanbesetbytheprogrammerAPC)whenyoumovethemouse,willtriggertheMouseMov
6、eeventThebrandnameD)controlscanbesetbytheprogrammer3.Thefollowingisthenameofthelegalvariable.A)X-YB)X_YC)2YD)String4,ifyouwanttomaketheusercannotmodifythecontentsofthetextboxText1,youshouldmodify()attributes.A)LockedB)MultiLineC)PassWordCharD)ScrollBar5.TheCaptionpropertyoft
7、hecommandbuttonCommand1is"exit(x)".HowtomodifytheCaptionattributewhentheshortcutkeyofthecommandbuttonissettoAlt+x?.()A&B)insertedinfrontoftheX&C)insertafterXinsertioninD#)beforeXafterXinsertion#)6.Theincorrectdescriptionofthefollowingfunctionis().A)Asc("A")returnsthevalueB)t
8、hevalueoftheexpressionLen("lucky52")is6C)ifthevalueofSgn(x)is-1,thenxisaneg