若要从磁盘上读一个文件名为“C:\T1.txt”的顺序文件,则应使用下列________程序段打开文件
A: Dim F As StringF = "C:\T1.txt"FileOpen(1, F, OpenMode.Input)
B: Dim F As StringF = "C:\T1.txt"FileOpen(1, "F", OpenMode.Input)
C: FileOpen(1, "C:\T1.txt", OpenMode.Output)
D: FileOpen(1, C:\T1.txt, OpenMode.Input)
A: Dim F As StringF = "C:\T1.txt"FileOpen(1, F, OpenMode.Input)
B: Dim F As StringF = "C:\T1.txt"FileOpen(1, "F", OpenMode.Input)
C: FileOpen(1, "C:\T1.txt", OpenMode.Output)
D: FileOpen(1, C:\T1.txt, OpenMode.Input)
举一反三
- 若要从磁盘上读一个文件名为“C:T1.txt”的顺序文件,则应使用下列________程序段打开文件 A: Dim F As StringF = "C:T1.txt"FileOpen(1, F, OpenMode.Input) B: Dim F As StringF = "C:T1.txt"FileOpen(1, "F", OpenMode.Input) C: FileOpen(1, "C:T1.txt", OpenMode.Output) D: FileOpen(1, C:T1.txt, OpenMode.Input)
- 若要从磁盘上读一个文件名为"C:\T1.txt"的顺序文件,则应使用下列__________程序段打开文件。 A: Dim strFileName As StringstrFileName = "C:\T1.txt"FileOpen(1,strFileName,OpenMode.Input) B: Dim strFileName As StringstrFileName = "C:\T1.txt"FileOpen(1,"strFileName",OpenMode.Input) C: FileOpen(1,C:\T1.txt,OpenMode.Input) D: FileOpen(1,C:\T1.txt,OpenMode.Output) E: FileOpen(1,"C:\T1.txt",OpenMode.Output)
- 若要从磁盘上读一个文件名为"C:T1.txt"的顺序文件,则应使用下列__________程序段打开文件。 A: DimstrFileNameAsStringstrFileName="C:T1.txt"FileOpen(1,strFileName,OpenMode.Input) B: DimstrFileNameAsStringstrFileName="C:T1.txt"FileOpen(1,"strFileName",OpenMode.Input) C: FileOpen(1,C:T1.txt,OpenMode.Input) D: FileOpen(1,C:T1.txt,OpenMode.Output) E: FileOpen(1,"C:T1.txt",OpenMode.Output)
- 若要在磁盘上新建一个文件名为"C:\T1.txt"顺序文件,则应用下列________程序段。 A: FileOpen(1,"C:\T1.txt",OpenMode.Output) B: Dim strFileName As StringstrFileName = "C:\T1.txt"FileOpen(1,"strFileName",OpenMode.Input) C: FileOpen(1,C:\T1.txt,OpenMode.Input) D: Dim strFileName As StringstrFileName = "C:\T1.txt"FileOpen(1,"strFileName",OpenMode.Output) E: FileOpen(1,C:\T1.txt,OpenMode.Output)
- 若要在磁盘上新建一个文件名为"C:T1.txt"顺序文件,则应用下列________程序段。 A: FileOpen(1,"C:T1.txt",OpenMode.Output) B: DimstrFileNameAsStringstrFileName="C:T1.txt"FileOpen(1,"strFileName",OpenMode.Input) C: FileOpen(1,C:T1.txt,OpenMode.Input) D: DimstrFileNameAsStringstrFileName="C:T1.txt"FileOpen(1,"strFileName",OpenMode.Output) E: FileOpen(1,C:T1.txt,OpenMode.Output)