网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()
- A、 Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.
- B、 Specify the stream to write into the DeflateStream object is created (for example, in the constructor).
- C、 Use the Write method of the DeflateStream class.
- D、 Register for the BaseSream event of the DeflateStream class.
参考答案
更多 “When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()A、 Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.B、 Specify the stream to write into the DeflateStream object is created (for example, in the constructor).C、 Use the Write method of the DeflateStream class.D、 Register for the BaseSream event of the DeflateStream class.” 相关考题
考题
要求打开文件d:\file.dat,可写入数据,正确的语句是()。
A.ifstreaminfile("d:\file.dat",ios::in);B.ifstreaminfile("d:\\file.dat",ios::in);C.ofstreaminfile("d:\file.dat",ios::out);D.fstreaminfile("d:\\file.dat",ios::in|ios::out);
考题
如果准备读文件,打开顺序文件"text.dat"的正确语句是A.Open "text.dat" For Write As#1B.Open "text.dar" For Binary As#1C.Open "text.dat" For Input As#1D.Open "text.dat" For Random As#1
考题
( 16 )要建立文件流并打开当前目录下的文件 file.dat 用于输入,下列语句中错误的是A ) ifstream fin=ifstream.open ( "file.dat" ) ;B ) ifstream*fir.=new ifstream ( "file.dat" ) ;C ) ifstream fin; fin.open ( "file.dat" ) ;D ) ifstream *fin=new ifstream ( ) ; fin 一 open ( "file.dat" ) ;
考题
假设DAT为字节变量,下列三条指令中功能相同的是哪几条?______。Ⅰ.MOVAL,DAT[2]Ⅱ.MOVAL,DAT+2Ⅲ.MOVAL,2[DAT]A.三条都相同B.仅Ⅰ和Ⅱ相同C.仅Ⅰ和Ⅲ相同D.仅Ⅱ和Ⅲ相同
考题
下列可以打开随机文件的语句是( )。A.Open”filel.dat”For Input As#1B.Open”filel.dat”For Append As#1C.Open”filel.dat”For Output As#1D.Open”filel.dat”For Randow As#1 Len=20
考题
(34)如果准备读文件,打开随机文件“text.dat”d的正确语句是 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
考题
如果准备读文件,打开顺序文件”text.dat”的正确语句是( )。A.Open"text.dat"For Write As#1B.Open"text.dat"For Binary As#1C.Open"text.dat"For Input As#1D.Open"text.dat"For Random As#1
考题
Diesel engines are started by supplying_____into the cylinders in the appropriate sequence for the required direction.A.cooling waterB.compressing airC.compressed airD.cylinder oil
考题
执行下面的程序段后,DAT1单元的值是( )。 DAT1 DB 12H,34H DAT2 DB 56H,78H MOV AX, WORD PTR DAT1 CMP AX, WORD PTR DAT2 JA DONE MOV BX, WORD PTR DAT2 MOV OWRD PTR DAT2,AX MOV OWRD PTR DAT1, BX DONE: HLTA.34HB.78HC.12HD.56H
考题
如果准备读文件,打开顺序文件“text.dat”的正确语句是()。Aopen ”text.dat” For write As # 1Bopen ”text.dat” For Binary As # 1Copen ”text.dat” For Input As # 1Dopen ”text.dat” For Random As # 1
考题
为读而打开文本文件aa.dat,的正确写法是()A、fopen(”aa.dat”,”rb”);B、fopen(”aa.dat”,”w”)C、fopen(”aa.dat”,”wb”);D、fopen(”aa.dat”,”r”)
考题
若有charfname[]="infile.dat";,则为读而打开文本文件infile.dat的正确写法是()A、fopen(”infile.dat”,"r")B、fopen(infile.dat,"r")C、fopen(fname,"r")D、fopen("fname","r")
考题
为写而打开文本文件aa.dat,的正确写法是()A、fopen(”aa.dat”,”rb”)B、fp=fopen(”aa.dat”,”w”)C、fopen(”aa.dat”,”wb”)D、fp=fopen(”aa.dat”,”r”)
考题
单选题() provides the head or pressure to supply the domestic water where required.A
The compressed airB
The compressing airC
The transfer pumpD
The head tank
考题
问答题阅读下面的程序:
.mmregs
DAT0 .SET 60H
DAT1 .SET 61H
DAT2 .SET 62H
DAT3 .SET 63H
add3 .macro
P1,P2,P3,ADDRP
LD P1,A
ADD P2,A
ADD P3,A
STL A,ADDRP
.endm
ST #0034h,DAT0
ST #0243h,DAT1
ST #1230h,DAT2
ADD3 DAT0,DAT1,DAT2,DAT3
语句“.mmregs”的含义。
考题
问答题阅读下面的程序:
.mmregs
DAT0 .SET 60H
DAT1 .SET 61H
DAT2 .SET 62H
DAT3 .SET 63H
add3 .macro
P1,P2,P3,ADDRP
LD P1,A
ADD P2,A
ADD P3,A
STL A,ADDRP
.endm
ST #0034h,DAT0
ST #0243h,DAT1
ST #1230h,DAT2
ADD3 DAT0,DAT1,DAT2,DAT3
语句“ADD3 DAT0,DAT1,DAT2,DAT3”是一条什么类型的语句?作用是什么?
考题
单选题要建立文件流并打开当前目录下的文件file.dat用于输入,下列语句中错误的是( )。A
ifstream fin=ifstream.open(“file.dat”);B
ifstream* fin=new ifstream(“file.dat”);C
ifstream fin; fin.open(“file.dat”);D
ifstream* fin=new ifstream(); fin-open(“file.dat”);
考题
单选题When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()A
Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.B
Specify the stream to write into the DeflateStream object is created (for example, in the constructor).C
Use the Write method of the DeflateStream class.D
Register for the BaseSream event of the DeflateStream class.
考题
单选题Where can we get funny cards when we visit English?A
In the Cartoon Museum.B
On Stratford Butterfly Farm.C
At Cox’s Hotel.D
At Cox‘s pub.
考题
单选题能实现删除文件功能的语句是()A
ofstream fs(date.dat,ios::trunc);B
ifstream fs(date.dat,ios::trunc);C
ofstream fs(date.dat,ios::out);D
ifstream fs(date.dat,ios::in);
考题
单选题The purpose of compressing the air within the cylinder of a diesel engine is to ()A
produce the heat for ignitionB
decrease injection lagC
increase ignition delayD
aid in exhausting burnt gases
考题
单选题Information theory is related to the quantification of information. This was developed by Claude E. Shannon to who found fundamental limits on ( ) operations such as compressing data and on reliably storing and communicating data.A
signalB
dataC
informationD
signal processing
考题
单选题If the piston ring gap remains insufficient when installing new rings, youshould()A
install oversized ringsB
hone the cylinder liner to allow ring installationC
compress the rings tighter with a compressing toolD
file the ends of the rings
考题
单选题如果准备读文件,打开顺序文件“text.dat”的正确语句是()。A
open ”text.dat” For write As # 1B
open ”text.dat” For Binary As # 1C
open ”text.dat” For Input As # 1D
open ”text.dat” For Random As # 1
考题
单选题要求打开文件 D:///file.dat,并能够写入数据,正确的语句是()。A
ifstream infile(D:////file.dat,ios::in);B
ifstream infile(D:////file.dat,ios::out);C
ofstream outfile(D:////file.dat,ios::in);D
fstream infile(D:////file.dat,ios::inI.os::out);
考题
问答题阅读下面的程序:
.mmregs
DAT0 .SET 60H
DAT1 .SET 61H
DAT2 .SET 62H
DAT3 .SET 63H
add3 .macro
P1,P2,P3,ADDRP
LD P1,A
ADD P2,A
ADD P3,A
STL A,ADDRP
.endm
ST #0034h,DAT0
ST #0243h,DAT1
ST #1230h,DAT2
ADD3 DAT0,DAT1,DAT2,DAT3
执行此段程序后,存储单元(DAT3)的运行结果多少?
热门标签
最新试卷