A.can as well
B.will as well
C.shall as well
D.may as well
第1题:
A、leave…alone
B、call…up
C、put…aside
D、put…away
第2题:
YouaretestingacomponentthatserializestheMeetingclassinstancessothattheycanbesavedtothefilesystem.TheMeetingclasshasthefollowingdefinition:
Thecomponentcontainsaprocedurewiththefollowingcodesegment.
MeetingmyMeeting=newMeeting("Goals");
myMeeting.roomNumber=1100;
string[]attendees=newstring[2]{"John","Mary"};
myMeeting.invitees=attendees;
XmlSerializerxs=newXmlSerializer(typeof(Meeting));
StreamWriterwriter=newStreamWriter(@"C:\Meeting.xml");
xs.Serialize(writer,myMeeting);
writer.Close();
YouneedtoidentifytheXMLblockthatiswrittentotheC:\Meeting.xmlfileasaresultofrunningthisprocedure.WhichXMLblockrepresentsthecontentthatwillbewrittentotheC:\Meeting.xmlfile?()
第3题:
A.ON/ON/ON/ON
B.ON/OFF/ON/OFF
C.OFF/ON/OFF/ON
D.OFF/OFF/OFF/OFF
第4题:
您正在测试一个组件,该组件对Meeting 类实例进行序列化处理,以使它们能够保存到文件系统。Meeting具有如下定义:public class Meeting {private string title;public int roomNumber;public string[] invitees;public Interview(){}public Interview (string t){title = t;} }组件包含一个带有以下代码段的过程Meeting myMeeting = new Meeting("Objectives");myMeeting.roomNumber=20;string[] attendees = new string[2]{"Amy", "Ally"};myMeeting.invitees = attendees;XmlSerializer xs = new XmlSerializer(typeof(Meeting));StreamWriter writer = new StreamWriter(@"C:\Meeting.xml");xs.Serialize(writer, myMeeting);writer.Close();/您需要确定作为运行此过程的结果写入C:\Meeting.xml 文件的XML 块。哪个XML 块代表将写入C:\Meeting.xml 文件的内容?()
A.
B.
C.
D.
第5题:
下面程序的输出结果是( )。 #include<iostream> using namespace std; void main() { char cl='a',c2='c'; cout.put('a').put('c').put('\n'); cout.put(c1).put(c2); }
A.ac a c
B.ac ac
C.a c ac c
D.a c
第6题:
A.ON/ON/ON/ON
B.ON/OFF/ON/OFF
C.OFF/ON/OFF/ON
D.OFF/OFF/OFF/OFF