單項選擇題要讀出C盤根目錄下的順序文件stud.txt中的內(nèi)容,下列打開方式中()是正確的。

A.Open " C:\stud.txt" For Append As #1
B.Open " C:\stud.txt" For Random As #1
C.Open " C:\stud.txt" For Input As #1
D.Open " C:\stud.txt" For Output As #1


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題檢測文件是否結(jié)束的函數(shù)是()。

A.LOF()
B.Len()
C.EOF()
D.Chr()

2.單項選擇題在Visual Basic中按文件的訪問方式不同,可以將文件分為()。

A.文本文件和數(shù)據(jù)文件
B.順序文件、隨機文件和二進制文件
C.ASCII文件和二進制文件
D.數(shù)據(jù)文件和可執(zhí)行文件

3.單項選擇題下列可以用來存儲圖像可以供其它控件使用的控件是()。

A.Tool Bar
B.Staturs Bar
C.Image List
D.Tree View

4.單項選擇題當(dāng)單擊工具欄上的按鈕,會觸發(fā)的事件是()。

A.ButtonClick
B.Change
C.Load
D.KeyPress

5.單項選擇題如果要在程序中顯示一個彈出菜單,需調(diào)用()方法。

A.Print
B.Move
C.Refresh
D.PopupMenu