Home
Current Affairs January 2024

What is the correct answer?

4

DTD follows

A. Bottom Up approach

B. Top Down approach

Correct Answer :

B. Top Down approach


Related Questions

What is the correct answer?

4

______________ replaces a child node

A. .replace(nodename)

B. .replaceChild(nodename)

C. .replace(nodename, reference)

D. .replaceChild(nodename, reference)

What is the correct answer?

4

To select the first node using XPointer use

A. ...............…/nodename[0]

B. ..................…/nodename[1]

C. .................…/nodename[0].nodes

D. ..................…/nodename[1].nodes

What is the correct answer?

4

DTD stands for Data Type Definition

A. True

B. False

What is the correct answer?

4

In Schema to validate that an element can contain only Text use

A. content="textOnly"

B. content="text"

C. content="#PCDATA"

D. content="DATA"

What is the correct answer?

4

In Schema data type can be specified using

A. dataType

B. type

C. dt:type

D. data:type

What is the correct answer?

4

___________ can be used to filter tags

A. apply-templates

B. select

C. Any one of the above

D. Both of the above

What is the correct answer?

4

If a node is replaced, it is reflected on the file itself

A. True

B. False

What is the correct answer?

4

In XML all attribute values must be quoted ie. center="MP"

A. True

B. False

What is the correct answer?

4

In DTD to validate that a tag can have only text use

A. <!ELEMENT name (PCDATA)>

B. <!ELEMENT name (#PCDATA)>

C. <!ELEMENT name (#DATA)>

D. <!ELEMENT name (DATA)>

What is the correct answer?

4

To arrange names in descending order in XSL, use

A. Order-by="name"

B. Order-by="+name"

C. Order-by="-name"

D. Order-by="name" desc

What is the correct answer?

4

The correct tag is

A. <?xml version="1.0"?>

B. <?xml version "1.0"?>

C. <xml version="1.0">

D. <xml version "1.0">

What is the correct answer?

4

Latest version of XML is _______

A. 1.0

B. 2.0

C. 3.0

D. 4.0

What is the correct answer?

4

The valid Schema tag is

A. <Element Type="roll" minOccurs="1" maxOccurs="1"/>

B. <element type="roll" minOccurs="1" maxOccurs="1"/>

C. <ElementType="roll" minOccurs="1" maxOccurs="1"/>

D. <Element Type="roll" minOccurs="1" maxOccurs="1"/>

What is the correct answer?

4

________ is used to define the addressing mechanism while ________ is provides a standard way to use that mechanism in references

A. XPointer, XPath

B. XPath, XPointer

C. XPath, Xlink

D. XQuery, Xlink

What is the correct answer?

4

.appendChild(newnode) can appends a node at any position

A. True

B. False

What is the correct answer?

4

Which one is used to mention the values Attribute list

A. dt:values="MintoPark CamacStreet Gariahat"

B. dt:values="Minto Park Camac Street Gariahat"

C. dt:values="Minto Park, CamacStreet, Gariahat"

D. dt:values="MintoPark | CamacStreet | Gariahat"

What is the correct answer?

4

To stop processing external files in XML use

A. resolveExternal = false

B. resolve = false

C. resolvcExternal = false

D. resolveExternals = false

What is the correct answer?

4

Cascading style sheet can be

A. External, Inline

B. Internal, External

C. Internal, External, Inline

D. External only

What is the correct answer?

4

_____________ removes a child node

A. .removeChild(nodename)

B. .remove(nodename)

C. .removeChild(nodename, reference)

D. .remove(nodename, reference)

What is the correct answer?

4

In DTD to specify an Attribute List use

A. <ATTLIST student centre (MintoPark|Gariahat|CamacStreet) "MintoPark">

B. <ATTLIST student (MintoPark|Gariahat|CamacStreet) "MintoPark">

C. <!ATTLIST student centre (MintoPark|Gariahat|CamacStreet) "MintoPark">

D. <!ATTLIST student (MintoPark|Gariahat|CamacStreet) "MintoPark">

What is the correct answer?

4

To retrieve a value stored in a attribute declared in a DTD file _________ is used

A. &attribute name;

B. &attribute name

C. attribute name

D. &attribute name;*
attribute name;

What is the correct answer?

4

To match a particular record use

A. match=".[centre='MP']"

B. match=".[centre=MP]"

C. match=".[@centre='MP']"

D. match=.[@centre='MP']

What is the correct answer?

4

Data type is applied in an XML file using

A. dt:dt

B. dt:type

C. data:type

D. dt:data:type

What is the correct answer?

4

To select all the names whose salary is above 10000 use

A. .............…/nodename/name[salary>10000]

B. ............…/nodename.nodes/name[salary>10000]

C. .............…/nodename[salary>10000]/name

D. ..............…/nodename[salary>10000].nodes/name

What is the correct answer?

4

__________ appends a child

A. .append (newnode)

B. .appendChild(newnode)

C. .append(newnode, ,reference_node)

D. .appendChild(newnode,reference_node)

What is the correct answer?

4

To specify a list of Attributes in Schema use

A. dt:type="list"

B. dt:type="enumeration"

C. dt:type="enum"

D. dt:type="values"

What is the correct answer?

4

var xmlDoc=new ActivexObject ("Microsoft.xmldom"); Here xmldom is

A. Name of object

B. Name of component

C. Name of class

D. None of the above

What is the correct answer?

4

______ is used inXML documents to block off text that are to be side stepped by an XML parser

A. CDATA

B. <!-- -- >

C. //

D. /* */

What is the correct answer?

4

If "centre" is an attribute of a tag, then in Schema use __________ to validate it.

A. <AttributeType="centre"/>

B. <AttributeType="centre">

C. <attribute type="centre">

D. <attribute type="centre"/>

What is the correct answer?

4

To insert a node use

A. insert

B. insertAfter

C. AddNew

D. InsertBefore