Coursera课程Python for everyone:Quiz: eXtensible Markup Language
eXtensible Markup Language
10?試題
1.?What is "serialization" when we are talking about web services?
Marking each network packet so it can be put back into order on the receiving system
Making it so that dictionaries can maintain their keys in sorted order
The act of taking data stored in a program and formatting it so it can be sent across the network
Sorting all the data stored in a tuple
2.?Which of the following are?not?commonly used serialization formats?
Dictionaries
JSON
HTTP
XML
TCP
3.?In this XML, which are the "simple elements"?
<people><person><name>Chuck</name><phone>303 4456</phone></person><person><name>Noah</name><phone>622 7421</phone></person> </people>name
person
phone
Noah
people
4.?In the following XML, which are attributes?
<person><name>Chuck</name><phone type="intl">+1 734 303 4456</phone><email hide="yes" /> </person>person
hide
name
type
5.?In the following XML, which node is the parent node of node e
<a><b>X</b><c><d>Y</d><e>Z</e></c> </a>e
a
c
b
6.?Looking at the following XML, what text value would we find at path "/a/c/e"
<a><b>X</b><c><d>Y</d><e>Z</e></c> </a>Z
b
a
e
Y
7.?What is the purpose of XML Schema?
A Python program to tranform XML files
To establish a contract as to what is valid XML
To compute SHA1 checksums on data to make sure it is not modified in transit
To transfer XML data reliably during network outages
8.?If you were building an XML Schema and wanted to limit the values allowed in an?xs:string?field to only those in a particular list, what XML tag would you use in your XML Schema definition?
maxOccurs
xs:sequence
xs:complexType
xs:element
xs:enumeration
9.?What is a good time zone to use when computers are exchanging data over APIs?
The local time zone of the sending computer without daylight savings time
The local time zone of the sending computer
The local time zone of the receiving computer
Universal Time / GMT
10.?Which of the following dates is in ISO8601 format?
2002-May-30
05/30/2002
2002-05-30T09:30:10Z
May 30, 2002
總結
以上是生活随笔為你收集整理的Coursera课程Python for everyone:Quiz: eXtensible Markup Language的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Coursera课程Python for
- 下一篇: Coursera课程Python for