Tag: programming languages

Questions Related to programming languages

Which syntax is used to insert comments into an XML document?

  1. This is a comment

  2. -This is a comment->

  3. All of the above.


Correct Option: A

AI Explanation

To answer this question, you need to understand how comments are inserted into an XML document. Let's go through each option to understand why it is correct or incorrect:

Option A) - This option is correct because it uses the correct syntax to insert comments into an XML document. In XML, comments are enclosed within `` tags.

Option B) This is a comment - This option is incorrect because it does not use the correct syntax for comments in XML. XML comments should be enclosed within tags, not tags.

Option C) -This is a comment-> - This option is incorrect because it does not use the correct syntax for comments in XML. XML comments should be enclosed within tags, not and -> tags.

Option D) All of the above. - This option is incorrect because options B and C do not use the correct syntax for comments in XML.

The correct answer is A) . This option is correct because it uses the correct syntax to insert comments into an XML document.

XML is a _______ Recommendation

  1. Microsoft

  2. Sun

  3. JAVA

  4. W3C


Correct Option: D
  1. be self-descriptive

  2. disply only useful data

  3. carrying request

  4. giving response.


Correct Option: A
  1. an XHTML Schema to describe the data

  2. an XPath to describe the data

  3. an XML Schema to describe the data

  4. an XQuerya to describe the data


Correct Option: C

XML is the mother of

  1. HTML.

  2. WAP and WML

  3. XSL

  4. XSLT


Correct Option: B

XML is

  1. Not Extensible.

  2. A stylsheet

  3. Free and Extensible

  4. None of these


Correct Option: C

What is a correct way of referring to a stylesheet called "mystyle.xsl" ?

  1. None of these


Correct Option: C
  1. EXtendable Stylesheet Language

  2. EXtensible Stylesheet Language

  3. EXtensible Style Language

  4. EXtendable Style Language


Correct Option: B
  1. XSLT,Xpath,HTML

  2. XSLT,Xpath,ASP

  3. XSLT,Xpath,XSL-FO

  4. XSLT,Xpath,XHTML


Correct Option: C