1. XQuery is the |
| query language for XML. |
| query language for XSL |
| query language for XHTML |
query language for XSLT
|
2. XQuery uses ______ to address specific parts of an XML document. |
| XHTML syntax |
| XSL syntax |
| XPath syntax |
XSLT syntax
|
3. XQuery for XML is like SQL for |
| Oracle |
| database |
| tables |
PL/SQL
|
4. XQuery is a language for finding and extracting the elements and attributes from |
| XML documents |
| tables |
| database |
files
|
5. Which of these share the same data model and supports the same functions and operators ? |
| XQuery 1.1 and XPath 2.0 |
| XQuery 1.0 and XPath 1.0 |
| XQuery 1.0.1 and XPath 2.0.1 |
XQuery 1.0 and XPath 2.0
|
6. For which of theses the XQuery can't be used ? |
| Generate summary reports |
| Search Web documents for relevant information |
| Transform XML data to XHTML |
None of these
|
7. XQuery 1.0 is not yet ___ Recommendation. |
| Microsoft's |
| W3C |
| IBM |
Intel
|
8. Which function is basically used to open the file. |
| open() |
| fopen() |
| doc() |
fileOpen()
|
9. XQuery uses _______ to limit the extracted data from the XML documents. |
| limit |
| predicates |
| from-to |
None of these
|
10. What is FLWOR ? |
| Foreach,Let,Where as,Object,Record |
| For, Let,Where as,Object,Record |
| For, Let, Where, Order by, Return |
None of these
|
11. What is the right syntax of the doc() function ? |
| doc('bookdetails.xml') |
| doc("bookdetails.xml") |
| doc("bookdetails.xml"); |
doc(bookdetails.xml);
|
12. In XQuery, how many types of node are present ? |
| 5 |
| 6 |
| 7 |
8
|
13. Which of these are not the XQuery type of nodes ? |
| attribute |
| element |
| namespace |
number
|
14. The ____ of the tree is called the document node or root node. |
| leaf |
| root |
| child |
middle level nodes
|
15. Which are known as Atomic values ? |
| root node |
| leaf nodes |
| nodes with no parent or children |
parent nodes
|
16. Each element and attribute has one parent only. |
| True |
| False |
| Not always true |
None of these
|
17. _____ nodes may have zero, one or more than one children. |
| Child |
| Parent |
| Leaf |
Element
|
18. Nodes that have the same parent is called |
| childs |
| siblings |
| elements |
none of these
|
19. A node's children, children's children, etc. is called |
| descendants |
| ancesters |
| siblings |
none of these
|
20. XQuery is |
| case-insensitive |
| case-sensitive |
| not always case-sensitive |
not always case-insensitive
|