若要从磁盘上读一个文件名为"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)
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: 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: 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: 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: 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: 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)