XML Schema Quiz

SmartInequality avatar
SmartInequality
·
·
Download

Start Quiz

Study Flashcards

17 Questions

Which statement about XML schemas is FALSE?

XML schemas become the metadata.

What is the purpose of a document type definition in XML?

To determine if the XML document content is valid

What is the advantage of using XML to define data?

Data are stored in a pure text format and not dependent on any proprietary software

Which statement about mainframe computer formats is TRUE?

Zoned decimal, packed decimal, and binary are standard formats for mainframe computers

"In the XML context, what is a schema used for?"

To describe the structure and content of an XML document

"What does a data dictionary typically contain?"

"Information about the structure, organization, and characteristics of data"

What are braces { } commonly used to indicate in the context of XML attributes in DTD?

Iteration of elements

Which of the following is an advantage of using XML for data management?

Highly readable for human users

In the context of XML, what is included in a physical data structure?

Codes that identify the status of a master record

What is a synonym or other name for an element known as in XML and metadata terminology?

Alias

In the context of XML, what does a base element refer to?

An element that was initially keyed into the system

What is a derived element in XML and metadata terminology?

An element created by processes as a result of calculations or decision-making statements

What does the symbol X(8) represent in XML attributes?

Eight alphanumeric characters

In the context of XML, what does a varchar data type represent?

Data that can contain any number of characters (up to the database limit)

When it comes to a default value on a GUI screen, what interface elements may it be used for?

Drop-down lists

What is the main purpose of data stores in XML usage?

To store all base elements and some derived elements

Why is it important to keep the value for the length small when working with XML?

To avoid exceeding file space limitations

Study Notes

XML and Schemas

  • In XML, schemas do not become the metadata.
  • A document type definition (DTD) is used to determine if the XML document content is valid.
  • An !ATTLIST describes an XML attribute in the DTD.
  • A schema is a more precise way to define the content of an XML document.
  • XML is beneficial as it stores data in a pure text format, independent of proprietary software.

Data Format

  • There are three standard formats for mainframe computers: zoned decimal, packed decimal, and binary.
  • Zoned decimal is not used to determine whether the XML document content is valid.
  • Packed decimal format is commonly used to save space on file layouts and for elements that require a high level of arithmetic.

Data Dictionary and Metadata

  • A data dictionary defines the terms used to describe the data elements.
  • Metadata refers to the information about the data elements.

Data Structure

  • Physical data structure includes codes that identify the status of a master record.
  • Braces { } are used to indicate iteration.
  • A synonym or other name for an element is called an alias.
  • A base element is one that was initially keyed into the system.
  • A derived element is one that is created by processes as a result of calculations or a series of decision-making statements.

Data Elements

  • When determining the length for elements, figure the amount of a numeric element and add a few characters for reasonable expansion.
  • The symbol X(8) represents eight alphanumeric characters.
  • A varchar data type is used to represent data that can contain any number of characters (up to the database limit).
  • A default value on a GUI screen may be used for drop-down lists, radio buttons, and check boxes.
  • Data stores are used to store all base elements and some derived elements.

Test your knowledge on XML schemas, document type definitions, !ATTLIST, and defining XML document content. Determine the accuracy of statements related to XML in this quiz.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser