安农大vb计算机试题3(Ann agriculture VB computer examination questions 3).docVIP

  • 3
  • 0
  • 约7.6千字
  • 约 19页
  • 2017-10-06 发布于河南
  • 举报

安农大vb计算机试题3(Ann agriculture VB computer examination questions 3).doc

安农大vb计算机试题3(Ann agriculture VB computer examination questions 3)

安农大vb计算机试题3(Ann agriculture VB computer examination questions 3) 1 what is wrong with the following statement? A) by default, the value of the property Visible is False (B) if the Visible property of the control is set to False, the run - time control will be hidden C) the value of Visible can be set to True or False D) setting the Visible property is the same as setting the Enabled property, leaving the control in a state of failure 2 the type of file that a project must contain is A.*.vbp, *.frm, *.frx, B.*.vbp, *.cls, *.bas C.*.bas, *.ocx, *.res, D.*.frm, *.cls, *.bas 3 in the following assignment statement, () is wrong. A.x=x+1, B.x=x+y, C.x+y=x, D.x=4 6 The following 4 items can be used as the Visual Basic variable name A) Book B) 2_Seek C) 123.58 D) Book1 5 in the code editor, continuation characters are used to line up the symbols for writing the same statement, which is used to indicate continuation characters A) a space followed by an underscore _ B _) an underscore C) a character - D, one space plus a hyphen 6 if you want to set a command button in a form to an invalid state, what attribute should you move the command button? A) Value B) Visible C) Default D) Enabled 7 in Visual Basic, the following two variables have the same name A) Japan and Ja_pan B) English and ENGLish C) English and Engl D) China and Chin 8 in the declarations of the following symbolic constants, it is illegal to A.Const a As Single=1.1 B.Const a= OK C.Const, a, As, Double=Sin (1) D.Const a As Integer= 12 Nine The following procedure that calculates n correctly is A) Private, Sub, Command1_Click () N=5: x=1 Do X=x * I I=I + 1 Loop While I n Print x End Sub B) Private, Sub, Command1_Click () N=5: x=1: I=1 Do X=x * I I=I + 1 Loop While I n Print x End Sub C) Private, Sub, Command1_Click () N=5: x=1: I=1 Do X=x * I I=I + 1 Loop While I =n Print x End Sub D) Private, Sub, Command1_Click () N=5: x=1: I=1 Do X=x * I I=I + 1 Loop, While, I n Print x End Sub 10 the following procedures

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档