Top 350+ Solved Advance PHP MCQ Questions Answer

From 226 to 240 of 320

Q. An---------tag or element can contain text ,attributes ,other elements.Sol:

a. XML

b. descriptive

c. UTF-8

d. 1056

  • a. XML

Q. An element with no content is said to be----------Sol:

a. XML TAG

b. descriptive

c. UTF-8

d. Empty XML elements.

  • 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.

  • a. attribute

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.

  • a. XML document

Q. ------is a markup language that looks a lot like HTMLSol:

a. XML

b. descriptive

c. html document

d. Empty XML elements.

  • a. XML

Q. XML is very strict when it comes to document structureSol:

a. yes

b. no

c. can not say

d. none of these

  • a. yes

Q. PHP 5's new-----module makes parsing an XML document,Sol:

a. simpleXML

b. descriptive

c. html document

d. Empty XML elements.

  • a. simpleXML

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.

  • b. simplexml_load_string( ).

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.

  • c. simplexml_load_file( filename)

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

  • 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

  • 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

  • d. XML parser
Subscribe Now

Get All Updates & News