Exam 9: Working With Xml and Databases

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The _____ keyword allows the variable value to be set by the processor when the query is run.

(Short Answer)
4.8/5
(30)

A path expression is usually more compact and easier to apply for simple queries compared to a FLWOR structure.

(True/False)
4.9/5
(41)

The _____ clause was added to the FLWOR structure in XQuery 3.0 to provide a way of counting each iteration in the query result.

(Short Answer)
5.0/5
(33)

  -In a FLWOR query structure, the _____ clause sorts the items in the sequence based on a supplied expression. -In a FLWOR query structure, the _____ clause sorts the items in the sequence based on a supplied expression.

(Multiple Choice)
4.7/5
(39)

You cannot use XQuery in place of XSLT to transform a source document.

(True/False)
4.8/5
(37)

In the order by clause of a FLWOR query, the default is to sort items in descending order.

(True/False)
4.9/5
(32)

Agnes has been using XQuery to design queries using path expressions. Her next project will involve multiple source documents and require more complicated criteria. She has heard that a FLWOR structure could be effective for such cases, and comes to you for assistance in developing a FLWOR structure query. -Agnes has heard that one of the clauses in a FLWOR structure filters the result of the query and can replace the long and complicated predicates found in path expressions. You tell her that she is describing the _____ clause.

(Multiple Choice)
4.9/5
(30)

XQuery 3.0 provides a robust debugging technique using the try… _____ structure.

(Short Answer)
4.8/5
(37)

In general, a processor can run a where clause faster than it can run a predicate expression.

(True/False)
4.9/5
(30)

Alfonso has been working with XQuery, and would like to create a library module to centralize the global variables and functions he's created. He has encountered some problems in implementing the library module, and comes to you for help. -Alfonso has fixed the error in the query prolog, but now is encountering problems when he tries to reference a function he defined and added to the library module. In looking at his library module code, you remind him that he must include the _____ keyword when creating a user-defined function.

(Multiple Choice)
4.9/5
(46)

One option to format query results is to add the declaration _____ to the XQuery prolog, which preserves all of the white space characters from the XQuery file and writes them to the result document.

(Multiple Choice)
4.9/5
(33)

Agnes has been using XQuery to design queries using path expressions. Her next project will involve multiple source documents and require more complicated criteria. She has heard that a FLWOR structure could be effective for such cases, and comes to you for assistance in developing a FLWOR structure query. -Agnes is confused by the rules about how many of each type of clause are required in a FLWOR structure. You tell her that in a FLWOR structure, there must be at least one _____ clause.

(Multiple Choice)
4.7/5
(37)

A(n) _____ contains the declarations for namespaces, variables, and user-defined functions-which can be imported into other query documents.

(Short Answer)
4.7/5
(39)

In an XQuery variable declaration, text strings need to be enclosed within single or double quotes .

(True/False)
4.8/5
(31)

In XQuery, the _____ namespace is used for creating user-defined functions.

(Multiple Choice)
5.0/5
(40)

One way to query data from several sources is to apply a _____ clause to each document source.

(Multiple Choice)
4.8/5
(36)

Agnes has been using XQuery to design queries using path expressions. Her next project will involve multiple source documents and require more complicated criteria. She has heard that a FLWOR structure could be effective for such cases, and comes to you for assistance in developing a FLWOR structure query. -Agnes has heard that one of the clauses in a FLWOR structure can be used to display the results of the query. You tell her that she is describing the _____ clause.

(Multiple Choice)
4.8/5
(36)

To run a query, you need a(n) _____ that parses, analyzes, and evaluates the query.

(Short Answer)
4.8/5
(40)

In an XQuery file, the _____ is an optional section that is placed at the beginning of the query and is used to set up fundamental properties of the query.

(Short Answer)
4.8/5
(44)

  -In the FLWOR query shown in the accompanying figure, the box labeled _____ indicates the clause that displays the results of the query. -In the FLWOR query shown in the accompanying figure, the box labeled _____ indicates the clause that displays the results of the query.

(Multiple Choice)
4.9/5
(43)
Showing 21 - 40 of 91
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)