Deck 12: Creating and Using XML Documents
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/111
العب
ملء الشاشة (f)
Deck 12: Creating and Using XML Documents
1
XML inherits from ____ its ability to allow developers to create their own elements.
A)SGML
B)XHTML
C)HTML
D)DHTML
A)SGML
B)XHTML
C)HTML
D)DHTML
A
2
According to XML syntax rules,attribute values must be enclosed in ____.
A)parentheses
B)quotation marks
C)brackets
D)braces
A)parentheses
B)quotation marks
C)brackets
D)braces
B
3
The name of a document element must begin with a(n)____ or underscore.
A)number
B)ampersand
C)letter
D)period
A)number
B)ampersand
C)letter
D)period
C
4
Which of the following can be used to format an XML document?
A)CSS
B)Cascading Style Sheet
C)XSL style sheet
D)all of the above
A)CSS
B)Cascading Style Sheet
C)XSL style sheet
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
5
Before an XML document is displayed in an application,the document must be ____.
A)updated
B)indexed
C)parsed
D)arranged
A)updated
B)indexed
C)parsed
D)arranged
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which of the following is a valid element tag?
A)< Name >Johnson< /Name >
B)< PartNumber >HD40G< /PartNumber >
C)< Description >40 GB Hard Drive< /Description >
D)all of the above
A)< Name >Johnson< /Name >
B)< PartNumber >HD40G< /PartNumber >
C)< Description >40 GB Hard Drive< /Description >
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
7
To represent the attributes or fields in a relation,database analysts use a simple notation,called a(n)____.
A)schema
B)catalog
C)tuple
D)index
A)schema
B)catalog
C)tuple
D)index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following is NOT a design goal for XML,as determined by the W3C?
A)XML shall support a wide variety of applications.
B)XML should contain as many optional features as possible.
C)XML design should be formal and concise.
D)XML documents should be human-legible and reasonably clear.
A)XML shall support a wide variety of applications.
B)XML should contain as many optional features as possible.
C)XML design should be formal and concise.
D)XML documents should be human-legible and reasonably clear.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of the following contains the main content or elements of the XML document?
A)XML declaration
B)prolog
C)processor
D)document instance
A)XML declaration
B)prolog
C)processor
D)document instance
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ____ portion of an XML document contains processing instruction statements and any additional comments necessary to provide information about the document's content and structure.
A)schema
B)relation
C)prolog
D)declaration
A)schema
B)relation
C)prolog
D)declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
11
In the statement,relation (attribute1,attribute2…,attributen),n represents ____.
A)an unknown attribute
B)the attribute with the highest precedence
C)the name of the collection of data
D)the total number of attributes
A)an unknown attribute
B)the attribute with the highest precedence
C)the name of the collection of data
D)the total number of attributes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
12
XML is a subset of ____.
A)HTML
B)DHTML
C)XHTML
D)SGML
A)HTML
B)DHTML
C)XHTML
D)SGML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
13
Most modern Web browsers contain XML ____.
A)parsers
B)concatenators
C)formatters
D)indexers
A)parsers
B)concatenators
C)formatters
D)indexers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following may NOT be included in generic identifiers (GIs)?
A)letters
B)periods
C)spaces
D)hyphens
A)letters
B)periods
C)spaces
D)hyphens
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following is the preferred method for forming an XML document?
A)processing instruction
B)XML declaration
C)XML Schema Definition
D)document type declaration
A)processing instruction
B)XML declaration
C)XML Schema Definition
D)document type declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
16
XML can be used for which of the following?
A)store voice scripts
B)annotate maps
C)format mathematical formulas
D)all of the above
A)store voice scripts
B)annotate maps
C)format mathematical formulas
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
17
The prolog may contain which of the following?
A)a link to a DTD
B)comments
C)processing instruction statements
D)all of the above
A)a link to a DTD
B)comments
C)processing instruction statements
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
18
For an XML document to be ____,it must adhere to the basic syntax rules for XML and contain at least one root element.
A)parsed
B)indexed
C)rooted
D)well-formed
A)parsed
B)indexed
C)rooted
D)well-formed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
19
Formatting of XML documents requires ____,or binding,a style sheet to the XML document.
A)carding
B)defining
C)linking
D)directing
A)carding
B)defining
C)linking
D)directing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
20
A(n)____ is an XML processor that verifies a document follows the syntax rules for XML and converts the document into a tree of elements.
A)parser
B)indexer
C)formatter
D)concatenator
A)parser
B)indexer
C)formatter
D)concatenator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
21
When a user clicks a button,which of the following calls the associated built-in method?
A)the onLoad event handler
B)the unLoad event handler
C)the onClick event handler
D)the dso
A)the onLoad event handler
B)the unLoad event handler
C)the onClick event handler
D)the dso
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
22
When creating an HTML document to search an XML document and display results,use the ____ tag container with an id attribute to identify an output area of the Web page where search results will display.
A)< screen >
B)< div >
C)< output >
D)< this >
A)< screen >
B)< div >
C)< output >
D)< this >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following is the general form of an XML comment?
A)< !-- comment statements -- >
B)! -- comment statement ! -
C)< comment statements >
D)< C > "comment statements"
A)< !-- comment statements -- >
B)! -- comment statement ! -
C)< comment statements >
D)< C > "comment statements"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
24
The XML ____ is a processing instruction statement identifying the version of XML used in the document.
A)DTD
B)inference
C)prolog
D)declaration
A)DTD
B)inference
C)prolog
D)declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which of the following is the general form of an XML processing instruction to link an XSL style sheet to an XML document?
A)< xml-stylesheet type="text/css" >
B)"text/xsl" href-"file path" >
C)< xml-stylesheet type=href-"file path" >
D)none of the above
A)< xml-stylesheet type="text/css" >
B)"text/xsl" href-"file path" >
C)< xml-stylesheet type=href-"file path" >
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
26
Which of the following can an XSL style sheet transform?
A)Word document
B)PDF document
C)PostScript file
D)none of the above
A)Word document
B)PDF document
C)PostScript file
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
27
A ____ type element in an XML Schema Definition file is one that contains only text.
A)simple
B)textual
C)root
D)character
A)simple
B)textual
C)root
D)character
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which of the following tags centers content on the Web page?
A)< XML=CENTER >
B)< CNTR >
C)< HEAD="center" >
D)none of the above
A)< XML=CENTER >
B)< CNTR >
C)< HEAD="center" >
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following transfers the value of the designated XML tag to the output document?
A)for-each element
B)value-of element
C)order-bye element
D)general element
A)for-each element
B)value-of element
C)order-bye element
D)general element
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
30
EOF signals that all XML document ____ have been read.
A)records
B)indices
C)attributes
D)pages
A)records
B)indices
C)attributes
D)pages
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
31
The main element in an XML document is the ____ element and may contain one or more subelements or child elements.
A)foundation
B)baseline
C)root
D)index
A)foundation
B)baseline
C)root
D)index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which of the following is NOT one of the built-in data types of XML Schema Definition?
A)Currency
B)Integer
C)String
D)Binary
A)Currency
B)Integer
C)String
D)Binary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
33
A ____ type element in an XML Schema Definition file is one that contains sub or child elements and/or attributes,which themselves contain data.
A)parent
B)complex
C)high-level
D)master
A)parent
B)complex
C)high-level
D)master
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
34
A unique name represents the data island in the XML element,called a(n)____
A)onload
B)binding
C)dso
D)eof
A)onload
B)binding
C)dso
D)eof
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
35
The ____ is the most important part of the XSL style sheet.
A)result
B)origin
C)template
D)child element
A)result
B)origin
C)template
D)child element
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
36
The EOF property is true if ____.
A)all XML documents have been read
B)a particular value has been located in a string
C)both a and b
D)neither a nor b
A)all XML documents have been read
B)a particular value has been located in a string
C)both a and b
D)neither a nor b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
37
A template pattern is written with a ____ to indicate that the template applies to the external XML document.
A)colon (:)
B)forward slash (/)
C)semi-colon (;)
D)period (. )
A)colon (:)
B)forward slash (/)
C)semi-colon (;)
D)period (. )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following tags will ensure that each string resulting from a search will display on a separate line in the output area of the Web page?
A)< div >< /div >
B)< b >< /b >
C)< xml >< /xml >
D)< p >< /p >
A)< div >< /div >
B)< b >< /b >
C)< xml >< /xml >
D)< p >< /p >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following is a major piece of data binding?
A)data consumers
B)the data source object
C)the binding agent
D)all of the above
A)data consumers
B)the data source object
C)the binding agent
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which of the following is a function of a template?
A)to specify how an element should be transformed
B)to establish a namespace
C)to embed a DTD within a document type declaration
D)to verify that a document follows basic syntax rules
A)to specify how an element should be transformed
B)to establish a namespace
C)to embed a DTD within a document type declaration
D)to verify that a document follows basic syntax rules
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
41
Developers add documentation to their XML Schema Definition files using the ____ tag.
A)< notation >
B)< annotation >
C)< entity >
D)< documentation >
A)< notation >
B)< annotation >
C)< entity >
D)< documentation >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
42
XSL is made up of four languages._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
43
CSS can control the order of elements or add other information._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
44
According to XML syntax rules,all tags except empty tags must have a closing tag.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
45
When choosing generic identifiers to name document elements,the use of hyphens are reserved for future,anticipated standardization.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
46
Most developers prefer XSL style sheets over CSS for formatting XML documents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
47
Developers can generate an XML document using existing tables in a Microsoft SQL Server or Microsoft Access database,and then bind them to their Web pages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which of the following is true of generic identifiers?
A)The name must begin with a number,letter,or underscore.
B)The name may contain letters and numbers.
C)The name may contain periods,hyphens,or underscores.
D)A prefix of XML or the use of colons is reserved for future anticipated standardization.
A)The name must begin with a number,letter,or underscore.
B)The name may contain letters and numbers.
C)The name may contain periods,hyphens,or underscores.
D)A prefix of XML or the use of colons is reserved for future anticipated standardization.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
49
Prologs are optional in XML documents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
50
With XML,white space is not preserved.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
51
The W3C oversees and develops standards for Web development.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
52
Which of the following is a criterion that a well-formed document must meet?
A)The document must have at least two root elements.
B)The document must nest child elements in the root.
C)Every tag must have a closing tag.
D)All attribute values must be enclosed in quotation marks.
A)The document must have at least two root elements.
B)The document must nest child elements in the root.
C)Every tag must have a closing tag.
D)All attribute values must be enclosed in quotation marks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
53
A range is a set of valid values for a database field._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
54
XML tags do not format the display of text as with an HTML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
55
An element consists of tags that are pre-defined according to XML standards.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
56
Like HTML,XML is not case sensitive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
57
In XML,attribute values must be enclosed in brackets._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
58
The prolog must contain at least one line-a declaration statement-identifying the document as an XML document._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
59
Which of the following is a built-in data type of XML Schema Definition?
A)Date
B)AnyURI
C)Decimal
D)Double
A)Date
B)AnyURI
C)Decimal
D)Double
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
60
The XML parser is necessary to ____ an XML document.
A)create
B)update
C)read
D)manipulate
A)create
B)update
C)read
D)manipulate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
61
_________________________ style sheets provide more flexibility and control over XML documents than CSS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
62
If more than one XSL style sheet is linked to an XML document,the first XSL style sheets are ignored and the last one is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
63
The prolog can contain comments that provide a user or developer with information about the document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
64
A processing instruction is one or more instructions passed to the application using an XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
65
GI is an acronym for _________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
66
The datapagesize attribute of the < table > tag works only in Firefox.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
67
The statement,< input type="text" id="searchText" size="20" >,defines a text box with a width of 20 pixels.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
68
_________________________ was developed to provide a way to share all various types of data in one clear and efficient method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
69
A document instance contains a declaration statement and any additional comments necessary to provide information about a document's content and structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
70
The parent-child relationship between elements gives XML its hierarchical,treelike structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
71
The XML Schema Definition is the preferred method for forming an XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
72
The first required processing instruction in XML document prologs is the XML declaration.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
73
When a user-defined function searches an XML document for a specific value,the first activity of the function is to compare each element in the XML document with the text box value until a match is found.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
74
A data _________________________ is a set of data elements separate from the main HTML Web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
75
An XSL style sheet must include at least one template element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
76
An XML document must include at least two occurrences of an element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
77
Dividing a list into manageable pages using a table can make the data easier to read.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
78
The disadvantage to using an XML _________________________ is that the XML documents are static.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
79
With the sort element,regardless of the attribute value used,99 always comes before 100.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck
80
Unlike in HTML,the browser or parser does not ignore comments in XML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 111 في هذه المجموعة.
فتح الحزمة
k this deck