附录A各章习题参考答案第1章一、选择题1.B2.A3.C4.D5.C6.A7.C8.D9.C10.B二、填空题1.中断2.Windows3.事件4.vbp,frm,bas5.窗体6.F4,视图7.浮动形式8.设置属性9.当前工程名称10.查看对象,查看代码第2章一、选择题1.C2.D3.A4.A5.C6.C7.B8.B9.B10.D二、填空题1.正常2.Load3.Form1.Width/24.NotText1.Visible5.False6.Activate7.代码窗口8.Change9.Interval10.Timer第3章一、选择题1.D2.B3.A4.D5.B6.D7.A8.B9.A10.C二、填空题1.x%100andx%=02.012,345.683.Shanghai4.3.96551724137931,3,55.456745676.5*y+log(abs(a))*log(abs(b))7.48.-19.”afgh”VVV10.6.6第4章一、选择题1.A2.C3.C4.D5.B6.A7.B8.A9.C10.A二、填空题1.**2.打印机2793.Yesterday4.变体类型5.Val6.Basic7.1234568.1089.3010.偶数第5章一、选择题1.C2.D3.C4.C5.A二、填空题1.KeyasciiEND2.Button=1第6章一、选择题1.C2.B3.B4.B5.C6.C7.C8.A9.D10.B二、填空题1.Change2.Interval,5003.Picture1.Picture=LoadPicture(app.path&c:\moon.jpg)4.1233215.Text1.Setfocus6.0(或者Recangle)7.Scroll8.组合框(或者ComboBox)9.Default,Cancel10.BackStyle,Transparent第7章一、选择题1.D2.B3.A4.A5.B6.C7.D8.A9.A10.D11.D二、填空题1.02.6–i3.s+c,-14.105.5.6,56.n,17.f*i,f8.32809.Ifa=bThenx=1PrintxElsey=2PrintyEndIf10.warn第8章一、选择题1.A2.D3.B4.C5.A6.A7.D8.C9.A10.B二、填空题1.352.Variant3.EachiIna,j=2,j=j+14.Text1(0),1,sum–max–min5.arr1(1),min=arr1(i)6.Option1(i).Value,opt,Label4.Caption7.218.2,4–i,4–i9.0、1、2、310.6第9章一、选择题1.B2.D3.B4.A5.D6.B7.A8.B9.B10.A二、填空题1.152.5,43.1/(i*i)或者1/i^24.2005.46.57.乘积=10没有提供可选参数8.309.-5,510.2281第10章一、选择题1.A2.D3.C4.B5.B二、填空题1.通用对话框2.Color3.E:\TextFiles\myfile\abc.docabc.doc4.CommonDialog1.ShowColor5.FontNameFontSizeColor第11章一、选择题1.C2.C3.A4.B5.A6.C7.D8.A9.D10.B二、填空题1.-2.弹出式3.菜单项显示区4.&5.PopupMenu6.menu1.Visible=False7.Alt+O8.Op1_Click,39.IndexId+1,Load,Visible10.Input,Eof(1)第12章一、选择题1.A2.B3.D4.D5.B6.C7.A8.C二、填空题1.查询2.数据控件3.DataField4.AbsolutePosition5.Reposition6.UpdateRecord7.DatabaseNameRecordSource8.ConnectionStringRecordSource