(D)BASIC97电子计概

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

515VisualBasic16VisualBasic15VisualBasic1.2.3.4.5.6.15-115-215-3VisualBasic15-415-515-690919293949596971015332116022110118300022018423665333265656565656565655206.2%3.1%4.6%9.2%9.2%7.7%4.6%4.6%6.2%15-215-11.algorithm2.3.334.inputoutputfinitenessdefinitenesseffectiveness1?(a)(b)(c)TrueFalse?A1B12NTrueFalse115-315VisualBasic1.pseudocode2.3.15-4()1.(A)(B)(C)(D)BASIC97()2.()(A)(B)(C)(D)97()3.(A)(B)(C)(D)()4.(A)(B)(C)(D)81()5.(A)(B)(C)(D)93()6.(A)(B)(C)(D)848888()7.(A)(B)(C)(D)89()8.(A)(B)(C)(D)90()9.()B(A)34(B)40(C)45(D)4992A=10,B=0B()B=B+AA6A=A-1()15-515VisualBasic()10.ABC()(A)(B)(C)(D)92AABCACABBC()11./(A)(B)(C)(D)91()12.1A=1SUM=02SUM=SUM+A3A=A+1425SUM6(A)(B)(C)(D)192()13.(A)(B)(C)(D)()14.Decision(A)(B)(C)(D)87()BC15-6()15.30(A)(B)(C)(D)8410A=5:B=820C=A+B30PRINTC40END1.A2.A3.D4.B5.B6.C7.B8.C9.C10.D11.C12.C13.B14.C15.B15-21.programminglanguage2.15-715VisualBasiclow-levellanguage1.machine-dependent2.machinelanguageassemblylanguage01ADDMOV()1.(A)(B)(C)(D)()2.01(A)BASIC(B)(C)C(D)93()3.(A)(B)(C)(D)87()4.(A)(B)01(C)(D)()5.(A)(B)(C)(D)941.D2.D3.B4.C5.D15-8high-levellanguage1.2.3./4.procedurallanguage(1)(2)FORTRANCOBOLBASICPascalC5.querylanguage(1)(2)SQLStructuredQueryLanguage6.object-orientedlanguage(1)(2)classobject15-915VisualBasic(3)encapsulationinheritancepolymorphism3redefine(4)C++CJavaVisualBasic.NETVisualBasic7.(1)(2)LISPPROLOG(3)(4)()1.(A)BASIC(B)COBOL(C)FORTRAN(D)assemblylanguage95()2.(A)(B)(C)Portability(D)()3.BASIC(A)(B)(C)(D)()4.(A)VisualBasic(B)C(C)COBOL(D)FORTRAN()5.(A)FORTRAN(B)COBOL(C)BASIC(D)C15-10()6.(A)(B)VisualBasic(C)(D)Java95()7.Objects(A)Attributes(B)Aggregation(C)Classes(D)Messages94()8.(A)Java(B)FORTRAN(C)Pascal(D)ADA()9.Internet(A)Notes(B)C++(C)VisualBasic(D)JAVA91()10.(A)(B)(C)(D)()11.(A)(B)(C)(D)()12.(A)(B)(C)(D)92()13.subclasssuper-class(A)encapsulation(B)inheritance(C)polymorphism(D)delegation()14.(A)abstraction(B)polymorphism(C)inheritance(D)encapsulation94()15.(A)Inheritance(B)Class(C)Polymorphism(D)Encapsulation941.D2.A3.C4.C5.D6.C7.C8.A9.D10.C11.D12.A13.B14.D15.C15-1115VisualBasic1.2.assemblecompileFORTRANCOBOLVisualBasicPascalCC++JavainterpretBASIC3./4.LinkerLoader15-125.6.11()1.(A)Editor(B)Assembler(C)Compiler(D)Loader84()2.1.Compiler2.Loader3.Linker4.Editor(A)1234(B)4321(C)4123(D)413290()3.(A)(B)(C)(D)()4.(A)(B)(C)(D)()5.(A)(B)(C)(D)()6.(A)C++(B)Pascal(C)BASIC(D)Delphi931.C2.D3.B4.D5.C6.C15-1315VisualBasic15-3VisualBasicVisualBasic1.VisualBasicVBBASIC2.VB(1)VB(2)31.2.*.vbp1*.frm1.2.1.2.3.(1)(2)(3)(4)(5)(6)(7)4.VB(1)(2)(3)15-145.VBPrivateSubCommand1_Click()'ConstpiAsDouble=3.14159DimrAsSingle,AreaAsDoubler=Val(Text1.Text)Area=pi*r^2Text2.Text=AreaEndSubDim*6.VB[][](1)(2):(3)'REM[]7.VB(1)(2).EXE15-1515VisualBasic()1.VisualBasic(A)(B)(C)(D)()2.VisualBasic(A)(B)(C)(D)()3.VisualBasicVisualBasic(A)VisualBasic*.zip(B)VisualBasic*.exe(C)VisualBasic*.vbp(D)VisualBasic*.frm()4.VisualBasic(A)(B)(C)(D)()5.VisualBasic(A).cls,.ctl(B).vbp,.frm(C).exe,.com(D).dll,.sys()6.VisualBasic(A)(B)(C)(D)()7.a.b.c.(A)abc(B)cab(C)bac(D)acb1.B2.D3.B4.C5.B6.A7.B1.property(1)(2).=Command1.Caption='Command115-16ClickTimerLoad4.VBeventdriveneventprocedure5.2.method(1)(2)..Form1.PrintHello'Form1Print3.event(1)Click(2)_Command1_Click()(3)15-1715VisualBasic1.2.FormLabelTextBoxPictureBoxCommandButtonOptionButtonCheckBoxTimerTimer//AlignmentLabelTextBoxCaptionEnabledCommandButtonOptionButtonFontNameTextTextBoxVisibleClsFormPictureBoxHideFormPrintFormSetFocusTextBoxShowFormActivateFormClickDblClickLoadFormTimerTimer15-18()1.VB(A)(B)(C)(D)90()2.(A)(B)(C)(D)88()3.VisualBasic(A)Label(B)TextBox(C)OptionButton(D)Timer()4.(A)Lable(B)TextBox(C)OptionButton(D)Form()5.(A)Activate(B)Click(C)Load(D)Timer()6.(A)Show(B)Picture(C)Value(D)Visible()7.Timer5TimerInterval(A)5000(B)500(C)50(D)5()8.1False(A)Font(B)Caption(C)Name(D)Enabled()9.VisualBasic(A)Form_Load(B)Form_Activate(C)Form_Click(D)Form_DblClick1.A2.C3.C4.B5.B6.D7.A8.D9.B7.IntervalTimer5TimerInterval50009.LoadActivateForm_Activate15-1915VisualBasic15-41.2.Hi!Jay3.4.TrueFalse5.##2008/12/24#String$2bytesInteger%2bytesLong&4bytesSingle!4bytesDouble#8bytesBoolean2bytesDate8bytes()1.1(A)(B)(C)(D)()2.(A)(B)(C)(D)()3.8Bytes(A)PK%(B)PL!(C)PM#(D)P$=APPLE87()4.VisualBasic(A)ANS%(B)ANS!(C)ANS#(D)ANS$()5.VB(A)AB!(B)AB#(C)B%(D)AB0115-20()6.BASIC2(A)32768~32768+−(B)32767~32768+−(C)32767~32767+−(D)65535~65535+−911.A2.C3.C4.D5.B6.B6.21665536216=6553632767~32768+−1.2.3.4.VBVariant5.(1)255(2)VBDimPrint(3)(4).!@#$%&6.(1)1DimAs2Dim15-2115VisualBasic7.(1)1ConstAS=2Const=(2)12ConstETAsString=HelloConstET$=HelloETConstRATEAsLong=&O723ConstRATE&=&O723RATE()1.VisualBasic(A)6AC(B)ATTO(C)A1#(D)A_1()2.VisualBasic(A)NAMES$(B)Y2K(C)CDIM10(D)56K()3.BASIC(A)DimAAasLong(B)DimBBasDouble(C)DimCCasInte-ger(D)DimDDasSingle9012DimETAsStringDimET$ETDimSUMAsString*10DimSUM$*10SUM10DimRATEAsIntegerDimRATE%RATE(2)VB&O&&H15-221.(1)(2)operand()4.VisualBasic(A)Rem(B)Const(C)As(D)Dim91()5.VisualBasic(A)I=J+5(B)J=I+J(C)I=J*5(D)I+J=5()6.ViusalBASICXYZ(A)203010(B)301020(C)302010(D)103020X=10:Y=20:Z=30:T=40T=X:X=Y:Y=Z:Z

1 / 54
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功