| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 536 人关注过本帖
标题:请大家帮忙看看这几题该选什么,先谢谢了~~~
只看楼主 加入收藏
mhp265
Rank: 1
来 自:上海
等 级:新手上路
帖 子:5
专家分:0
注 册:2010-4-26
结帖率:100%
收藏
 问题点数:0 回复次数:0 
请大家帮忙看看这几题该选什么,先谢谢了~~~
我不是学这门课的,但学科里有,听也听不懂,请各位好心人帮个忙啊


1.引用列表框(ListBox1)最后一个数据项应使用           
    ListBox1.Items(Listbox1.items.count)
Listbox1.Items(Listbox1.items.count-1)
Listbox1.Text
    Listbox1.Items(Listbox1.SelectedIndex)

2.假定有一个窗体类Form2,则将它实例化并显示的正确语句为           
A.Form2.Show
B.Form2.showDialog
C.Dim f2 as Form2
      f2.show()
D.dim f2 as new Form2
    f2.show()

3.在下列关于键盘事件的说法中,正确的是           
A. 按下键盘的任意一个键都会引发KeyPress事件
B. 按下大键盘上“1”键和数字键盘的“1”键的e.KeyCode的值相同
C. KeyDown/KeyUp事件过程中可使用e.KeyChar
D. 大键盘上“4”键上的上档字符是“$”,当同时按下Shift和大键盘上的“4”键时,KeyPress事件过程中的e.KeyChar为“$”

4.在下列代码段中,正确的是           
A.  Class Test
        Private x As Integer
    End Class
   Public Class From1
       ……
        Dim t As New Test
        t.x=10
        ……
             End Class
B. Class Test
        Public x As Integer
    End Class
   Public Class From1
       ……
        Dim t As Test
        t.x=5
        ……
             End Class
C. Class Test
        Protected x As Integer
    End Class
   Public Class From1
       ……
        Dim t As New Test
        t.x=10
        ……
             End Class
D. Class Test
        Public x As Integer
    End Class
   Public Class Form1
       ……
        Dim t As New Test
        t.x=5
        ……
             End Class

5.在下列关于构造函数的说法中,错误的是           
A.构造函数实质上是名称为New的Sub过程
B.一个类中可以有多个构造函数
C.构造函数在对象实例化时由系统自动调用,程序不能直接调用
D.用户在定义类时必须在其中定义构造函数

6.在下面的程序代码中,正确的是           
A. Class Test
        Private x As Double
        Public Property xx() As Double
            Get
                Return x
            End Get
            Set(ByVal Value)
                x = Value
            End Set
        End Property
    End Class
B.Class Test
      Private x As Double
        Public Property xx()
           Set(ByVal Value As Double)
                x = Value
            End Set
        End Property
    End Class
C.Class Test
        Private x As Double
        Public ReadOnly Property xx() As Double
            Get
                Return x
            End Get
        End Property
    End Class
D.Class Test
        Private x As Double
        Public Property xx() As Double
            Set(ByVal Value As Double)
                x = Value
            End Set
        End Property
    End Class

7.在下列关于继承的说法中,错误的是           
A.派生类可以继承基类中除了构造函数以外的所有成员
B.基类是派生类的一个子集
C.一个基类可以有多个派生类
D.在中,派生类只能有一个基类

8.在下面关于随机文件的描述中,不正确的是           
A.每条记录的长度必须相同
B.一个文件中记录号必须相同
C.可通过编程对文件中的某条记录方便地修改
D.文件的组织结构比顺序文件复杂

9.若要在磁盘上新建一个文件名为“C:\T1.txt”顺序文件,则应用下列         程序段打开文件。
A.  Dim F As String
        F = "c:\T1.txt"
        FileOpen(2, F, OpenMode.Append)
B.  Dim F As String
        F = "c:\T1.txt"
        FileOpen(2, “F”, OpenMode.OutPut)
C.  FileOpen(2, C:\T1.txt, OpenMode.Append)
D.  FileOpen(2, “C:\T1.txt”, OpenMode.Append)

10.以下构造Graphics类的实例语句,正确的是()
A. Dim g As Graphics = New Graphics( )
B. Dim g As Graphics = New Me.CreateGraphics( )
C. Dim g As Graphics = Me.CreateGraphics( )
D. Dim g As Graphics = New Graphics(Color.Blue)

11.GDI+位于          命名空间。
A.System.Drawing
B.
C.System.Exception
D.System.Math

12.在程序执行中要将画笔P的颜色改为红色,以下语句中正确的是           
A.Dimp As New Pen(Color.Red)
B.p.Color = New Color.red
C.p.Color = red
D.p.Color = Color.Red

13.下列属性和事件中,属于滚动条和进度条共有的是           
A.Scroll   B.ValueChanged   C.LargeChange  D.Maximum

14.下列关于定时器的说法中,正确的是           
A. 当Enabled的属性为False时,不产生Tick事件
B. 在程序运行时不可见,这是因为Visible属性为False
C. 当Interval属性为0,则Tick事件不会发生
D. 通过适当的设置可以将Interval属性的单位改为秒
搜索更多相关主题的帖子: 键盘 
2010-05-19 13:38
快速回复:请大家帮忙看看这几题该选什么,先谢谢了~~~
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012166 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved