Deck 24: XML
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/72
العب
ملء الشاشة (f)
Deck 24: XML
1
An XML document can optionally reference a DTD or schema that defines the proper structure of the document.
True
2
Every XML document must contain exactly one root element.
True
3
XML is case sensitive.
True
4
The XML declaration is mandatory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
5
Who developed the Extensible Markup Language (XML)
A) Microsoft
B) Sun MicroSystems
C) World Wide Web Consortium
D) Oracle
A) Microsoft
B) Sun MicroSystems
C) World Wide Web Consortium
D) Oracle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
6
Using XML,authors can describe any type of data,including
A) music
B) mathematical formulas
C) software-configuration instructions
D) All of the above
A) music
B) mathematical formulas
C) software-configuration instructions
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
7
A validating parser determines only if the document is well formed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
8
XML documents __________.
A)are highly portable
B) are not portable
C) are portable depending on how the document is written
D) are a burden to use
A)are highly portable
B) are not portable
C) are portable depending on how the document is written
D) are a burden to use
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
9
XML elements _________________.
A)cannot begin with "xml"
B) cannot begin with any combination of uppercase and lowercase of "xml"
C) can begin with "xml"
D) a and b
A)cannot begin with "xml"
B) cannot begin with any combination of uppercase and lowercase of "xml"
C) can begin with "xml"
D) a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which of the following cannot be part of an element's name
A)quotation marks
B) hyphens
C) underscores
D) periods
A)quotation marks
B) hyphens
C) underscores
D) periods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
11
All XML files must end in thexml extension
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
12
Choose the correct XML syntax:
A) < x >< y >hello< y/ >< x/ >
B) < x >< y >hello< /x >< /y >
C) < x >< y >hello< /y >< /x >
D) < x >< y >hello< x/ >< y/ >
A) < x >< y >hello< y/ >< x/ >
B) < x >< y >hello< /x >< /y >
C) < x >< y >hello< /y >< /x >
D) < x >< y >hello< x/ >< y/ >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
13
XML is a proprietary technology.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
14
XML allows the description of virtually any type of data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
15
XML stands for Extensible Markup Language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
16
The proper way to make start and end tags is:
A) < name > < /name >
B) < name > < \name >
C) < \name > < name >
D) < /name > < name >
A) < name > < /name >
B) < name > < \name >
C) < \name > < name >
D) < /name > < name >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
17
XML documents are readable by humans but not computers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following about the XML prolog is true
A)The XML prolog is the lines that precede the root element.
B) The XML declaration must appear before comments and any other markup.
C) The XML prolog is limited to a certain number of lines.
D) a and b.
A)The XML prolog is the lines that precede the root element.
B) The XML declaration must appear before comments and any other markup.
C) The XML prolog is limited to a certain number of lines.
D) a and b.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
19
XML is most commonly used to:
A) communicate with wireless devices
B) store and format data for exchange between apps
C) display information on the Internet
D) validate HTML files.
A) communicate with wireless devices
B) store and format data for exchange between apps
C) display information on the Internet
D) validate HTML files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
20
An important characteristic of XML is that it can be ________.
A) read by both humans and computers
B) used to describe a WPF GUI
C) created using special XML editing software
D) None of the above.
A) read by both humans and computers
B) used to describe a WPF GUI
C) created using special XML editing software
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
21
XML does not allow for empty elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
22
DTDs and schemas are used to define structure for XML documents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
23
In the code: < deitel:name >,name is the namespace and deitel is the element name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
24
The XML declaration identifies the document as an XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
25
Individual units of markup are called tags.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
26
DTD is an acronym for ________.
A) Document Type Dictionary
B) Data Translator Definition
C) Document Type Definition
D) Document Translator Definition
A) Document Type Dictionary
B) Data Translator Definition
C) Document Type Definition
D) Document Translator Definition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
27
To ensure a unique XML namespace you should use:
A) their Social Security Number
B) their address
C) an appropriate Web URL
D) their last name
A) their Social Security Number
B) their address
C) an appropriate Web URL
D) their last name
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
28
Unlike C# programs,blank lines and indentations cannot be used to improve readability in XML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
29
Document authors can create a namespace prefix named xml.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
30
To eliminate the need to precede each element with a namespace prefix,document authors can specify a xe "default namespace"default namespace.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
31
The asterisk (*)after an element means that:
A) there are many occurrences of that item.
B) there could be any number of occurrences of that item.
C) that item could appear but at most once.
D) All of the above
A) there are many occurrences of that item.
B) there could be any number of occurrences of that item.
C) that item could appear but at most once.
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
32
Elements can have any number of attributes in their start tags.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
33
XML elements are nested to form hierarchies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
34
XML-based languages are called vocabularies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
35
The question mark (
)after an element in a DTD means that:
A) there are many occurrences of that item.
B) there could be any number of occurrences of that item.
C) the item can appear at most once.
D) All of the above
)after an element in a DTD means that:
A) there are many occurrences of that item.
B) there could be any number of occurrences of that item.
C) the item can appear at most once.
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
36
If the URI given to a namespace is a URL,the URL needs to refer to an actual web page and must conform to proper URL syntax.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
37
Keyword ________ indicates that an element contains parseable character data.
A) PARSEDATA
B) NDATA
C) CDATA
D) PCDATA
A) PARSEDATA
B) NDATA
C) CDATA
D) PCDATA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
38
DTDs are used to ________.
A) describe the structure of an XML document
B) enable an XML parser to verify whether an XML document is valid
C) verify whether an XML document's elements contain the proper attributes and appear in the proper sequence
D) All of the above.
A) describe the structure of an XML document
B) enable an XML parser to verify whether an XML document is valid
C) verify whether an XML document's elements contain the proper attributes and appear in the proper sequence
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
39
When using a namespace,the prefix must always be included.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
40
XML _____________ provide a means of uniquely identifying XML elements.
A) attributes
B) tags
C) namespaces
D) None of the above
A) attributes
B) tags
C) namespaces
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
41
To define attributes in a DTD,the ATTRIBUTE keyword is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
42
The hierarchical tree structure stored in memory by the XML parser is called the ________.
A) Document Type Definition (DTD)
B) Simple Object Access Protocol (SOAP)
C) Active Server Page (ASP)
D) Document Object Model (DOM)
A) Document Type Definition (DTD)
B) Simple Object Access Protocol (SOAP)
C) Active Server Page (ASP)
D) Document Object Model (DOM)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
43
A DTD describes the contents of an XML document's elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
44
Flag xe "#PCDATA flag"#PCDATA specifies that an element can store xe "parsed character data"parsed character data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
45
A DOM tree is a data structure that ________.
A) Does Operations Manually.
B) holds 1 XML document per node, creating a multi-page site.
C) breaks XML documents down into chunks.
D) holds all the elements of an XML document within its nodes.
A) Does Operations Manually.
B) holds 1 XML document per node, creating a multi-page site.
C) breaks XML documents down into chunks.
D) holds all the elements of an XML document within its nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
46
The schema specifies the type of data that elements and attributes may contain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
47
Schemas normally use the ______ extension.
A)shm
B) )sch
C) )xsd
D) )schema
A)shm
B) )sch
C) )xsd
D) )schema
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
48
XSL style sheets cannot be connected directly to an XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
49
The transformation process,where formatted text-based documents are cre
Ated from XML documents,involves:
A) 0 trees
B) 1 tree; the source.
C) 2 trees; the source and the result tree.
D) 3 trees; the source, the result, and the temp tree.
Ated from XML documents,involves:
A) 0 trees
B) 1 tree; the source.
C) 2 trees; the source and the result tree.
D) 3 trees; the source, the result, and the temp tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
50
Limitations of schemas have led to the development of DTD's.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
51
Classes for creating,reading and manipulating XML documents are located in namespace ________.
A) System.Xml
B) System.Xml.Linq
C) Microsoft.Xml
D) a and b
A) System.Xml
B) System.Xml.Linq
C) Microsoft.Xml
D) a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
52
XSL documents specify how programs are to render XML document data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
53
Extensible Stylesheet Language (XSL)is an XML vocabulary for format
ting XHTML data
ting XHTML data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
54
The EMPTY keyword specifies that the element does not contain any data between its start and end tag.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
55
XML documents can reference optional documents that define how the XML documents should be structured.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
56
Which of the following is not a technology of XSL
A) XSL-FO: vocabulary for specifying formatting
B) XPath: string-based language of expressions used by XML
C) XSLT: transforms XML documents into other documents
A) XSL-FO: vocabulary for specifying formatting
B) XPath: string-based language of expressions used by XML
C) XSLT: transforms XML documents into other documents
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
57
An XElement's contained text is retrieved with the Value property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
58
XDocument objects contain other nested XDocuments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
59
Parsed character data can contain markup.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
60
Schemas are XML documents that conform to a DTD.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
61
All node types in an XML document inherit from base class ________.
A) XElement
B) XContainer
C) XParent
D) XNode
A) XElement
B) XContainer
C) XParent
D) XNode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
62
XslCompiledTransform's ____________ method applies the compiled style sheet to a specified XML document.
A) Compile
B) Load
C) Transform
D) None of the above
A) Compile
B) Load
C) Transform
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
63
XDocument and XElement inherit from XContainer,a class that represents nodes in the DOM that can contain other nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
64
Method ________ returns an IEnumerable< XNode > containing all children of the given XContainer.
A) Children
B) Nodes
C) Elements
D) Descendants
A) Children
B) Nodes
C) Elements
D) Descendants
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
65
The Descendants method of class XContainer returns the same results as the Nodes method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
66
Method ________ adds a node,or collection of nodes,as children of the given node.
A) Add
B) XAdd
C) AddChildren
D) XAddChildren
A) Add
B) XAdd
C) AddChildren
D) XAddChildren
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
67
Class ________ allows you to represent an XML namespace.
A) XName
B) XMLNamespace
C) XNamespace
D) XMLNS
A) XName
B) XMLNamespace
C) XNamespace
D) XMLNS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
68
There is an XSLT processor included in Internet Explorer to help perform transformations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
69
XslCompiledTransform's Load method parses and loads a style sheet.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
70
XML namespaces help avoid naming collisions between XML documents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
71
The XDocument contstructor sets the given XElement as the root element in the new XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck
72
Which namespace contains the XslCompiledTransform
A)System.Xml.Xsl
B) System.Xsl
C) System.Xml.Transform
D) System.XmlTransform
A)System.Xml.Xsl
B) System.Xsl
C) System.Xml.Transform
D) System.XmlTransform
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 72 في هذه المجموعة.
فتح الحزمة
k this deck