Top 350+ Solved Advance PHP MCQ Questions Answer
Q. The---------defines a standard for accessing and manipulating documents:Sol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
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
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
Q. All XML elements can be accessed through the---------------Sol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
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
Q. UTF-8 is the default character encoding for XML documents.Sol:
a. yes
b. no
c. can not say
d. none of these.
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.
Q. An XML tree starts at a root element and branches from the rootto ------------Sol:
a. childelements
b. descriptive
c. UTF-8
d. 1056
Q. An XML tree starts at a----------and branches from the root tochildelements.Sol:
a. root element
b. descriptive
c. UTF-8
d. 1056
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.
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.
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.
Q. An XML element is everything from (including) the element's start tag to(including) the element's end tag.Sol:
a. yes
b. no
c. can not say
d. none of these
Q. An-----element is everything from (including) the element's start tag to(including) the element's end tag.Sol:
a. XML
b. descriptive
c. UTF-8
d. 1056