單項選擇題要在C盤根目錄下建立名為File.dat的順序文件,應先使用()語句。
A.Open"File1.dat"ForInputAs#1
B.Open"File1.dat"ForOutputAs#1
C.Open"C:\File1.dat"ForInputAs#1
D.Open"C:\File1.dat"ForOutputAs#1
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題Kill語句在Visual Basic中的功能是()。
A.殺病毒
B.清屏幕
C.清內(nèi)存
D.刪除文件
2.單項選擇題若目錄列表框控件Dir1的Path屬性當前值為“C:\”,雙擊該列表框的表項“Pwin2000”后,控件Dir1的Path屬性當前值為()。
A.“c:\Pwin2000”
B.“c:\\Pwin2000\”
C.“c:\Pwin2000\”
D.“c:Pwin2000\”