Top 350+ Solved Advance PHP MCQ Questions Answer

From 241 to 255 of 320

Q. The---------defines a standard for accessing and manipulating documents:Sol:

a. simpleXML

b. simplexml_load_string( ).

c. simplexml_load_file( filename)

d. DOM

  • d. DOM

Q. The---------defines a standard way for accessing and manipulatingHTMLdocuments. It presents an HTML document as a tree-structure.Sol:

a. simpleXML

b. simplexml_load_string( ).

c. simplexml_load_file( filename)

d. HTML DOM

  • d. HTML DOM

Q. The--------defines a standard way for accessing and manipulating XMLdocuments. Itpresents an XML document as a tree-structure.Sol:

a. simpleXML

b. simplexml_load_string( ).

c. simplexml_load_file( filename)

d. XML DOM

  • d. XML DOM

Q. All XML elements can be accessed through the---------------Sol:

a. simpleXML

b. simplexml_load_string( ).

c. simplexml_load_file( filename)

d. XML DOM

  • d. XML DOM

Q. All------can be accessed through the XML DOM.Sol:

a. simpleXML

b. simplexml_load_string( ).

c. simplexml_load_file( filename)

d. XML element

  • d. XML element

Q. UTF-8 is the default character encoding for XML documents.Sol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes

Q. XML documents are formed as element trees.Sol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes

Q. An XML tree starts at a root element and branches from theroot to childelements.Sol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes

Q. An XML tree starts at a root element and branches from the rootto ------------Sol:

a. childelements

b. descriptive

c. UTF-8

d. 1056

  • a. childelements

Q. An XML tree starts at a----------and branches from the root tochildelements.Sol:

a. root element

b. descriptive

c. UTF-8

d. 1056

  • a. root element

Q. <?xml version="1.0" encoding="UTF-8"?> This line is called the XML prolog:Sol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes

Q. The XML prolog is optional. If it exists, it must come first in the documentSol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes

Q. To avoid errors you should specify encoding used, or save your XMLfiles asUTF-8.Sol:

a. yes

b. no

c. can not say

d. none of these.

  • a. yes
Subscribe Now

Get All Updates & News