XML/XML MCQ Sample Test,Sample questions

Question:
	
	
XML is:

1.a subset of SGML only.

2.a hybrid of document processing and database processing only.

3.a standardized yet customizable way to describe the content of documents only.

4.XML is all of the above.

Posted Date:-2022-06-08 15:54:19


Question:
	
	
XSLT processors evaluate each statement in the context of the match that has been made. That is, XSLT processors are:

1.context oriented.

2.procedural oriented.

3.object oriented.

4.relational oriented.

Posted Date:-2022-06-08 15:52:17


Question:
	
Attributes in XML are

1.a way of attaching characteristics or properties to elements of a document

2.child nodes

3.elements in XML

4.None of These

Posted Date:-2022-06-08 15:41:02


Question:
	
Document type declaration and document type definition are

1.different terms

2.uncertain

3.same

4.can't say

Posted Date:-2022-06-08 15:37:27


Question:
	
DTD's are

1. Part of Name spaces

2.Document type declaration in XML

3.Ways to create templates for out does type

4.None of these

Posted Date:-2022-06-08 15:23:31


Question:
	
MSXML is

1.a Microsoft language

2. XML parser that ships with IE 5.0

3. used for interacting with XML

4.Both (b) & (c)

Posted Date:-2022-06-08 15:39:23


Question:
	
Namespace

1.is a querying language

2.provides the spaces in the names

3.distinguishes one XML vocabulary from another

4.None of These

Posted Date:-2022-06-08 15:36:31


Question:
	
The words Document Node, Nodelist, Element Node, Named Node Map etc. are

1.Objects

2.Interfaces

3.Elements

4.Attributes

Posted Date:-2022-06-08 15:24:22


Question:
	
Web links are stored within the page itself and when you wish to "jump" to the page that is linked, we select the hotspot or anchor. This technique is called

1.hypertext

2.hypermedia

3.both (a) and (b)

4.anchoring

Posted Date:-2022-06-08 15:28:14


Question:
	
What is XML?

1.Like SGML, Extended Markup Language

2.Subset of SGML, Extensible Markup Language

3.Superset of SGML, Extendable Markup Language

4.None of These

Posted Date:-2022-06-08 15:40:11


Question:
	
XML is a/an

1.declarative language

2.imperative language

3.standard

4.none of these

Posted Date:-2022-06-08 15:35:31


Question:
	
XSLT is

1.used for session tracking in XML

2.an extensible stylesheet language and is used for formatting

3.an extended stylesheet language is used for formatting

4.none of these

Posted Date:-2022-06-08 15:38:24


Question:
ADO.NET provides the ability to create and process in-memory databases called:

1.views.

2.relations

3.tables

4.datasets

Posted Date:-2022-06-08 15:49:27


Question:
An XML component that defines the structure of a document is known as a(n):

1.DOCTYPE.

2.DTD.

3.#PCDATA.

4.HTML Stylesheet.

Posted Date:-2022-06-08 15:50:17


Question:
Below line of code is used for ?
<?xml version="1.0" encoding="ISO-8859-1"?>

1.DTD Declaration

2.XML Starting Line

3.XML Declaration

4.None of these

Posted Date:-2022-06-08 10:18:59


Question:
Document Object Model (DOM) is a

1.coding style

2.specification

3.a parser

4.none of these

Posted Date:-2022-06-08 15:41:50


Question:
DTD Stands for _________.

1.Document Transport Direction

2.Document Transcript Definition

3. Document Type Definition

4.None of these

Posted Date:-2022-06-08 10:14:38


Question:
Guess which version of XML is used ?
<?xml version="1.0" encoding="ISO-8859-1"?>

1.1st

2.3rd

3.4th

4.2nd

Posted Date:-2022-06-08 10:19:52


Question:
How DOM differs from SAX?

1.SAX is event driven and requires less space

2.DOM and SAX are packages

3.DOM is not event driven and builds up the whole memory d.

4.None of these

Posted Date:-2022-06-08 15:31:39


Question:
How many nodes and attributes are there in the document ?
<book category="Web">
  <bname>XML Tutorials</bname>
  <pages>100</pages>
  <price>$300.00</price>
</book>

1.4 Nodes and 1 Attribute

2.3 Nodes and 2 Attributes

3.2 Nodes and 1 Attribute

4. 4 Nodes and 2 Attributes

Posted Date:-2022-06-08 10:24:41


Question:
Node in XML is

1.any part of the document whether it is elements, attribute or otherwise

2.referred only to the attributes

3.referred to the top element in the document

4.none of these

Posted Date:-2022-06-08 10:01:35


Question:
Point out the error in following XML document -
<messages>
	<message>Sample Message 1</messge>
	<message>Sample Message 1</messge>
	<message>Sample Message 1</messge>
	<message>Sample Message 1</messge>
	<message>Sample Message 1</messge>
	<message>Sample Message 1</messge>
<messages>

1.No Corresponding Closing Tag

2.No Case Sensitive Tags

3. No Attribute present

4. None of these

Posted Date:-2022-06-08 10:26:53


Question:
Point out the error in the following xml -
<book category="Web">
  <bname>XML Tutorials</bname>
  <pages>100</pages>
  <price>$300.00</Price>
</book>

1.No Case Sensitive

2. Not having Closing Tag

3.No Nesting of Elements

4. None of these

Posted Date:-2022-06-08 10:25:52


Question:
Point out the error in the following xml document -
<?xml version="1.0" encoding="ISO-8859-1"?>
<messages>Sample Message<messages>
<messages>Sample Message<messages>
<messages>Sample Message<messages>

1.Does not have Attribute

2.Must have DTD

3. Must have One Root Node

4.None of these

Posted Date:-2022-06-08 10:28:06


Question:
Point out the errors in the following xml document -
<notes>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
</notes>

1.XML Elements Must be Properly Nested

2.XML Documents Must Have a Root Element

3.XML Attributes must be quoted

4. None of these

Posted Date:-2022-06-08 10:29:26


Question:
Scheme is

1.a global name space

2.read only for all practical purposes

3.template written in XML and can be modified at runtime

4.None of These

Posted Date:-2022-06-08 15:26:18


Question:
The document that is used by XSLT to indicate how to transform the elements of the XML document to another format is a(n):

1.HTML page.

2.DOCTYPE procedure.

3.stylesheet.

4.stored procedure.

Posted Date:-2022-06-08 15:55:07


Question:
The tags elements in XML are

1.case-insensitive

2.case-sensitive

3. browser dependent

4.none of these

Posted Date:-2022-06-08 10:00:00


Question:
W3C supports an XML-based alternative to DTD, called _______.

1.XML Schema

2.HTML DOM

3.XML Parser

4. None of these

Posted Date:-2022-06-08 10:15:50


Question:
Well formed XML

1.is full of chart's

2.is full of formula's

3.meets certain grammatical rules outlined in the XML 1.0 specification

4.doesn't contain DTD's

Posted Date:-2022-06-08 15:29:12


Question:
What DOM stands for?

1.Direct Object Model

2.Document Object Modeling

3.Document Object Model

4. Document Output Model

Posted Date:-2022-06-08 09:31:39


Question:
What is not true about XSLT?

1.XSLT is a declarative transformation language.

2.XSLT uses a set of rules that govern how a document is to be materialized is created.

3.XSLT uses a set of procedures that specify how a document is to be programmed.

4.XSLT is used to transform the input document into another document.

Posted Date:-2022-06-08 09:53:31


Question:
What standard, protocol or language was generalized to become a standard protocol for sending messages of any type, using any protocol?

1.SOAP

2.SGML

3.SQL

4. ADO

Posted Date:-2022-06-08 15:43:18


Question:
What XML stands for?

1.Extra Marked Language

2.Extensible Markup Language

3.Extensible Marked Literal

4.Extra Markup Language

Posted Date:-2022-06-08 09:24:12


Question:
When to use a DOM Parser?

1.You need to know a lot about the structure of a document.

2. You need to move parts of the document around

3.You need to use the information in the document more than once.

4.All of the above.

Posted Date:-2022-06-08 09:43:39


Question:
When to use a SAX Parser?

1.You can process the XML document in a linear fashion from the top down.

2. You are processing a very large XML document whose DOM tree would consume too much memory.

3. The problem to be solved involves only part of the XML document

4.All of the above.

Posted Date:-2022-06-08 09:30:16


Question:
Which component of JDOM Parser represents DOM tree?

1.Document

2.Element

3.Attribute

4.Text

Posted Date:-2022-06-08 09:26:24


Question:
Which of the following creates push button?

1.RESET

2.RADIO

3.INPUT

4.CHECK BOX

Posted Date:-2022-06-08 15:25:14


Question:
Which of the following is not a function of XML ?

1.Structure Information

2.Style Information

3. Transport Information

4. Store Information

Posted Date:-2022-06-08 10:05:30


Question:
Which of the following is not a XML storage option ?

1.Native storage as XML data type

2.Mapping between XML and relational storage

3.Small object storage

4.None of the Mentioned

Posted Date:-2022-06-08 09:54:49


Question:
Which of the following is the communication protocol that sets the standard used by every computer that access web-based information?

1. HTTP

2.XML

3.HTTP

4.DML

Posted Date:-2022-06-08 15:22:32


Question:
Which of the following is true about XML?

1.XML is technology independent. It can be used by any technology for data storage and transmission purpose.

2. XML uses simple text format. It is human readable and understandable.

3.Using XSD, DTD and XML structure can be validated easily.

4.All of the above.

Posted Date:-2022-06-08 09:34:19


Question:
Which of the following is true about XPath?

1.XPath is an official recommendation of the World Wide Web Consortium (W3C).

2.It defines a language to find information in an XML file.

3. Both of the above.

4.None of the above.

Posted Date:-2022-06-08 09:37:16


Question:
Which of the following statement is false if we consider above XML document ?
<?xml version="1.0" encoding="ISO-8859-1"?>
<book>
  <bname>XML Tutorials</bname>
  <pages>100</pages>
  <price>$300.00</price>
</book>

1.Document Syntax is Self Explanatory

2.XML document forms a tree structure

3.XML document can have more than one book

4.It is a document that refers a single book

Posted Date:-2022-06-08 10:22:47


Question:
Which of the following statements is not true about XML Schemas

1.They are used to define the content and structure of data. b. c.

2.They define a set of symbols and the relationships of those symbols.

3.They are themselves XML documents.

4.They have their own syntax.

Posted Date:-2022-06-08 09:45:51


Question:
Which of the following XPath expression selects attributes?

1..

2. ..

3.@

4. //

Posted Date:-2022-06-08 09:28:21


Question:
Which of the following XPath expression selects the parent of the current node?

1..

2...

3../

4.//

Posted Date:-2022-06-08 09:39:44


Question:
Which of the Node is considered as root node ?
<?xml version="1.0" encoding="ISO-8859-1"?>
<book>
  <bname>XML Tutorials</bname>
  <pages>100</pages>
  <price>$300.00</price>
</book>

1.<pages>

2.<price>

3.<book>

4.<bname>

Posted Date:-2022-06-08 10:20:51


Question:
White spaces in XML includes

1.Things like space characters, new lines and tabs

2. Only spaces

3.Space between two double quotes

4. None of these

Posted Date:-2022-06-08 09:56:22


Question:
XML

1.can't be used as a database

2.XML is not a database, it is language

3.can be used as a database

4.None of These

Posted Date:-2022-06-08 15:27:21


Question:
XML deals with storage and ____________ transport of data.

1.Minify

2.Transport

3.Design

4.Filter

Posted Date:-2022-06-08 10:06:48


Question:
XML is much more similar like __________.

1.HTML

2.CSS

3.C Programming

4.JavaScript

Posted Date:-2022-06-08 10:04:06


Question:
XML stands for ______________.

1.Extensible Markup Language

2. Extended Mashup Language

3. Extensible Mashup Language

4. None of these

Posted Date:-2022-06-08 10:02:55


Question:
XML validated against a __________ is considered as Valid XML.

1.JQUERY

2.PARSER

3.CFG

4.DTD

Posted Date:-2022-06-08 10:11:40


Question:
XML with correct syntax is "_________" XML.

1.Well Parametarized

2.Well Formed

3.Mature

4.None of these

Posted Date:-2022-06-08 10:07:48


Question:
XPATH used to

1.Address your documents by specifying a location path

2.Address the server

3.Store the IP address of the server

4.None of these

Posted Date:-2022-06-08 09:57:49


Question:
XSL is

1.an XML based language to create style sheets

2.extensible solution language

3.a language which is not used in XML

4. extended stylesheet language

Posted Date:-2022-06-08 15:30:30


Question:
__________ is used to check XML for syntax errors.

1.XML Validator

2. XML Parser

3. XML Browser

4.None of these

Posted Date:-2022-06-08 10:17:40


More MCQS

  1. XML Mcq Question Set 1
  2. XML Mcq Question Set 2
  3. XML Mcq Question Set 3
  4. XML Mcq Question Set 4
  5. XML Mcq Question Set 5
  6. XML Multiple Choice Questions
  7. XML MCQ
  8. XML MCQ QUESTION 2024
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!