• 2022-06-26
    若要从磁盘上读一个文件名为"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

    举一反三

    内容

    • 0

      若要在磁盘上新建一个文件名为"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)

    • 1

      若要在磁盘上新建一个文件名为"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)

    • 2

      若要在磁盘上新建一个文件名为"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)

    • 3

      若要在磁盘上新建一个文件名为"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)

    • 4

      若要在磁盘上新建一个文件名为"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)