978-0133577396 Chapter 16

subject Type Homework Help
subject Pages 4
subject Words 808
subject Authors Lawrence Snyder

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Fluency with Information Technology, 6e (Snyder)
Chapter 16 A Case Study in Database Organization: The iDiary Database
16.1 True/False Questions
1) In an XSL file, the <xsl:stylesheet...> tag is the root element and must be closed with the
</xsl:stylesheet> tag at the end of the file.
2) The root element is the Collective tag enclosing all items in an XML file.
3) When writing XML, a word processing program, e.g., Microsoft Word, should be used so that
color coding will be added automatically to help verify the structure.
4) An XML file uses XHTML to describe how the information in the XSL file is to be displayed.
5) The XSL file includes at least two templates for each tag in the XML tree.
6) An <html> tag with no attributes is correct when used in XSL templates.
7) As the transformer is processing an XML file, anything that it finds that is not a tag–that is, the
actual data–it puts directly into the HTML definition.
8) In creating an XML database using an incremental approach, the first step would be
developing tags and templates.
9) When considering the design of the XML, we must specify different data for each type of
content.
10) In the XSL file, the @ symbol is the XSL reference to the tag attribute of the XML tag.
11) In the XSL file, the <pic> tag is a stand-alone tag that requires the <xsl:apply-templates/>
tag.
12) If the transformer encounters a tag in the XML file that does not have a matching template in
the XSL file, the information will not be displayed on the page.
page-pf2
1) The apply tag is what kind of tag?
A) paired
B) singleton
C) special
D) closed
2) An XML stylesheet is specified for an XML file using the tag:
A) <$stylesheet…>
B) <?xml-stylesheet…>
C) <##style…>
D) <xml-stylesheet…>
3) Style information:
A) tells the browser how to display a markup language like XML
B) in HTML can be included in an external file with a .css extension
C) in XML can be included in an external file with .xsl as the file extension
D) all of the above
4) An XSL file includes:
A) the standard XML tag at the end of the file
B) XML tags throughout the file
C) XHTML tags
D) all of the above
5) Which statement is incorrect?
A) Relational databases can record irregular data that XML databases cannot.
B) Relational databases use queries to display information we want to see.
C) Relational databases are much more structured than XML databases.
D) All statements are correct.
6) A transformer:
A) converts all tags in the XML file to HTML
B) is part of the browser software
C) matches the XML tag to its template in the XSL file
D) all of the above
page-pf3
7) Templates:
A) describe how the information is to look without actually having the information
B) are part of the XML database file
C) use JavaScript in describing how the information is to be displayed
D) must be included for every tag used in the XML database file
8) In the XSL specification, the <xsl:apply-templates/> tag:
A) is required in all templates
B) requests processing of the items within the template tags
C) requires a closing tag
D) all of the above
9) A template for a video source:
A) for one video will generally work for all other video sources
B) containing an attribute without an equal sign and some value in quotes does not require
modification
C) replaces the URL copied from the iframe text with the "{@url}" reference
D) all of the above
10) The incremental design process:
A) is very useful in creating simple databases
B) uses a strategy of adding tags and templates one at a time
C) begins with creating an initial entry in the database
D) all of the above
1) A(n) ________ description converts XML data into HTML so that it can be displayed on the
screen using a browser.
2) An .xsl file contains a series of rules called ________ that are used to format the information
enclosed in XML tags.
3) The <xsl:apply-templates/> tag in the XSL specification file is a stand-alone tag that means
"now ________ whatever is inside this tag."
4) By placing a tag attribute reference in ________ in the XSL code, we cause the tag attribute's
value from the XML to be placed inside the quotes specifying the file source name.
page-pf4
5) Data needs ________.
6) ________ databases can record irregular data that relational databases cannot.

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.