Top 350+ Solved Advance PHP MCQ Questions Answer
Q. To avoid errors you should specify encoding used, or save your XMLfiles as------.Sol:
a. prolog
b. descriptive
c. UTF-8
d. 1056
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
Q. An---------tag or element can contain text ,attributes ,other elements.Sol:
a. XML
b. descriptive
c. UTF-8
d. 1056
Q. An element with no content is said to be----------Sol:
a. XML TAG
b. descriptive
c. UTF-8
d. Empty XML elements.
Q. -----------values must always be quoted in xml. Either single or doublequotes can beused.Sol:
a. attribute
b. element
c. UTF-8
d. Empty XML elements.
Q. An------document is a basic unit of XML information composed ofelements and other markup in an orderly package.Sol:
a. XML document
b. descriptive
c. html document
d. Empty XML elements.
Q. An- - - - - - can contains wide variety of data.For example, database ofnumbers, numbers representing molecular structure or a mathematical equation.Sol:
a. XML document
b. descriptive
c. html document
d. Empty XML elements.
Q. ------is a markup language that looks a lot like HTMLSol:
a. XML
b. descriptive
c. html document
d. Empty XML elements.
Q. XML is very strict when it comes to document structureSol:
a. yes
b. no
c. can not say
d. none of these
Q. PHP 5's new-----module makes parsing an XML document,Sol:
a. simpleXML
b. descriptive
c. html document
d. Empty XML elements.
Q. To create a SimpleXML object from an XML document stored in a string, passthestring to---------returns a SimpleXML objectSol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
d. XML parser.
Q. You can use function---------------if you have XMLcontent in a file.Sol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
d. XML parser.
Q. An-----------is a software library or package that provides interfaces for clientapplications to work with an XML documentSol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
d. XML parser
Q. The ------------is designed to read the XMLand create a way forprograms to use XML.Sol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
d. XML parser
Q. -----------validates the document and check that the document is well formattedSol:
a. simpleXML
b. simplexml_load_string( ).
c. simplexml_load_file( filename)
d. XML parser