Filters
Question type

Study Flashcards

Content referenced by an entity can be either _____ .


A) persistent or consistent
B) parsed or unparsed
C) static or dynamic
D) well-formed or unique

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

  The DOCTYPE declaration has to be added to the document _____, after the XML declaration and before the document's root element, as shown in the accompanying figure. A)  prolog B)  epilog C)  body D)  any of the above The DOCTYPE declaration has to be added to the document _____, after the XML declaration and before the document's root element, as shown in the accompanying figure.


A) prolog
B) epilog
C) body
D) any of the above

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A(n) _____ is a collection of rules that define the content and structure of an XML document.


A) data structure
B) DTD
C) XMLNS
D) validity glossary

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

  Which of the following is a part into which a DTD like the one in the accompanying figure can be divided? A)  element declaration B)  strict declaration C)  external subset D)  root element Which of the following is a part into which a DTD like the one in the accompanying figure can be divided?


A) element declaration
B) strict declaration
C) external subset
D) root element

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Identify the letter of the choice that best matches the phrase or definition.

Premises
References content to be used within an XML document
Enables you to divide a DTD into two parts: one interpreted by parsers, and one containing declarations that parsers ignore
Interpreted by XML parsers as a reference to another entity
References content that is either nontextual or that cannot be interpreted by an XML parser
This supplies a name for a data type and provides clues about how an application should handle the data
Most standard vocabularies make these available online for inspection
The smaller chunks into which a DTD can be broken
Includes its content in the DTD
Draws its content from an external file
Used when you want to insert content into a DTD itself
Responses
general entity
DTDs
conditional section
notation
external entity
internal entity
module
unparsed entity
& symbol
parameter entity

Correct Answer

References content to be used within an XML document
Enables you to divide a DTD into two parts: one interpreted by parsers, and one containing declarations that parsers ignore
Interpreted by XML parsers as a reference to another entity
References content that is either nontextual or that cannot be interpreted by an XML parser
This supplies a name for a data type and provides clues about how an application should handle the data
Most standard vocabularies make these available online for inspection
The smaller chunks into which a DTD can be broken
Includes its content in the DTD
Draws its content from an external file
Used when you want to insert content into a DTD itself

Used in conjunction with an XML parser that supports data validation, a DTD can be used to accomplish what?

Correct Answer

verifed

verified

A DTD can be used to:
Ensure that all r...

View Answer

DTDs do not support _____ , and thus are of limited value in compound documents.

Correct Answer

verifed

verified

An XML element is not limited to either parsed character data or child elements.

A) True
B) False

Correct Answer

verifed

verified

Entities can reference content found either in an external file or within the DTD itself.

A) True
B) False

Correct Answer

verifed

verified

Case 2-2 Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -You tell Rosalind about the CDATA attribute type. Which of the following attribute values would NOT be allowed for an attribute of this type?


A) 25.99
B) New York, NY
C) Bob & Jenny
D) yellow

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

One way to create a valid document is to design a document type definition, or DTD, for the document.

A) True
B) False

Correct Answer

verifed

verified

The _____ symbol indicates that an element occurs at least once.


A) ^
B) ??
C) +
D) &

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

The _____ value for the content model in an element declaration means the element can contain only parsed character data.


A) parsed
B) mixed
C) #PCDATA
D) elements

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

  Which of the following is a type of identifier for the location of an external subset like the one in the accompanying figure? A)  internal B)  undeclared C)  qualified D)  system Which of the following is a type of identifier for the location of an external subset like the one in the accompanying figure?


A) internal
B) undeclared
C) qualified
D) system

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

While very flexible, elements with _____ content do not add much defined structure to a document.


A) dynamic
B) mixed
C) static
D) integrated

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Because a DTD is not written in the XML language, XML _____  must support the syntax and language requirements needed to interpret DTD code.

Correct Answer

verifed

verified

In a(n) _____  subset, the declarations are placed in an external file that is accessed from the XML document.

Correct Answer

verifed

verified

Case 2-2 Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -Rosalind wants to declare a "coursenum" attribute, the values of which will be unique within the document. Which attribute type should she use?


A) CDATA
B) UNIQUE
C) ID
D) IDREF

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

The _____ value for the content model in an element declaration means the element can contain both parsed character data and child elements.


A) mixed
B) elements
C) #PCDATA with sequence
D) BOTH

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

It is best not to work with mixed content if you want a tightly structured document.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 91

Related Exams

Show Answer