网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
多选题
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. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()
A
foreach (XmlNode node in nodes){ node.Attributes[0].Value = “NA”;}
B
foreach (XmlNode node in nodes){ node.Attributes[1].Value = “NA”;}
C
foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“/genre”); genre.Value = “NA”;}
D
foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“@genre”); genre.Value = “NA”;}
E
foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“genre”); genre.Value = “NA”;}
参考答案
参考解析
解析:
暂无解析
更多 “多选题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. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()Aforeach (XmlNode node in nodes){ node.Attributes[0].Value = “NA”;}Bforeach (XmlNode node in nodes){ node.Attributes[1].Value = “NA”;}Cforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“/genre”); genre.Value = “NA”;}Dforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“@genre”); genre.Value = “NA”;}Eforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“genre”); genre.Value = “NA”;}” 相关考题
考题
你正在创建一个生成 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);
考题
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument()doc.LoadXml("10" discount))C. doc.RemoveChild(doc.FirstChild)D. doc.DocumentElement.RemoveChild(doc.FirstChild)
考题
You are the network administrator for Ezonexam.com. The file server for the accounting department is a Windows 2000 Server computer named Ezonexam1. You have created a folder named Payments on the system partition of Ezonexam1. Payments is shared on the network as Payments with the default share permissions. The owner of the Payments folder is domain Admins. The NTFS permissions are shown in the following table.NTFS PermissionsDomain Admins: Allow ReadAccounting: Allow Full ControlThere is a file called review.doc in the Payment folder. The owner of review.doc is a user named Paul who is on a temporary leave of absence. The NTFS permissions for the file list only Paul on the access control list, with Full Control permission.You want to remove Paul's access to review.doc and grant the Modify permission for a user named Lily Loo. You open the Security properties of review.doc and discover that you are unable to modify the permissions of the file.You want to be able to remove Paul's access and grant Lily Loo the Modify permission on review.doc.What should you do?A.Take ownership of the file.B.Take ownership of the Payments folder.C.Grant Domain Admins Full control of the Payments shared folder.D.Grant Domain Admins Change for the Payments shared folder.
考题
You are the administrator of some of TestKing‘s file servers. Peter is hired as an intern in the human resources department. Peter needs access to some HR files. He also needs to be able to read the file named Handbook.doc, but he must not be able to make changes to it.Handbook.doc exists in a folder named HRResources. Peter needs to have Read and Modify permissions for the other files in the HRResources folder.Peter is a member of the Domain Users group and the HR group. The permissions on the HRResources folder are shown in the following table.You need to ensure that Peter can access the appropriate files and that he cannot make changes to Handbook.doc.What should you do?()A. Set the hidden and system attributes on Handbook.Doc.B. Disable permissions inheritance on Handbook.doc.C. Assign Peter the Allow-Read permission for Handbook.doc.D. Assign Peter the Deny-Write NTFS permission for Handbook.doc.
考题
Which of the following answer choices are correct characteristics of named access list?()
A. You can delete individual statements in a named access listB. Named access lists require a numbered range from 1000 to 1099.C. Named access lists must be specified as standard or extended.D. You can use the ip access-list command to create named access lists.E. You cannot delete individual statements in a named access list.F. You can use the ip name-group command to apply named access lists.
考题
You are loading in the winter in Albany,N.Y.,for a voyage to a port governed by the tropical load line mark. Which of the following statements is TRUE? (Hydrometer reading in Albany is 1.000)A.You may not exceed the winter load line mark when you finish loading except for the burnout to seaB.You may calculate the burnout necessary to reach the tropical zone and load extra cargo to compensateC.The freshwater allowance and burnout to sea may be subtracted from the required freeboard in AlbanyD.You may load to the winter mark less the fresh water allowance if you will be at the tropical mark upon arrival in the tropical zone
考题
Which of the following answer choices are correct characteristics of named access list?()A、You can delete individual statements in a named access listB、Named access lists require a numbered range from 1000 to 1099.C、Named access lists must be specified as standard or extended.D、You can use the ip access-list command to create named access lists.E、You cannot delete individual statements in a named access list.F、You can use the ip name-group command to apply named access lists.
考题
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 nodeB、Dim node As XmlNodeFor Each node In nodes node.Attributes(1).Value = "NA"Next nodeC、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("/genre") genre.Value = "NA"Next nodeD、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("@genre") genre.Value = "NA"Next nodeE、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode("genre") genre.Value = "NA"Next node
考题
management has asked bob to post an introductory welcome page when notes users first open the video application in which one of the following places should bob put the welcome message?()A、 in a document named welcome B、 in the database about doc C、 in the database using doc D、 in the first page in the database design
考题
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.
考题
You are the network administrator for The network consists of a single Active Directory domain All network servers run Windows Server 2003, and all client computers run Windows XP Professional. All users in the sales department are members of a group names Sales. Tess, a member of Sales, creates a custom document named Salescustom.doc. She is responsible for making all required changes to this file. Tess places the file in a shared folder named TessDocs on a member server named TestKingA. Then she goes on vacation. When users from the sales department try to open Salescustom.doc, they receive the following error message: 'Access is denied'. You log on to the console of TestKingA and try to open Salescustom.doc. You receive the same error message. You need to ensure that members of Sales have read-only access to Salescustom.doc. You must not affect Tess's permissions on Salescustom.doc or on any other files in TessDocs. You must not grant access to Salescustom.doc to any other users. First, you log on to TestKingA as an administrator. What should you do next?()A、Take ownership of TessDocs and select the Replace owner on subcontainers and objects check box. Configure the NTFS permissions to assign the Allow - Modify permissions on the folder to Sales.B、Take ownership of Salescustom.doc.Configure the NTFS permissions to assign the Allow - Create Files/Write Data permissions on the file to Sales.C、Take ownership of Salescustom.doc. Configure the NTFS permissions to assign the Allow - Read permissions on the file to Sales.D、Take ownership of TessDocs and select the Replace owner on subcontainers and Object check box. Configure the NTFS permissions to assign the Allow - Read permissions on the folder to Sales.
考题
You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master.You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName. Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadDim s As String = Master.CityNameEnd Sub You need to ensure that TestPage.aspx can access the CityName property. What should you do?()A、Add the following directive to TestPage.aspx. %@ MasterType VirtualPath="~/TestMaster.master" % B、Add the following directive to TestPage.aspx. %@ PreviousPageType VirtualPath="~/TestMaster.master" % C、Set the Strict attribute in the @ Master directive of the TestMaster.master page to true. D、Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.
考题
You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()A、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);B、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);C、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“bookstore//book”);D、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“books/book”);
考题
You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx. TestPage.aspx uses TestUserControl.ascx as shown in the following line of code. On TestUserControl.ascx, you need to add a read-only member named CityName to return the value "New York". You also must add code to TestPage.aspx to read this value. Which two actions should you perform?()A、Add the following line of code to the TestUserControl.ascx.cs code-behind file. public string CityName { get { return "New York"; } } B、Add the following line of code to the TestUserControl.ascx.cs code-behind file. protected readonly string CityName = "New York"; C、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.CityName; } D、Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.Attributes["CityName"]; }
考题
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument( )doc.LoadXml("10" _"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()A、Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)B、Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode("discount"))C、doc.RemoveChild(doc.FirstChild)D、doc.DocumentElement.RemoveChild(doc.FirstChild)
考题
You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML. You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A、The XmlReader classB、The XmlDocument classC、The XmlResolver classD、The LINQ to XML method
考题
Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument( ); doc.LoadXml(“10”+” Dictionary”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()A、XmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);B、XmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));C、doc.RemoveChild(doc.FirstChild);D、doc.DocumentElement.RemoveChild(doc.FirstChild);
考题
单选题你正在创建一个生成 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);
考题
单选题You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML. You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A
The XmlReader classB
The XmlDocument classC
The XmlResolver classD
The LINQ to XML method
考题
单选题You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master. You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName. protected void Page_Load(object sender, EventArgs e) { string s = Master.CityName; } You need to ensure that TestPage.aspx can access the CityName property. What should you do?()A
Add the following directive to TestPage.aspx. %@ MasterType VirtualPath=~/TestMaster.master %%@ mastertype="" virtualpath="~/TestMaster.master"B
Add the following directive to TestPage.aspx. %@ PreviousPageType VirtualPath=~/TestMaster.master %%@ previouspagetype="" virtualpath="~/TestMaster.master"C
Set the Strict attribute in the @ Master directive of the TestMaster.master page to true.D
Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.
考题
单选题You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom Inherits System.Web.UI.MasterPagePublic Property Region As String Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page. You need to display the value of the master pages Region property in lblRegion.What should you do? ()A
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent lblRegion.Text = custom.RegionB
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master lblRegion.Text = custom.RegionC
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl(lblRegion) lblRegion.Text = Me.RegionD
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl(lblRegion) lblRegion.Text = Me.Region
考题
多选题Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument( )doc.LoadXml("10" _"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()ADim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)BDim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode(discount))Cdoc.RemoveChild(doc.FirstChild)Ddoc.DocumentElement.RemoveChild(doc.FirstChild)
考题
单选题You have a computer that runs Windows XP Professional. Two users named User1 and User2 share the computer. User1 and User2 encrypt files on the computer. User1 encrypts a file named file1. doc. You need ensure that both User1 and User2 can view the contents of file1. doc. What should you instruct User1 to do?()A
Add the certificate of User2 to file1. doc. B
Assign User2 the Full Control NTFS permission on file1. doc. C
Copy file1. doc the %systemroot%/documents and settings/all users/ folder.D
Move file1. doc to the %systemroot%/documents and settings/all users/ folder.
考题
单选题You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()A
Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(.)B
Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(book)C
Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(bookstore//book)D
Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(books/book)
考题
多选题Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument( ); doc.LoadXml(“10”+” Dictionary”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()AXmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);BXmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));Cdoc.RemoveChild(doc.FirstChild);Ddoc.DocumentElement.RemoveChild(doc.FirstChild);
考题
多选题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?()ADim node As XmlNodeFor Each node In nodes node.Attributes(0).Value = NANext nodeBDim node As XmlNodeFor Each node In nodes node.Attributes(1).Value = NANext nodeCDim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(/genre) genre.Value = NANext nodeDDim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(@genre) genre.Value = NANext nodeEDim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(genre) genre.Value = NANext node
考题
单选题Which of the following SQL*Loader parameters enables you to load a specified number of records stored in the data file?()A
ROWSB
SKIPC
LOADD
BINDSIZE
热门标签
最新试卷