What is the author’s attitude toward “old wives tales” in the text?
A. Subjective B. Objective C. Dissatisfied D. Curious
第1题:
在窗体上画一个命令按钮和两个文本框,其名称分别为Command1、Text1和Text2,在属性窗V1中把窗体的KeyPreview属性设置为True,然后编写如下程序:
Dim S1 As String,S2 As String
Private Sub Form_Load()
Text1.Text=””
Text2.Text=””
TeXt1.Enabled=False
Text2.Enabled=False
End Sub
Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)
S2=S2&Chr(KeyCode)
End Sub
Privtee Sub Form_KeyPress(KeyAscii As Integer)
S1=S1&Chr(KeyAscii)
End Sub
Pfivtee Sub Command 1_Click()
Text1.Text=S1
Text2.Text=S2
S1=””
S2=””
End Sub
程序运行后,先后按“a”、“b”、“c”键,然后单击命令按钮,在文本框Text1和Text2中显示的内容分别为( )。
A.abc和ABC
B.空白
C.ABC和abc
D.出错
第2题:
第3题:
如何使文本以大写字母开头?
A.text-transform:capitalize
B.无法通过 CSS 来实现
C.text-transform:uppercase
D.font-size:old;
第4题:
在 Text 命令中,若要输入直径符号,应输入( )。
A、%%O
B、%%D
C、%%C
D、%%R
第5题:
330038003000301585063878906把将字符串s中的一个子串替换成另一个指定的字符串所用到的函数是
A.330038003000301585063878906 s.replace(old, new [, max])
B.s.rindex(str, beg=0, end=len(string))
C.s.strip([chars])
D.s.changeplace(old, new [, max])
第6题:
用vi打开一个文件,如何用字母”new”来代替文件中所有的字母”old”
A.:r/old/new
B.:s/old/new
C.:1,$s/old/new/g
D.:%s/old/new/g