微软认证考试

You load an XmlDocument named doc with the following XML. Dictionary World Atlas You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class.Dim root As XmlElement = doc.

题目

You load an XmlDocument named doc with the following XML. Dictionary World Atlas You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class.Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("books/book")Which additional two code segments can you use to achieve this goal?()

  • A、Dim node As XmlNodeFor Each node In nodes node.Attributes(0).Value = "NA"Next node
  • B、Dim node As XmlNodeFor Each node In nodes node.Attributes(1).Value = "NA"Next node
  • C、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("/genre") genre.Value = "NA"Next node
  • D、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("@genre") genre.Value = "NA"Next node
  • E、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("genre") genre.Value = "NA"Next node
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

In which two scenarios do you use SQL* Loader to load data?()

A. Transform the data while it is being loaded into the database.

B. Use transparent parallel processing without having to split the external data first.

C. Load data into multiple tables during the same load statement.

D. Generate unique sequential key values in specified columns.


参考答案:A, D

第2题:

You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from List<T.. class named Lead. The Lead class contains the properties Title and Revenue.You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemsSource property to Leads as follows.You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue ...What should you do ?()

A.

B.

C.

D.


参考答案:C

第3题:

You would like to create a custom performance counter for an application that you created recently.To do this, you decide to create a custom category named ApplicationPerformance and a performance counter named HitNumber.You need to ensure that this counter is shared across numerous applications.What should you do?()

A.

B.

C.

D.


参考答案:D

第4题:

Which two statements are true regarding the usage of the SQL*Loader utility()

  • A、You can load data into multiple tables during the same load session.
  • B、You can load data from multiple files to a table during the same load session.
  • C、You cannot perform selective data loading based on the values available in the records.
  • D、You can use an export file generated by the EXPDP utility as an input data file to load the data.
  • E、You can load data only if the input file is available on the disk and tape but not in a named pipes.

正确答案:A,B

第5题:

interface Data { public void load(); }  abstract class Info { public abstract void load(); }  Which class correctly uses the Data interface and Info class?() 

  • A、 public class Employee extends Info implements Data { public void load() { /*do something*/ } }
  • B、 public class Employee implements Info extends Data { public void load() { /*do something*/ } }
  • C、 public class Employee extends Info implements Data { public void load() { /*do something */ } public void Info.load() { /*do something*/ } }
  • D、 public class Employee implements Info extends Data { public void Data.load() { /*dsomething */ } public void load() { /*do something */ } }
  • E、 public class Employee implements Info extends Data { public void load() { /*do something */ } public void Info.load(){ /*do something*/ } }
  • F、 public class Employee extends Info implements Data{ public void Data.load() { /*do something*/ } public void Info.load() { /*do something*/ } }

正确答案:A

第6题:

You want to install Windows 2000 Professional on 20 new PXE compliant computers, which do not have operating systems installed. You create a RIS image and load the image onto the RIS server and then start the new computers. You find that the new computers cannot connect to the RIS server. You verify that existing client computers on the network can connect to network servers.

What should you do? (SELECT AND PLACE)


正确答案:<m x1="543" x2="603" y1="191" y2="261" ss="0" a="0"></m><m x1="639" x2="702" y1="189" y2="261" ss="0" a="1"></m><m x1="544" x2="604" y1="294" y2="367" ss="0" a="2"></m><m x1="644" x2="706" y1="291" y2="367" ss="0" a="3"></m><m x1="613" x2="684" y1="28" y2="98" ss="1" a="0"></m><c start="3" stop="0"></c>
<m x1="543" x2="603" y1="191" y2="261" ss="0" a="0"></m><m x1="639" x2="702" y1="189" y2="261" ss="0" a="1"></m><m x1="544" x2="604" y1="294" y2="367" ss="0" a="2"></m><m x1="644" x2="706" y1="291" y2="367" ss="0" a="3"></m><m x1="613" x2="684" y1="28" y2="98" ss="1" a="0"></m><c start="3" stop="0"></c> 解析:
RIS has the following requirements: (1) DNS server, (2) DHCP server and (3) Active Directory (Windows 2000 Domain Controller)
The exhibit shows the presence of Active Directory and DNS, but a lack of a DHCP server. We must therefore add a DHCP server.

Incorrect Answers:
RIS does not use either Global Catalog servers or WINS servers.

第7题:

You have recently completely creating a new application for Certkiller .com.This new application has to load an instance of the Inventory class from a large file named Inventory.dat.You need to ensure that the application executes the loading process in as little time as possible.What should you do?()

A.

B.

C.

D.


参考答案:C

第8题:

你正在创建一个生成 XML 文档的 ASP.NET Web 应用。你需要为文档增加一个 XML 声明。下面那个代码能够生成如下的 XML 声明?()

A.XmlDocument doc = new XmlDocument();doc.Load("subscribers.xml");XmlDeclaration xmldecl = doc.CreateXmlDeclaration("encoding", "Unicode");

B.XmlDocument doc = new XmlDocument();doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", null, "yes");

C.XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode", "yes");

D.XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode");


参考答案:C

第9题:

You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do? ()

  • A、Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.
  • B、Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.
  • C、Read the XML file into a DataSet object and set the EnforceConstraints property to True.
  • D、Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.

正确答案:B

第10题:

You create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?()

  • A、protected void Page_Load(object sender, EventArgs e) { Control userControl=Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl); }
  • B、protected void Page_Load(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }
  • C、protected void Page_PreInit(object sender, EventArgs e) { Control userControl =Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl); }
  • D、protected void Page_PreInit(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }

正确答案:C

更多相关问题