MC When compared against XML, both JSON and YAML are... much more verbose. incorrect less technically mature. correct not providing support for ordered elements such as arrays. incorrect not human readable. incorrect
MC XML focusses on the... representation of documents. incorrect content of documents. correct
MC When compared against XML, both JSON and YAML are... less technically mature. correct not providing support for ordered elements such as arrays. incorrect much more verbose. incorrect not human readable. incorrect
MC A key difference between XML data and relational data is that... relational data is ordered whereas XML data is not ordered. incorrect relational data can be nested whereas XML data cannot be nested. incorrect relational data assumes atomic data types whereas XML data can consist of aggregated types. correct relational data can be multivalued whereas XML data cannot be multivalued. incorrect
MC A key difference between XML data and relational data is that... relational data can be multivalued whereas XML data cannot be multivalued. incorrect relational data can be nested whereas XML data cannot be nested. incorrect relational data assumes atomic data types whereas XML data can consist of aggregated types. correct relational data is ordered whereas XML data is not ordered. incorrect
MC When compared against XML, both JSON and YAML are... much more verbose. incorrect not providing support for ordered elements such as arrays. incorrect not human readable. incorrect less technically mature. correct
MC Which of the following are properties of SPARQL? Is is based upon matching graph patterns. incorrect It can query RDF graphs. incorrect It provides support for namespaces. incorrect All of these properties. correct
MC Which statement is CORRECT? The document-oriented approach to storing XML documents stores them as a BLOB or CLOB without the use of a DTD or XSD. correct The SAX API is the updated version of StAX. incorrect Both DTD and XSD support various data types such as character, integer and date. incorrect When shredding XML documents, a DTD or XSD schema is always used. incorrect
MC A key difference between XML data and relational data is that... relational data is ordered whereas XML data is not ordered. incorrect relational data can be multivalued whereas XML data cannot be multivalued. incorrect relational data can be nested whereas XML data cannot be nested. incorrect relational data assumes atomic data types whereas XML data can consist of aggregated types. correct
MC Consider the following table which maps an XML document to a relational database:
CREATE TABLE NODE(
ID CHAR(6) NOT NULL PRIMARY KEY,
PARENT_ID CHAR(6),
TYPE VARCHAR(9),
LABEL VARCHAR(20),
VALUE CLOB,
FOREIGN KEY (PARENT_ID) REFERENCES NODE (ID)
CONSTRAINT CC1 CHECK(TYPE IN ("element", "attribute"))
);
Which statement is CORRECT? Using the above table, every XPath expression can be translated to a corresponding SQL query. incorrect The table will require extensive querying resources since every single (e.g. XPath) navigation step requires a self-join on this table. correct The above table assumes the presence of a DTD or XSD before the mapping can take place. incorrect The table is not entirely normalized and still contains redundant information. incorrect