Home
Current Affairs January 2024

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

Correct Answer :

D. resolveExternals = false


Related Questions

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

Extension of a Schema file and an XML file is same

A. True

B. False

What is the correct answer?

4

XML is case sensitive

A. True

B. False

What is the correct answer?

4

The following is a valid XML Document
<details> 
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>

A. True

B. False

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

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

Schema follows

A. Top down approach

B. Bottom up approach

C. Closed model

What is the correct answer?

4

Schema and DTD can be used together

A. True

B. False

What is the correct answer?

4

___________ is used for comment in XML

A. CDATA

B. <!-- -- >

C. //

D. /* */

What is the correct answer?

4

If two styles are mentioned as
p{ color:blue }
p.abc{ color:red } and paragraph tag is used as <p class=abc>Hello World</p> then

A. The color of Hello World will be red

B. The color of Hello World will be blue

C. The color of Hello World will be the default color ie. Black

D. None of the above

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

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

Use _________ to specify an Attribute list

A. ATTLST

B. ATTLIST

C. ATTRIBUTE

D. LIST

What is the correct answer?

4

If DTD file is used, it always validates an XML file irrespective of how the XML file is retrieved

A. True

B. False

What is the correct answer?

4

The valid Schema tag is

A. <ElementType name="roll" content="textOnly" dt:type="int"/>

B. <ElementType name="roll" content="textOnly" dt:dt="int"/>

C. <element type="roll" content="textOnly" dt:type="int"/>

D. <element type="roll" content="textOnly" dt:type="int"/>

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

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

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

Cascading style sheet can be

A. External, Inline

B. Internal, External

C. Internal, External, Inline

D. External only

What is the correct answer?

4

DTD stands for Data Type Definition

A. True

B. False

What is the correct answer?

4

DTD follows

A. Bottom Up approach

B. Top Down approach

What is the correct answer?

4

XML is preferred over HTML because

A. The GUI is embedded in the data

B. Searching for information in the data is tough

C. Data is tied to the logic and language of HTML

D. All of the above

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

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 insert a node use

A. insert

B. insertAfter

C. AddNew

D. InsertBefore

What is the correct answer?

4

For internal DTD __________ is not required

A. DOCTYPE

B. SYSTEM

C. ELEMENT

D. #PCDATA

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

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

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

A. True

B. False