执行语句Open "C:\student.dat" For____As #2,下面方法不能从student.dat文件中读取数据的是。
A: Append
B: Input
C: Output
D: Random
E: Fo
A: Append
B: Input
C: Output
D: Random
E: Fo
举一反三
- 为了读取数据,需要打开顺序文件“D:\data5.txt”,以下正确的命令是。 A: Open "E:\UserData.txt" For Input As B: 2 C: Open "E:\UserData.txt" For Output As D: 2 E: Open E:\UserData.txt For Output As F: 2 G: Open E:\UserData.txt For Input As H: 1
- 为了读取数据,需打开顺序文件“D:\data5.txt”,以下正确的命令是 A: Open D:\data5.txt For Input As #1 B: Open "D:\data5.txt"For Input As #2 C: Open D:\data5.txt For Output As #1 D: Open "D:\data5.txt"For Output As #2
- 若dat=14,则以下程序执行后,o_e的值为____________. module odd_even(dat,o_e); input[7:0] dat; output o_e; assign o_e = ^dat; endmodule
- 使用Open语句读写二进制文件时,应使用的模式是( )。 A: Binary B: Input C: Output D: Random
- 要从磁盘上读入一个文件名为"d:\File.txt"的顺序文件,下面程序段正确的是( ). A: Open d:\File.txt For Input As B: 1 C: Open "d:\File.txt" For Output As D: 2 E: Open "d:\File.txt" For Input As F: 2 G: Open "d:\File.txt" For Append As H: 1