100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
XMLHA Questions plus Answers | Exam Review | Verified !! $10.59   Add to cart

Exam (elaborations)

XMLHA Questions plus Answers | Exam Review | Verified !!

 1 view  0 purchase
  • Course
  • Institution

XMLHA Questions plus Answers | Exam Review | Verified !! Which of the following statements are true in the case of XML? Select one: a. XML was designed to describe data b. XML tags are predefined c. Root element must be a empty tag d. XML describes its data along with its presentation **...

[Show more]

Preview 3 out of 21  pages

  • August 11, 2024
  • 21
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
XMLHA Questions plus Answers | Exam Review |
Verified !!

Which of the following statements are true in the case of XML?
Select one:
a. XML was designed to describe data
b. XML tags are predefined
c. Root element must be a empty tag
d. XML describes its data along with its presentation ** Answ** d

What does the keyword SYSTEM indicate in the following code?
<!DOCTYPE Book SYSTEM "book.dtd">
Select one:
a. Book.dtd is an internal DTD
b. Book is a system variable
c. It is a system generated DTD
d. Book.dtd is an external DTD ** Answ** a

An XML document, which conforms to its DTD, is called a:
Select one:
a. Complete Document
b. XSL Document
c. Well formed Document
d. Valid Document ** Answ** c

The need of using DTD in developing XML document is
Select one:
a. a good guide to populating a templates to be filled in when generating an XML
document automatically
b. used to direct conversion using an XSLT processor
c. no longer necessary after the XML editor has been customized
d. required when validating XML documents ** Answ** d

Which statement is true?
Select one:
a. XML element names can start with a number
b. XML attribute names can start with ampersand
c. XML elements names can contain question mark
d. XML element names can start with ampersand
e. XML elements names can contain underscore ** Answ** d

XML uses the features of
Select one:

,a. WML
b. VML
c. UML
d. SGML ** Answ** d

In XSL, an attributes can be accessed in the way similar to the elements. Notice ____ in
front of the attribute name
Select one:
a. $
b. &
c. @
d. # ** Answ** c

The entities that are used only in DTDs are referred to as
Select one:
a. External entities
b. Internal entities
c. Parameter entities
d. General entities ** Answ** d

A Complex Type element can be defined using
Select one:
a. <xsd:complexType name="..." />
b. <xs:ComplexType name="..." />
c. <ComplexType ="..." />
d. <Complextype element name="..." /> ** Answ** a

What DOM method can you use to determine a node's type?
Select one:
a. You can use the node's getNodeType method and check the results it returns against
fields such as Node.ELEMENT_NODE, Node.TEXT_NODE, and so on
b. You can use the node's getType method and check the results it returns against
fields such as Node.ELEMENT_NODE, Node.TEXT_NODE, and so on
c. You can use the node's getElementType method and check the results it returns
against fields such as Node.ELEMENT_NODE, Node.TEXT_NODE, and so on
d. You can use the node's getDocumentType method and check the results it returns
against fields such as Node.ELEMENT_NODE, Node.TEXT_NODE, and so on **
Answ** a

To prevent a type from being derived for defining new types you can specify
Select one:
a. <complexType name="Address" final="NotInheritable" />
b. <complexType name="Address" final="restriction" />
c. <complexType name="Address" final="secure" />
d. <complexType name="Address" final="DeriveDeny" /> ** Answ** b

, Which of the following methods creates a node for inserting textual content in to it?
Select one:
a. getElementByTagName()
b. createElement()
c. createCDATASection()
d. createTextNode() ** Answ** d

Which of the following snippet deletes an attribute of an Element node
Select one:
a. Attr attr = document.createAttribute("name");
attr.setValue("FU");
root.setAttributeNode(attr);
root.removeAttribute(attr);
b. Attr attr = document.createAttribute("name");
attr.setValue("FU");
root.setAttributeNode(attr);
root.removeAttributeNode(doc);
c. Attr attr = document.createAttribute("name");
attr.setValue("FU");
root.setAttributeNode(attr);
root.removeAttributeNode(attr);
d. Attr attr = document.createAttribute("name");
attr.setValue("FU");
root.setAttributeNode(attr);
root.removeAttributeNode("name"); ** Answ** c

What SAX method(s) do you implement to handle elements?
Select one:
a. You can implement the openElement and closeElement methods to catch the starting
and closing tags of elements
b. You can implement the startElement and closelement methods to catch the starting
and closing tags of elements
c. You can implement the startElement and endElement methods to catch the starting
and closing tags of elements
d. You can implement the beginElement and endElement methods to catch the starting
and closing tags of elements
e. You can implement the startDocument and endDocument methods to catch the
starting and closing tags of elements ** Answ** c

Which of the following statement about Attribute Node in DOM is true?
Select one:
a. This node represents the textual content or value of an element or attribute
b. The text inside this node is not subjected to parsing
c. This node contains a notation declared in the DTD
d. This node represents the property of an element ** Answ** d

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller smartchoices. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.59. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78140 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.59
  • (0)
  Add to cart