Filters
Question type

Study Flashcards

  According to the accompanying figure, the stuID values must follow the rules of what data type? A)  degreeType B)  siType C)  simple D)  string According to the accompanying figure, the stuID values must follow the rules of what data type?


A) degreeType
B) siType
C) simple
D) string

Correct Answer

verifed

verified

Case 3-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 teach Judy about the differences between simple and complex data types. Which of the following would NOT require a complex type?


A) an element containing only text
B) an empty element containing attributes
C) an element containing child elements
D) an element containing child elements and an attribute

Correct Answer

verifed

verified

Schemas do not allow numeric data types.

Correct Answer

verifed

verified

The _____ facet constrains the data type to a specified list of values.


A) length
B) enumeration
C) member
D) pattern

Correct Answer

verifed

verified

The root element in any XML Schema document is the main element.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

   The arrow in the accompanying figure points to the XML Schema _____ . The arrow in the accompanying figure points to the XML Schema _____ .

Correct Answer

verifed

verified

A(n) _____  data type is a collection of data types that the XML Schema developers created based on the base types.

Correct Answer

verifed

verified

The xs:float data type is a double precision floating point number.

Correct Answer

verifed

verified

Instead of a pattern involving specific characters, you usually want a more general pattern involving _____ types that represent different kinds of characters.


A) entity
B) character
C) decimal
D) facet

Correct Answer

verifed

verified

The _____  value of the use attribute means that the use of the attribute is optional with the element.

Correct Answer

verifed

verified

A _____ can be appended to a character type or set to specify the number of occurrences for a particular character or group of characters.


A) certificate
B) quantifier
C) scope
D) model group

Correct Answer

verifed

verified

The _____ data type is a text string containing valid XML names with no white space.


A) xs:string
B) xs:token
C) xs:NMTOKEN
D) xs:IDREFS

Correct Answer

verifed

verified

By convention, the namespace prefix _____ is assigned to the XML Schema namespace in order to identify elements and attributes that belong to the XML Schema vocabulary.


A) xsl
B) xst
C) xsm
D) xsd

Correct Answer

verifed

verified

The _____ compositor defines a specific order for the child elements.


A) choice
B) all
C) target
D) sequence

Correct Answer

verifed

verified

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


A) SQL
B) EBNF
C) PHP
D) Perl

Correct Answer

verifed

verified

User-derived data types fall into three categories: list, union, and restricted.

Correct Answer

verifed

verified

The XML document to be validated is called the _____  document.

Correct Answer

verifed

verified

If both the maxOccurs and minOccurs attributes are missing, the element is assumed to occur _____.


A) zero times
B) once
C) twice
D) three times

Correct Answer

verifed

verified

The string data type is a(n)   _____  data type, which is part of the XML Schema language.

Correct Answer

verifed

verified

Showing 41 - 60 of 91

Related Exams

Show Answer