Deck 12: Validating an XML Document

ملء الشاشة (f)
exit full mode
سؤال
An element declaration employing the #PCDATA content model shown in the accompanying figure does not allow for child elements._________________________
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Attribute values do not allow you to control the format of the character data.
سؤال
It is best not to work with mixed content if you want a tightly structured document._________________________
سؤال
An entity whose content is found within the DTD is known as a(n)external entity _________________________
سؤال
An attribute declared using the NAME token must have a value equal to the value of an ID attribute located somewhere in the same document._________________________
سؤال
A modifying symbol is placed directly before the element it modifies._________________________
سؤال
For a DTD to validate either binary data, such as images or video clips, or character data that is not well formed, you need to work with parsed entities.
سؤال
To test for validity, an XML parser must be able to compare the XML document with the rules established in the DTD.
سؤال
An XML element is not limited to either parsed character data or child elements.
سؤال
The #FIXED attribute default is used to indicate that the use of an attribute is optional._________________________
سؤال
In a valid document, at least two elements must be declared in the DTD.
سؤال
If a processor encounters more than one declaration for the same attribute, it ignores the first statement._________________________
سؤال
Entities can reference content found either in an external file or within the DTD itself.
سؤال
As shown in the accompanying figure, the external subset would define some basic rules for all of the documents, and the internal subset would define rules that are specific to each document.
سؤال
One way to create a valid document is to design a document type definition, or DTD, for the document.
سؤال
The DOCTYPE declaration has to be added to a document epilog as shown in the accompanying figure._________________________
سؤال
A(n)notation must supply a name for the data type and provide clues about how applications should handle the data._________________________
سؤال
Attribute-list declarations can be located anywhere within the document type declaration.
سؤال
Generally, elements contain parsed character data or child elements.
سؤال
A DTD can be used to enforce a specific data structure on document content._________________________
سؤال
A DTD is entered into the document in a statement called a document ____ declaration.

A) basis
B) element
C) index
D) type
سؤال
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
سؤال
An element declaration can specify which of the following?

A) an element's name
B) what kind of content the element can contain
C) the order in which elements appear in the document
D) all of the above
سؤال
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
سؤال
How many DOCTYPE declarations can there be in an XML document?

A) 1
B) 2
C) 3
D) There is no limit.
سؤال
An element ____ declaration specifies an element's name and indicates what kind of content the element can contain.

A) content
B) model
C) type
D) detail
سؤال
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 ____ value for the content model in an element declaration means an element cannot store any content.

A) EMPTY
B) NULL
C) NONE
D) mixed
سؤال
The ____ content model is reserved for elements that store no content.

A) NULL
B) NONE
C) EMPTY
D) VOID
سؤال
Which of the following is a part into which a DTD like the one in the accompanying figure can be divided?

A) internal subset
B) system identifier
C) root element
D) public identifier
سؤال
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
سؤال
Element names can contain which of the following?

A) reserved symbols
B) spaces
C) numbers
D) all of the above
سؤال
One way to create a valid document is to design a(n)____ for the document.

A) data structure
B) DTD
C) XMLNS
D) validity glossary
سؤال
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
سؤال
The locations of external subsets like that shown in the accompanying figure can be defined using ____ types of identifiers.

A) two
B) three
C) four
D) six
سؤال
Most standard XML vocabularies have ____ identifiers.

A) public
B) strict
C) system
D) master
سؤال
The content-model value can be one of ____ specific keywords or one of two content descriptions.

A) five
B) four
C) three
D) two
سؤال
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
سؤال
To create a parsed entity that references content from an external file using a system ____, you use the declaration .

A) identifier
B) qualifier
C) index
D) locator
سؤال
You can divide a DTD into ____ parts.

A) two
B) three
C) five
D) seven
سؤال
The declaration ____ would permit this element in an XML document: Lea Ziegler.

A)
B)
C)
D)
سؤال
To test for validity, an XML parser must be able to compare your XML document with the ____ rules you set up in the DTD.

A) validity
B) integration
C) persistence
D) interpolation
سؤال
XML parsers interpret the ____ symbol as a reference to another entity and attempt to resolve the reference.

A) &
B) %
C) #
D) !
سؤال
The ____ content model allows an element to store any type of content.

A) OPEN
B) mixed
C) #PCDATA
D) ANY
سؤال
The NMTOKEN data types cannot contain ____.

A) hyphens
B) colons
C) white space
D) any of the above
سؤال
The ____ symbol indicates that an element occurs at least once.

A) ^
B) ?
C) +
D) &
سؤال
The ____ attribute default means that the attribute must appear with every occurrence of the element.

A) #MANDATED
B) #FIXED
C) #REQUIRED
D) #IMPLIED
سؤال
In a DTD, a ____ symbol specifies the number of occurrences of each element.

A) specifying
B) quantifier
C) count
D) modifying
سؤال
Which of the following is accomplished by an attribute-list declaration?

A) It lists the names of all the attributes associated with a specific element.
B) It specifies the data type of each attribute.
C) It indicates whether each attribute is required or optional.
D) All of the above.
سؤال
If an entity's content is found within the DTD, the entity is known as a(n)____ entity.

A) internal
B) persistent
C) contained
D) consistent
سؤال
The syntax for creating a conditional section is ____.

A) Declarations
]}>
B) Declarations
}}>
C) Declarations
]]>
D) Declarations
]]>
سؤال
The ____ symbol is used for inserting parameter entities.

A) &
B) %
C) #
D) !
سؤال
Once an ID value has been declared in a document, other attribute values can refer to it using the ____ token.

A) name
B) entity
C) IDREF
D) value
سؤال
When the ____ symbol is used with a choice list, the element can contain any number of occurrences of child elements or PCDATA, or it can contain no content at all.

A) +
B) *
C) ?
D) ^
سؤال
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
سؤال
While very flexible, elements with ____ content do not add much defined structure to a document.

A) dynamic
B) mixed
C) static
D) integrated
سؤال
The attributes of the attribute value type ____ contain an accepted XML name.

A) ID
B) NMTOKEN
C) IDREF
D) ENTITY
سؤال
The attributes of the attribute value type ____ contain a list of entities separated by white space.

A) ENTITY
B) enumerated list
C) ENTITIES
D) ID
سؤال
An entity that references content that cannot be interpreted by the XML parser is a(n)____ entity.

A) internal
B) well-formed
C) unparsed
D) dynamic
سؤال
Any attribute that has been declared by the data type ID is a candidate for an ID ____.

A) property
B) element
C) link
D) reference
سؤال
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
سؤال
____________________ content allows an element to contain both parsed character data and child elements.
سؤال
Finally, you help Rosalind write the declaration of an attribute named "credits" of an element named "course." This optional attribute should contain character data, and a value of 4 should be used if an attribute value is not specified.Which of the following is an appropriate declaration of this attribute?

A)
B)
C)
D)
سؤال
You help Rosalind write the declaration of the "semester" attribute described in the previous problem.Which of the following is an appropriate declaration for this attribute?

A)
B)
C)
D)
سؤال
A(n)____________________ specifies an element's name and indicates what kind of content it can contain.
سؤال
The chunks into which a DTD can be broken with parameter entities are known as ____.

A) components
B) blurbs
C) links
D) modules
سؤال
A(n)____________________ content model is a list of child elements that follow a defined order.
سؤال
DTDs use more general numbering with a(n)____________________ symbol, which specifies the number of occurrences of each element.
سؤال
Casey next wants to write a declaration for an element named "advanced" that he will use to record the fact that a student is advanced.This element will not contain any content.Which of the following is an appropriate element declaration for this element?

A)
B)
C)
D)
سؤال
Rosalind wants to define a required attribute called "semester" of an element named "course." She wants to ensure that this attribute takes on one of three values: fall, spring, or summer.Which type of attribute should she use?

A) CDATA
B) an enumerated type
C) a tokenized type
D) a value-list type
سؤال
External DTDs work the same way as ____ style sheets.

A) dynamic
B) external
C) embedded
D) inline
سؤال
You tell Casey that he must declare the DTD using a DOCTYPE statement.Where should the DOCTYPE go?

A) before the XML declaration
B) within the XML declaration
C) after the XML declaration and before the document's root element
D) after the document's root element
سؤال
Attributes that are limited to a set of possible values are known as ____________________ types.
سؤال
A DOCTYPE declaration like the one in the accompanying figure is also known as a(n)____________________.
سؤال
Casey needs to declare an "address" element that can be used to store a student's address.If he intends to store the address as parsed character data, which of the following is an appropriate declaration for this element?

A)
B)
C)
D)
سؤال
Casey wants to include a declaration for an element named "note" that can contain any type of content.Which of the following is an appropriate element declaration for this element?

A)
B)
C)
D)
سؤال
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
سؤال
A(n)____________________ is added to the DOCTYPE declaration to provide information about the DTD to the XML parser.
سؤال
In a(n)____________________ subset, the declarations are placed in an external file that is accessed from the XML document.
سؤال
After you teach Casey about declarations for elements with child elements, he constructs the element declaration .Given this declaration, which of the following is NOT a valid "class" element?

A) Beginner Drawing
B) One-on-One Painting
C) Oil Paintingbrushstrokes
D) Working with Clay
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/100
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 12: Validating an XML Document
1
An element declaration employing the #PCDATA content model shown in the accompanying figure does not allow for child elements._________________________
True
2
Attribute values do not allow you to control the format of the character data.
False
3
It is best not to work with mixed content if you want a tightly structured document._________________________
True
4
An entity whose content is found within the DTD is known as a(n)external entity _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
5
An attribute declared using the NAME token must have a value equal to the value of an ID attribute located somewhere in the same document._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
6
A modifying symbol is placed directly before the element it modifies._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
7
For a DTD to validate either binary data, such as images or video clips, or character data that is not well formed, you need to work with parsed entities.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
8
To test for validity, an XML parser must be able to compare the XML document with the rules established in the DTD.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
9
An XML element is not limited to either parsed character data or child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
10
The #FIXED attribute default is used to indicate that the use of an attribute is optional._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
11
In a valid document, at least two elements must be declared in the DTD.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
12
If a processor encounters more than one declaration for the same attribute, it ignores the first statement._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
13
Entities can reference content found either in an external file or within the DTD itself.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
14
As shown in the accompanying figure, the external subset would define some basic rules for all of the documents, and the internal subset would define rules that are specific to each document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
15
One way to create a valid document is to design a document type definition, or DTD, for the document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
16
The DOCTYPE declaration has to be added to a document epilog as shown in the accompanying figure._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
17
A(n)notation must supply a name for the data type and provide clues about how applications should handle the data._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
18
Attribute-list declarations can be located anywhere within the document type declaration.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
19
Generally, elements contain parsed character data or child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
20
A DTD can be used to enforce a specific data structure on document content._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
21
A DTD is entered into the document in a statement called a document ____ declaration.

A) basis
B) element
C) index
D) type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
22
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
23
An element declaration can specify which of the following?

A) an element's name
B) what kind of content the element can contain
C) the order in which elements appear in the document
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
24
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
25
How many DOCTYPE declarations can there be in an XML document?

A) 1
B) 2
C) 3
D) There is no limit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
26
An element ____ declaration specifies an element's name and indicates what kind of content the element can contain.

A) content
B) model
C) type
D) detail
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
27
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____ value for the content model in an element declaration means an element cannot store any content.

A) EMPTY
B) NULL
C) NONE
D) mixed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
29
The ____ content model is reserved for elements that store no content.

A) NULL
B) NONE
C) EMPTY
D) VOID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which of the following is a part into which a DTD like the one in the accompanying figure can be divided?

A) internal subset
B) system identifier
C) root element
D) public identifier
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
31
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
32
Element names can contain which of the following?

A) reserved symbols
B) spaces
C) numbers
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
33
One way to create a valid document is to design a(n)____ for the document.

A) data structure
B) DTD
C) XMLNS
D) validity glossary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
34
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
35
The locations of external subsets like that shown in the accompanying figure can be defined using ____ types of identifiers.

A) two
B) three
C) four
D) six
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
36
Most standard XML vocabularies have ____ identifiers.

A) public
B) strict
C) system
D) master
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
37
The content-model value can be one of ____ specific keywords or one of two content descriptions.

A) five
B) four
C) three
D) two
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
38
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
39
To create a parsed entity that references content from an external file using a system ____, you use the declaration .

A) identifier
B) qualifier
C) index
D) locator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
40
You can divide a DTD into ____ parts.

A) two
B) three
C) five
D) seven
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
41
The declaration ____ would permit this element in an XML document: Lea Ziegler.

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
42
To test for validity, an XML parser must be able to compare your XML document with the ____ rules you set up in the DTD.

A) validity
B) integration
C) persistence
D) interpolation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
43
XML parsers interpret the ____ symbol as a reference to another entity and attempt to resolve the reference.

A) &
B) %
C) #
D) !
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ____ content model allows an element to store any type of content.

A) OPEN
B) mixed
C) #PCDATA
D) ANY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
45
The NMTOKEN data types cannot contain ____.

A) hyphens
B) colons
C) white space
D) any of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____ symbol indicates that an element occurs at least once.

A) ^
B) ?
C) +
D) &
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
47
The ____ attribute default means that the attribute must appear with every occurrence of the element.

A) #MANDATED
B) #FIXED
C) #REQUIRED
D) #IMPLIED
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
48
In a DTD, a ____ symbol specifies the number of occurrences of each element.

A) specifying
B) quantifier
C) count
D) modifying
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
49
Which of the following is accomplished by an attribute-list declaration?

A) It lists the names of all the attributes associated with a specific element.
B) It specifies the data type of each attribute.
C) It indicates whether each attribute is required or optional.
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
50
If an entity's content is found within the DTD, the entity is known as a(n)____ entity.

A) internal
B) persistent
C) contained
D) consistent
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
51
The syntax for creating a conditional section is ____.

A) Declarations
]}>
B) Declarations
}}>
C) Declarations
]]>
D) Declarations
]]>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
52
The ____ symbol is used for inserting parameter entities.

A) &
B) %
C) #
D) !
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
53
Once an ID value has been declared in a document, other attribute values can refer to it using the ____ token.

A) name
B) entity
C) IDREF
D) value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
54
When the ____ symbol is used with a choice list, the element can contain any number of occurrences of child elements or PCDATA, or it can contain no content at all.

A) +
B) *
C) ?
D) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
55
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
56
While very flexible, elements with ____ content do not add much defined structure to a document.

A) dynamic
B) mixed
C) static
D) integrated
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
57
The attributes of the attribute value type ____ contain an accepted XML name.

A) ID
B) NMTOKEN
C) IDREF
D) ENTITY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
58
The attributes of the attribute value type ____ contain a list of entities separated by white space.

A) ENTITY
B) enumerated list
C) ENTITIES
D) ID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
59
An entity that references content that cannot be interpreted by the XML parser is a(n)____ entity.

A) internal
B) well-formed
C) unparsed
D) dynamic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
60
Any attribute that has been declared by the data type ID is a candidate for an ID ____.

A) property
B) element
C) link
D) reference
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
61
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
62
____________________ content allows an element to contain both parsed character data and child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
63
Finally, you help Rosalind write the declaration of an attribute named "credits" of an element named "course." This optional attribute should contain character data, and a value of 4 should be used if an attribute value is not specified.Which of the following is an appropriate declaration of this attribute?

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
64
You help Rosalind write the declaration of the "semester" attribute described in the previous problem.Which of the following is an appropriate declaration for this attribute?

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
65
A(n)____________________ specifies an element's name and indicates what kind of content it can contain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
66
The chunks into which a DTD can be broken with parameter entities are known as ____.

A) components
B) blurbs
C) links
D) modules
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
67
A(n)____________________ content model is a list of child elements that follow a defined order.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
68
DTDs use more general numbering with a(n)____________________ symbol, which specifies the number of occurrences of each element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
69
Casey next wants to write a declaration for an element named "advanced" that he will use to record the fact that a student is advanced.This element will not contain any content.Which of the following is an appropriate element declaration for this element?

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
70
Rosalind wants to define a required attribute called "semester" of an element named "course." She wants to ensure that this attribute takes on one of three values: fall, spring, or summer.Which type of attribute should she use?

A) CDATA
B) an enumerated type
C) a tokenized type
D) a value-list type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
71
External DTDs work the same way as ____ style sheets.

A) dynamic
B) external
C) embedded
D) inline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
72
You tell Casey that he must declare the DTD using a DOCTYPE statement.Where should the DOCTYPE go?

A) before the XML declaration
B) within the XML declaration
C) after the XML declaration and before the document's root element
D) after the document's root element
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
73
Attributes that are limited to a set of possible values are known as ____________________ types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
74
A DOCTYPE declaration like the one in the accompanying figure is also known as a(n)____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
75
Casey needs to declare an "address" element that can be used to store a student's address.If he intends to store the address as parsed character data, which of the following is an appropriate declaration for this element?

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
76
Casey wants to include a declaration for an element named "note" that can contain any type of content.Which of the following is an appropriate element declaration for this element?

A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
77
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
78
A(n)____________________ is added to the DOCTYPE declaration to provide information about the DTD to the XML parser.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
79
In a(n)____________________ subset, the declarations are placed in an external file that is accessed from the XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
80
After you teach Casey about declarations for elements with child elements, he constructs the element declaration .Given this declaration, which of the following is NOT a valid "class" element?

A) Beginner Drawing
B) One-on-One Painting
C) Oil Paintingbrushstrokes
D) Working with Clay
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 100 في هذه المجموعة.