填空题

执行下列语句后,程序的输出结果为 【7】 。
x=6: y=2: z=5
Print z=x-y

【参考答案】

False
<上一题 目录 下一题>
热门 试题

填空题
以下所列程序的功能是:在窗体上有一个文本框控件,程序运行后,用户可以利用鼠标左键来拖动该文本框控件(注意:拖动时,文本框移动的距离和方向由鼠标指针移动的距离和方向来确定),按下鼠标右键则可以在文本框中显示出当前文本控件的位置。 Public yx As Integer Public yy As Integer Private Sub Form_ MouseMove(Button AS Integer,Shift As Integer,_ X As Single,Y As Single) If Button=1 Then Text1.Left= 【11】 Text1.Top= 【12】 End If End Sub Private Sub Form_ MouseDown (Button As Integer,Shift As Integer,_ X As Single,Y As Single) If 【13】 Then yx=Text1.Left-X yy=Text1.Top-Y End If If Button=2 Then Text1.Text=“X坐标:”+Str(Text1.Left)+“Y坐标:”+Str(Text1.Top) End If End Sub
填空题
单击窗体上的命令按钮Command1,程序的输出为 【6】 。 Private Sub Command1_Click() a= AbC b= dEF c=UCase(a) +LCase(b) Print Asc(c) End Sub
相关试题
  • 在窗体上画一个通用对话框,其名称为Comman...
  • Visual Basic中有一种控件组合了文本框和...
  • 在窗体form1上有一个驱动器列表控件Drivel...