Exam 13: Working With Basic Schemas

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Identify the letter of the choice that best matches the phrase or definition. -An XML document that contains validation rules for an XML vocabulary

(Multiple Choice)
4.9/5
(34)

  -Given the accompanying figure, because the ID data type is built into the XML Schema, all elements and attributes from the XML Schema vocabulary must be identified using the xs namespace prefix. -Given the accompanying figure, because the ID data type is built into the XML Schema, all elements and attributes from the XML Schema vocabulary must be identified using the xs namespace prefix.

(True/False)
4.9/5
(28)

XML Schema divides its user-derived data types into two classes: primitive and derived._________________________

(True/False)
4.8/5
(38)

  -The namespace prefix in the accompanying figure is xs. -The namespace prefix in the accompanying figure is xs.

(True/False)
4.9/5
(39)

A file written in XML Schema typically ends with the ____ file extension.

(Multiple Choice)
4.8/5
(41)

Identify the letter of the choice that best matches the phrase or definition. -String data type for a value matching an unparsed entity defined in a DTD

(Multiple Choice)
5.0/5
(42)

Case 13-2 Judy has begun to apply the basic information that you have given her about schemas, and she would now like your help in mastering the details of how schemas work. -In her definition of the recipe element, Judy would like to reference the existing definition of the ingredient element.Which of the following element declarations accomplishes this?

(Multiple Choice)
4.7/5
(23)

The string data type is ____________________ data type, which is part of the XML Schema language.

(Short Answer)
4.9/5
(40)

  -As shown in the accompanying figure, examples of a(n)____ type of content are elements that contain attributes or elements that contain child elements. -As shown in the accompanying figure, examples of a(n)____ type of content are elements that contain attributes or elements that contain child elements.

(Multiple Choice)
4.8/5
(42)

Case 13-1 Judy wants to be able to validate the XML documents that she uses for recipes. These documents include numeric elements that specify ingredient amounts and cooking times, so you recommend that she use a schema instead of a DTD, and you teach her some of the key facts about schemas. -You tell Judy that there are multiple vocabularies available for schema.Which of them is the most widely adopted?

(Multiple Choice)
4.7/5
(37)

Case 13-1 Judy wants to be able to validate the XML documents that she uses for recipes. These documents include numeric elements that specify ingredient amounts and cooking times, so you recommend that she use a schema instead of a DTD, and you teach her some of the key facts about schemas. -Judy has an attribute called "recipeType" that she uses to record whether the recipe is for an appetizer, entree, dessert, or other type of dish.This attribute only contains text.Which of the following would be a valid XML schema definition for this attribute?

(Multiple Choice)
4.9/5
(39)

A base type is one of ____ fundamental data types not defined in terms of other types.

(Multiple Choice)
4.9/5
(35)

Case 13-2 Judy has begun to apply the basic information that you have given her about schemas, and she would now like your help in mastering the details of how schemas work. -Judy would like to indicate that the ingredient element must appear at least once in a recipe, and that it cannot appear more than 20 times.Which of the following should she add to the element declaration to indicate these restrictions?

(Multiple Choice)
4.7/5
(39)

Attributes use the same collection of data types that simple type elements do.

(True/False)
4.7/5
(39)

Identify the letter of the choice that best matches the phrase or definition. -Content that contains two or more values placed within a defined structure

(Multiple Choice)
4.8/5
(38)

DTDs employ a syntax called ____, which is different from the syntax used for XML.

(Multiple Choice)
4.9/5
(40)

When the mixed attribute is set to the value "true," XML Schema assumes that the element contains both text and child elements._________________________

(True/False)
4.7/5
(26)

XML Schema supports a collection of built-in data types, but does not allow users to define their own.

(True/False)
4.8/5
(36)

Derived data types share many of the same characteristics as the ____ data types they are derived from, but with one or two additional restrictions or modifications.

(Multiple Choice)
4.8/5
(37)

The ____ facet specifies the maximum number of decimal places to the right of the decimal point in the data type's value.

(Multiple Choice)
4.9/5
(38)
Showing 21 - 40 of 100
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)