0% found this document useful (1 vote)
713 views6 pages

UGRD IT6316 XML Based Web Applications

An XML declaration contains details that set up an XML processor in parsing the document. Tags are the foundation of an XML document. Validation is a process of validating an XML document to check if it follows the required syntax rules and is well-formed.

Uploaded by

PSTC Cagayan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
713 views6 pages

UGRD IT6316 XML Based Web Applications

An XML declaration contains details that set up an XML processor in parsing the document. Tags are the foundation of an XML document. Validation is a process of validating an XML document to check if it follows the required syntax rules and is well-formed.

Uploaded by

PSTC Cagayan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

QUIZ 1

An XML declaration contains details that set up an XML processor in parsing the
document
True

Which of the following is a real-life application of XML?

Error: Used for editing HTML documents.

This is a combination of both HTML and XML.

XHTML

This is the syntax for defining parts of an XML document as well as to extract
information on it.

PATH

Tags are the foundation of an XML document.


True

An XML tag cannot use the string "xml".

True

What does RSS stands for?

Rich Site Summary

The XML declaration should be the on the very first line of the document.

True

This is a way for XML to send special instructions to the XML Parser.
Processing Instructions

Entities shorten XML documents.

True

CDATA is intended primarily for human users. It adds more readability to the source
code.

False

Validation is a way for XML to send special instructions to the XML Parser.

False

XML documents can have multiple root tag.


False

Which of the following is an alternative way of declaring the empty tag ?

<name/>

Which of the following is NOT True?

XML is best suited for large datasets.

Which of the following is INCORRECT?

XML runs on the client side only.

Observe the information below:


Book
Title: Harry Potter
Author: JK Rowling
Genre: Fantasy
Which of the following XML code correctly represents the information above?

<Book>
<title>Harry Potter</title>
<author>JK Rowling</author>
<genre>Fantasy</genre>
</Book>

Which of the following statements is FALSE?

XML is used to add design to HTML

Which of the following is the correct definition of XML?

XML allows the user to create their own tag.

XML is stricter than HTML in terms of syntax.

True

Comments are components of an XML document, but the contents are skipped by
the XML parser

False

This technology takes an XML file and converts it into other format.

XLST

QUIZ 2

Validation is a process of validating an XML document.

True
Which of the following statements about XML Syntax is TRUE?

You can use either single quote or double quote for the attribute elements.

These are considered as a foundation of an XML document.

Tag

Which of the following correctly describes a well-formed XML Document?

This is an XML Document that follows all the syntax rules.

Which of the following is the Definition of XML Schema?

This describes the structure of an XML document using XML Syntax

XML Schema uses XML syntax for describing XML Document Structure.

True

What does CDATA stands for?

Character Data

XML Namespaces are used to avoid conflict among element/tag names.

True

This is an XML component contains details that set up an XML processor in parsing
the document.

Declaration

DTD stands for?


Document Type Definition

The XML parser usually contains basic syntax rules and checks if the XML document
followed these rules.

True

This is a process of validating an XML document.

Validation

An XML Document is valid is it is well-formed and follows a special syntax rule.

True

This is an XML document that is well-defined and follows a special set of rules from a
document definition.

Valid XML Documents

This XML component does not affect the document itself but is intended primarily
for human users.

Comment

XML Validation has two ways: Data Type Definition and XML Schema.

False

This XML component shortens XML documents.

Entities

A Document Definition is an XML Document that follows all the syntax rules.

False
Namespaces make an element in an XML document unique.

True

Which of the following is a valid tag name for an XML Document?

BusinessCard1

You might also like