1. [单选题]下列选项中不是字符常量的是( )。
A. \v
B. \x2a
C. a
D. "\0"
2. [单选题]通过设置Shape控件的( )属性来确定是何种封闭图形
A. Shape
B. Borderstyle
C. FillStyle
D. Style
3. [单选题]在窗体上画一个名称为Text1的文本框,要求文本框只能接收大写字母(majuscule)的输入,以下能实现该操作的事件过程是______。
A. Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii65 Or KeyAscii>90 Then MsgBox"请输入大写字母(majuscule)" KeyAscii=0 End If End Sub
B. Private Sub Text1_KeyDown(Keycode As Integer, Shift As Integer) If KeyCode65 Or Keycode>90 Then MsgBox"请输入大写字母(majuscule)" KcyCode=0 End If End Sub
C. Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Asc(Text1. Text)65 Or Asc(Text1. Text)>90 Then MsgBox"请输入大写字母(majuscule)" End If End Sub
D. Private Sub Text1_Change() If Asc(Text1. Text)>64 Or Asc(Text1. Text)91 Then MsgBox"请输入大写字母(majuscule)" End If End Sub
4. [单选题]在结构化方法中,用数据流程图(DFD) 作为描述工具的软件开发阶段是_______。
A. 可行性分析
B. 需求分析
C. 详细设计
D. 程序编码
5. [单选题]在下列ADO.NET的数据库连接方式中,不能用于连接SQL Server数据库的是( )。
A. OleDbConnection
B. OdbcConnectiOn
C. SqlConnection
D. OracleConnection