各种计算机中,字符的ASCII码不完全相同。但是对英文26个字母而言,其大写字母与小写字母的序号的相对位置是不变的。下面的说法正确的是______。(本题2.0分)
A、大写字母A的序号为50比小写字母a的序号小32
B、小写字母a的序号为50比写大字母A的序号小32
C、大写字母A的序号为65,比小写字母a的序号小32
D、小写字母a的序号为65,比大写字母A的序号小32
相关专题: 大写字母
相关问题推荐
输入一个字符串,将其中小写字母改成大写字母,把大写字母改成小写字母,其余字符不变,输出该字符串。
A.瞬时值常用大写字母表示,有效值常用小写字母表示
B.瞬时值常用小写字母表示,有效值常用大写字母表示
C.瞬时值和有效值都常用小写字母表示
D.瞬时值和有效值都常用大写字母表示
在窗体上画一个名称为Text1的文本框,要求文本框只能接收大写字母的输入。以下能实现该操作的事件过程是
A.Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii < 65 Or KeyAscii > 90 Then MsgBox "请输入大写字母" KeyAscii = 0 End If End Sub
B.Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode < 65 Or KeyCode > 90 Then MsgBox "请输入大写字母" KeyCode = 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 "请输入大写字母" End If End Sub
D.Private Sub Text1_Change() If Asc(Text1.Text) > 64 And Asc(Text1.Text) < 91 Then MsgBox "请输入大写字母" End If End Sub
A.国药准字+大写字母+8位数字
B.国食健字+大写字母+8位数字
C.国药批准+大写字母+8位数字
D.国药准字+大写字母+4位数字
在窗体上画一个名称为Text1的文本框,要求文本框只能接收大写字母的输入。以下能实现该操作的事件过程是()。
A.Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii<65 Or KeyAscii>90 Then
MsgBox "请输入大写字母"
KeyAscii=0
End If
End Sub
B.Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode <65 Or KeyCode>90 Then
MsgBox "请输入大写字母"
KeyCode=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 "请输入大写字母"
End If
End Sub
D.Private Sub Text1_Change()
If Asc(Text1.Text) >64 And Asc(Text1.Text) <91 Then
MsgBox "请输入大写字母"
End If
End Sub