Exam 9: Working With Xml and Databases
Exam 1: Creating an Xml Document91 Questions
Exam 2: Validating an Xml Document91 Questions
Exam 3: Working With Basic Schemas91 Questions
Exam 4: Working With Advanced Schemas91 Questions
Exam 5: Working With Xslt and Xpath91 Questions
Exam 6: Working With Xslt Functional Programming91 Questions
Exam 7: Creating Element Groups91 Questions
Exam 8: Combining Xml and Php91 Questions
Exam 9: Working With Xml and Databases91 Questions
Select questions type
A query can be written using a(n) _____, which is simply an XPath expression that retrieves element and attribute nodes from a source document based on specified criteria.
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
path expression
XQuery is written in text format as a collection of _____.
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
B
As with XSLT, many calculations and operations in XQuery can be performed using recursion, in which the XQuery function calls itself repeatedly until a stopping condition is met. Provide the general structure of a recursive function in XQuery, and explain the role of each part of the structure.
Free
(Essay)
4.9/5
(33)
Correct Answer:
The general structure of a recursive function in XQuery is:
declare function prefix:name ( params
{
query expression
return prefix : name ( param values
};
where prefix is the namespace prefix of the function, name is the function name, params are the function parameters, and query expression is the query that ends with a return statement that calls the recursive function.
-The last statement in the FLWOR structure is always the _____ clause.

(Multiple Choice)
4.8/5
(40)
For larger documents and more complicated search criteria, it is generally easier and more efficient to use _____ to transform a source document.
(Multiple Choice)
4.9/5
(36)
To calculate a summary statistic like a total, enclose the query expression within the _____ function.
(Short Answer)
4.8/5
(45)
Module library files are often saved with the file extension _____.
(Multiple Choice)
4.9/5
(38)
The path expression _____ uses a predicate to select only those store elements from the gjc_stores.xml file that operate in the state of Colorado.
(Multiple Choice)
4.8/5
(35)
When you import a library module, the module URI in the import statement must match the URI in the library module file.
(True/False)
4.7/5
(46)
Identify the letter of the choice that best matches the phrase or definition.
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(24)
In an XQuery document, all string values and file references need to be enclosed within matching curly braces.
(True/False)
4.9/5
(33)
-You can use multiple _____ clauses in a FLWOR query structure to create nested sequences.

(Multiple Choice)
4.8/5
(37)
A(n) _____ module is an external XQuery file that contains only the declarations for namespaces, variables, and user-defined functions.
(Multiple Choice)
4.7/5
(33)
The prolog of an XQuery document contains a series of declarations with each declaration terminated with a _____.
(Multiple Choice)
4.8/5
(33)
A well-designed query is efficient, runs quickly, and is less prone to error. You should design your queries to be clear and concise, easy to maintain, and easy for others to interpret and edit if necessary. Describe at least three of the main principles of effective query design outlined in the tutorial.
(Essay)
4.7/5
(33)
In a FLWOR query you can include the _____ keyword within the for clause to track the number of iterations.
(Multiple Choice)
4.9/5
(40)
You cannot sort the results of a query created using a path expression.
(True/False)
4.7/5
(37)
In April 2014, the W3C gave the _____ specifications Recommendation status, indicating that it was a mature and stable language ready to be deployed in working environments.
(Short Answer)
4.8/5
(33)
In a FLWOR query, variables defined in a for or let clause act as local variables.
(True/False)
4.9/5
(39)
Showing 1 - 20 of 91
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)