Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

XMLHA Questions plus Answers | Exam Review | Verified !!

Rating
-
Sold
-
Pages
21
Grade
A+
Uploaded on
11-08-2024
Written in
2024/2025

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 "" Select one: a. B is an internal

Show more Read less
Institution
Course

Content preview

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

Written for

Course

Document information

Uploaded on
August 11, 2024
Number of pages
21
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.09
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
smartchoices Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
36
Member since
5 year
Number of followers
5
Documents
4499
Last sold
4 weeks ago

4.8

9 reviews

5
7
4
2
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions