web design questions

User Generated

kpbek97

Programming

Description

XML uses markups to specify document’s logical structure and is mainly for supporting system data integration.

A) True
B) False

2.

XML documents can use any tag names and still be valid

A) True
B) False

3.

DTD is part of XML specification.

A) True
B) False

4.

DTD uses XML syntax.

A) True
B) False

5.

XML Schema is more expressive than DTD.

A) True
B) False

6.

XML Schema uses XML syntax.

A) True
B) False

7.

A well-formed XML document is also valid.

A) True
B) False

8.

A valid XML document must also be well-formed

A) True
B) False

9.

SAX takes less computer memory than DOM when it parses an XML document

A) True
B) False

10.

XPath expressions are for connecting different XML elements

A) True
B) False

11.

XSLT is for replacing CSS.

A) True
B) False

12.

XML technology is mainly for

A) Integration of heterogeneous information systems
B) Integration of data of heterogeneous information systems
C) Presentation of business data
D) Specifying style rules for data presentation

13.

Entity names are for defining

A) Aliases for long strings
B) Specifying business data
C) Specifying special characters that cannot be used directly in an XML document
D) HTTP request

14.

Which of the following is not required for an XML document to be well-formed?

A) There can only be one root element
B) There is no partial element overlapping
C) Attribute values are delimited by single or double quotes
D) The document only uses a pre-defined set of tag names

15.

If a program uses XML to specify its configuration parameters, which of the following technologies should be used to read its XML configuration file?

A) SAX
B) DOM
C) XSLT
D) XPath

16.

Which of the following technologies should be used to define entity names?

A) DTD
B) XML Schema
C) XSLT
D) XSLT

17.

A DTD document declares that an element has type PCDATA

A) This type elements can only contain plain text
B) This type elements can contain nested elements
C) This type elements can contain text and entity references
D) This type elements cannot have contents

18.

XML namespaces are normally in form of a URL

A) There must be a web page as the destination of a namespace URL
B) There must be a web site as the destination of a namespace URL
C) There must be a web service as the destination of a namespace URL
D) It is not necessary to have a web page or web site as the destination of a namespace URL

19.

An XML Schema document does not specify the minOccurs value of a declared element. Its instance documents should have at least how many occurrences of this element corresponding to this element declaration?

A) 0
B) 1
C) 2
D) 3

20.

Which node set is denoted by XPath expression “//@id”?

A) All “id” elements at the current level
B) All “id” attributes at the current level
C) All “id” elements at the current level as well as its nested lower levels
D) All “id” attributes at the current level as well as its nested lower levels

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Related Tags