Test your basic knowledge |

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. 3 wildcards: ? matches any element node - @ matches any ___________ - node() matches any node of any kind






2. Removes item in the position - example: remove(("ab", "cd", "ef"), 1) returns ("cd", "ef")






3. Returns hour value from time passed






4. XPath uses ____________ to navigate in XML documents - selecting nodes or node-sets






5. Selects from the root node



6. Returns everything after the first occurrence of str2






7. Returns false or true






8. Returns all unique values in that collection - example: distinct-values(a, b, c, d, a, c) returns (a, b, c, d)






9. XML documents are treated as _________- so the root of the tree is called the document node or root node






10. Element nodes may have zero - one - or more _________






11. selects first book element from the children of books element






12. Returns complete date/time






13. XPath is a major element in _______






14. Returns time right now






15. Returns day value from date passed






16. Selects all title AND price elements in the entire document






17. Converts value to a string






18. Returns year value out of the date passed






19. Returns today's date






20. Selects all book elements with an attribute isbn=






21. Concatenates strings together with separator between each string






22. Travels from current node to select nodes that match - wherever they are


23. Returns logically rounded integer






24. The XPath division operator not "/" cuz "/" is used in path expressions






25. Concatenates strings together (example concat('It",'is','cool') returns "Itiscool"






26. Returns length of passed string






27. Returns second value from time passed






28. Returns month value out of date passed






29. Returns timezone value from time passed






30. Selects all the child nodes of the bookstore element






31. Seven kinds of nodes in XPath: element - attribute - text - namespace - __________ - comment - document (root) nodes - a.k.a. DECANT-PI






32. Replaces chars of str2 found in str1 with chars of str3






33. Returns n-length substring from start position






34. Inserts new itemX into the collection at the positionX - example insert-before("a", "b", "c"), 3, "z") returns (abzc)






35. Converts string number to numeric value






36. Selects all title AND price elements of all book elements






37. Compares strings, returns 0 if same, -1 if not same






38. A predicate is used by is used by adding square brackets [ ] to the end of a path or portion of a path - and adding ________ inside the brackets






39. Converts string to upper case






40. XPath contains a library of _________






41. Selects all title elements which have any attribute






42. +, -, *, div, =, !=, <, <=, >, >=, or, and, mod (modulus)






43. Use a | to select more than one _____ (means AND)






44. XSL is what we use to get from readable to _________






45. Selects all book elements with a child element "price" with values greater than 35






46. Returns true if str1 contains str2






47. 3 parts of XSL (eXtensible stylesheet language): Xpath for navigating XML documents - XSLT for ______ documents - XSL-FO for formatting XML documents






48. _______ have 3 primary relationships: parent - child - sibling






49. Returns 2008






50. XPath is a for defining parts of an XML document