Deck 16: A Case Study in Database Organization

ملء الشاشة (f)
exit full mode
سؤال
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 .
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The root element in an XML file is the Collective tag that encloses all items in that file .
سؤال
When writing XML, a word processor should be used so the color coding will be added automatically to verify the structure .
سؤال
An XML file uses XHTML to describe how information in the XSL file is to be displayed .
سؤال
The XSL file includes at least two templates for each tag in the XML tree .
سؤال
An <html> tag with no attributes is correct when used in XSL templates .
سؤال
As the transformer is processing an XML file, anything it finds that is not a tag (that is, the actual data), it puts directly into the HTML definition .
سؤال
When creating an XML database using an incremental approach, the first step would be to develop tags and templates .
سؤال
When considering the design of the XML, different data must be specified for each type of content .
سؤال
In the XSL file, the @ symbol is the XSL reference to the tag attribute of the XML tag .
سؤال
In the XSL file, the <pic> tag is a stand-alone tag that requires the <xsl:apply-templates/> tag .
سؤال
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 .
سؤال
XML databases can record irregular data that relational databases cannot .
سؤال
In order to display an XML database, you first need to install a database management program, like Microsoft Access .
سؤال
An XML database can optionally hide some of its information so it allows for the selective display of its contents .
سؤال
What type of tag is <xsl:apply . . . >?

A) a singleton
B) a paired tag
C) a closed tag
D) a special tag
سؤال
Which tag is used to specify an XML stylesheet for an XML file?

A) <href = "styles . xml">
B) <$stylesheet . . . >
C) <xml-stylesheet . . . >
D) <?xml-stylesheet . . . >
سؤال
An XSL file includes

A) XHTML tags
B) XML tags throughout the file
C) the standard XML tag at the end of the file
D) All of these
سؤال
Templates

A) are part of the XML database file
B) use JavaScript to describe how the information will be displayed
C) must be included for every tag used in the XML database file
D) describe how the information is to look without actually having the information
سؤال
In the XSL specification, the <xsl:apply-templates/> tag

A) requests processing of the items within the template tags
B) requires a closing tag
C) is required in all templates
D) All of these
سؤال
A template for a video source

A) replaces the URL copied from the iframe text with the "{@url}" reference
B) can be used for any video source so long as it works for one video
C) only works when the embedded video is from YouTube
D) is only used for iPhone videos
سؤال
The incremental design process

A) is especially useful when creating simple databases
B) begins with creating an initial entry in the database
C) uses a strategy of adding tags and templates, one at a time
D) All of these
سؤال
In the following XSL tag, which XML tag is the template for?
<xsl:template match = "address">

</xsl:template>

A) address
B) This tag refers to an XSL tag, not an XML tag .
C) match
D) There is no way to tell .
سؤال
Refer to the following code to answer the question: What does this code do?
<xsl:template match = "author">
<td>
<xsl:apply-template/>
</td>
</xsl:template>

A) Every time it encounters an <author> tag it will place a <td> tag in the HTML, then process the items found in the <author> tag, and then add a </td> tag .
B) It will do nothing since the apply-template tag is in the wrong place .
C) Every time it encounters a <td> tag it will process the information before the </td> with the <author> style .
D) It will do nothing since the apply-template tag does not refer to anything .
سؤال
You can create tags for all of these in an XML database EXCEPT

A) the title
B) the date
C) a picture
D) All of these are possible tags .
سؤال
In an XML database

A) not everything must be displayed
B) everything must be tagged
C) every tag must have a template to process it
D) All of these are true .
سؤال
Which of the following statements is incorrect?

A) Relational databases can record irregular data that XML databases cannot .
B) Relational databases are much more structured than XML databases .
C) Relational databases use queries to display information to the user .
D) An XML database can be directly displayed by opening it in a browser
سؤال
Select all that apply . Style information

A) can be included in an external XSL file when using XML
B) can be included in an external XSL file when using HTML
C) is irrelevant when creating a database with XML
D) tells the browser how to display a markup language like XML
سؤال
Select all that apply . A transformer

A) converts all tags in the XML file to HTML
B) converts all XSL styles to CSS
C) is part of the browser software
D) matches the XML tag to its template in the XSL file
سؤال
A(n) ________ description converts XML data into HTML so that it can be displayed on the screen using a browser .
سؤال
An . xsl file contains a series of rules called ________ that are used to format the information enclosed in XML tags .
سؤال
The <xsl:apply-templates/> tag in the XSL specification file is a stand-alone tag that means, "now ________ whatever is inside this tag . "
سؤال
By placing a tag attribute reference in ________ in the XSL code, the tag attribute's value from the XML is placed inside the quotes specifying the file source name .
سؤال
________ databases can record irregular data that relational databases cannot .
سؤال
XSL files must be written in a(n) ________ editor .
سؤال
The ________ element of an XML file is the collection tag which encloses all items in the XML file .
سؤال
A(n) ________ file is to an HTML file as an XSL file is to an XML file .
سؤال
Each different tag used in an XML tree has a matching ________ in the XSL file .
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/38
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 16: A Case Study in Database Organization
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 .
True
2
The root element in an XML file is the Collective tag that encloses all items in that file .
True
3
When writing XML, a word processor should be used so the color coding will be added automatically to verify the structure .
False
4
An XML file uses XHTML to describe how information in the XSL file is to be displayed .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
5
The XSL file includes at least two templates for each tag in the XML tree .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
6
An <html> tag with no attributes is correct when used in XSL templates .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
7
As the transformer is processing an XML file, anything it finds that is not a tag (that is, the actual data), it puts directly into the HTML definition .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
8
When creating an XML database using an incremental approach, the first step would be to develop tags and templates .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
9
When considering the design of the XML, different data must be specified for each type of content .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
10
In the XSL file, the @ symbol is the XSL reference to the tag attribute of the XML tag .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
11
In the XSL file, the <pic> tag is a stand-alone tag that requires the <xsl:apply-templates/> tag .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
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 .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
13
XML databases can record irregular data that relational databases cannot .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
14
In order to display an XML database, you first need to install a database management program, like Microsoft Access .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
15
An XML database can optionally hide some of its information so it allows for the selective display of its contents .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
16
What type of tag is <xsl:apply . . . >?

A) a singleton
B) a paired tag
C) a closed tag
D) a special tag
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which tag is used to specify an XML stylesheet for an XML file?

A) <href = "styles . xml">
B) <$stylesheet . . . >
C) <xml-stylesheet . . . >
D) <?xml-stylesheet . . . >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
18
An XSL file includes

A) XHTML tags
B) XML tags throughout the file
C) the standard XML tag at the end of the file
D) All of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
19
Templates

A) are part of the XML database file
B) use JavaScript to describe how the information will be displayed
C) must be included for every tag used in the XML database file
D) describe how the information is to look without actually having the information
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
20
In the XSL specification, the <xsl:apply-templates/> tag

A) requests processing of the items within the template tags
B) requires a closing tag
C) is required in all templates
D) All of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
21
A template for a video source

A) replaces the URL copied from the iframe text with the "{@url}" reference
B) can be used for any video source so long as it works for one video
C) only works when the embedded video is from YouTube
D) is only used for iPhone videos
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
22
The incremental design process

A) is especially useful when creating simple databases
B) begins with creating an initial entry in the database
C) uses a strategy of adding tags and templates, one at a time
D) All of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
23
In the following XSL tag, which XML tag is the template for?
<xsl:template match = "address">

</xsl:template>

A) address
B) This tag refers to an XSL tag, not an XML tag .
C) match
D) There is no way to tell .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
24
Refer to the following code to answer the question: What does this code do?
<xsl:template match = "author">
<td>
<xsl:apply-template/>
</td>
</xsl:template>

A) Every time it encounters an <author> tag it will place a <td> tag in the HTML, then process the items found in the <author> tag, and then add a </td> tag .
B) It will do nothing since the apply-template tag is in the wrong place .
C) Every time it encounters a <td> tag it will process the information before the </td> with the <author> style .
D) It will do nothing since the apply-template tag does not refer to anything .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
25
You can create tags for all of these in an XML database EXCEPT

A) the title
B) the date
C) a picture
D) All of these are possible tags .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
26
In an XML database

A) not everything must be displayed
B) everything must be tagged
C) every tag must have a template to process it
D) All of these are true .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following statements is incorrect?

A) Relational databases can record irregular data that XML databases cannot .
B) Relational databases are much more structured than XML databases .
C) Relational databases use queries to display information to the user .
D) An XML database can be directly displayed by opening it in a browser
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
28
Select all that apply . Style information

A) can be included in an external XSL file when using XML
B) can be included in an external XSL file when using HTML
C) is irrelevant when creating a database with XML
D) tells the browser how to display a markup language like XML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
29
Select all that apply . A transformer

A) converts all tags in the XML file to HTML
B) converts all XSL styles to CSS
C) is part of the browser software
D) matches the XML tag to its template in the XSL file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n) ________ description converts XML data into HTML so that it can be displayed on the screen using a browser .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
31
An . xsl file contains a series of rules called ________ that are used to format the information enclosed in XML tags .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
32
The <xsl:apply-templates/> tag in the XSL specification file is a stand-alone tag that means, "now ________ whatever is inside this tag . "
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
33
By placing a tag attribute reference in ________ in the XSL code, the tag attribute's value from the XML is placed inside the quotes specifying the file source name .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
34
________ databases can record irregular data that relational databases cannot .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
35
XSL files must be written in a(n) ________ editor .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ________ element of an XML file is the collection tag which encloses all items in the XML file .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
37
A(n) ________ file is to an HTML file as an XSL file is to an XML file .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
38
Each different tag used in an XML tree has a matching ________ in the XSL file .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.