皮皮学,免费搜题
登录
搜题
【多选题】
下列说法正确的是:
A.
cout使用“ << ”连续向屏幕输出
B.
cout是 C++ 中提供的标准输出流变量
C.
cout 自动调整数据的格式
D.
endl 是回车换行符,相当于 C 中的 \n
E.
cin 用于输入
F.
cerror 用于输出错误信息
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】下列可以打开随机文件的语句是( )。
A.
Open'file 1.dat'For Input As#1
B.
Open'file1.dat'For Append As#1
C.
Open'file1.dat'For Output As#1
D.
Open'file1.dat'For Randow As#1 Len=20
【单选题】货物中途换车属于哪种不合理运输?
A.
迂回运输
B.
倒流运输
C.
重复运输
D.
对流运输
E.
无效运输
【单选题】お寿司を食べました。それから、天ぷら()食べますた。
A.
B.
C.
D.
【简答题】金属的物理性能包括 、 、 、 、 和 、
【简答题】金属的物理性能包括()、()、()、()和()等。
【单选题】下列代码的执行结果是f=open('writetest.txt','a+')f.write('This is a test file')f.write('Please print this file')print(f.readline())f.seek(0)print(f.readlines())
A.
This is a test file This is a test file Please print this file
B.
This is a test filePlease print this file This is a test file Please print this file
C.
['This is a test filePlease print this file']
D.
This is a test filePlease print this file
【多选题】Which two create an InputStream and open file the “file.txt” for reading? ()
A.
InputStream in=new FileReader(“file.txt”);
B.
InputStream in=new FileInputStream(“file.txt”);
C.
InputStream in=new InputStreamFileReader (“file.txt”, “read”);
D.
FileInputStream in=new FileReader(new File(“file.txt”));
E.
FileInputStream in=new FileInputStream(new File(“file.txt”));
【单选题】如果准备读文件,打开顺序文件'text.dat'的正确语句是
A.
Open'text.dat'For Write As#1
B.
Open'text.dat'For Binary As#1
C.
Open'text.dat'For Input As#1
D.
Open'text.dat'For Random As#1
【简答题】金属的物理性能包括 、 、 、 、 和 。.
【简答题】要想成功地打开名为“QW”的输出文件,应该使用语句()。 (A) OPEN(UNIT=3, FILE=‘QW’) (B) OPEN(3,FILE=QW) (C) OPEN(FILE=‘QW’, 3,STATUS=OLD) (D) OPEN(3,FILE=QW,STATUS=UNKNOWN)
相关题目: