WorksheetseXtensible Markup Language
Total questions: 12
Worksheet time: 2mins
Name
Class
Date
1.
Last name, First name Middle Initial
4 lines
2.
Gender
a)
Male
b)
Female
3.
What is "serialization" when we are talking about web services?
a)
Sorting all the data stored in a tuple
b)
Marking each network packet so it can be put back into order on the receiving system
c)
Making it so that dictionaries can maintain their keys in sorted order
d)
The act of taking data stored in a program and formatting it so it can be sent across the network
4.
What is the method to cause Python to parse XML that is stored in a string?
a)
fromstring()
b)
parse()
c)
readall()
d)
extract()
e)
xpath()
5.
In this XML, which are the "complex elements"?
a)
person
b)
name
c)
phone
d)
Noah
e)
people
6.
In the following XML, which are attributes?
a)
hide
b)
email
c)
person
d)
type
e)
name
7.
In the following XML, which node is the parent node of node e
a)
c
b)
e
c)
b
d)
a
8.
Looking at the following XML, what text value would we find at path "/a/c/e"
a)
b
b)
a
c)
e
d)
Z
e)
Y
9.
What is the purpose of XML Schema?
a)
A Python program to tranform XML files
b)
To compute SHA1 checksums on data to make sure it is not modified in transit
c)
To transfer XML data reliably during network outages
d)
To establish a contract as to what is valid XML
10.
For XML Schema, which tag is incorrect?
a)
dateborn
b)
age
c)
Age
d)
person
e)
lastname
11.
What does the "Z" mean in this representation of a time:
2002-05-30T09:30:10Z
a)
This time is in the UTC timezone
b)
The hours value is in the range 0-12
c)
The local timezone for this time is New Zealand
d)
This time is Daylight Savings Time
12.
Which of the following dates is in ISO8601 format?
a)
05/30/2002
b)
May 30, 2002
c)
2002-05-30T09:30:10Z
d)
2002-May-30
100 %
