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. Converts string to lower case






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






3. Selects parent of current node






4. 3 wildcards: ? matches any element node - @ matches any ___________ - node() matches any node of any kind






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






6. Returns absolute value (example abs(-2.5) returns 2.5






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






8. Returns true if str2 appears anywhere inside str1






9. Returns day value from date passed






10. Returns length of passed string






11. Selects all book elements with an attribute isbn=






12. 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






13. Converts value to a string






14. Converts string to upper case






15. Selects current node






16. Concatenates strings together with separator between each string






17. Gets position(s) of target item(s) - example: index-of(15, 40, 25, 40, 10), 40) returns (2, 4)






18. Returns complete date/time






19. Returns today's date






20. Returns logically rounded integer






21. Returns length of current node string






22. Returns month value out of date passed






23. Predicates work somewhat like _____________






24. Selects all title elements of the book element AND all price elements in the entire document






25. Returns timezone value from time passed






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






27. Returns true if str1 contains str2






28. In str1, replaces all occurrences of str2 with str3






29. Transformation is actually accomplished by a _____________ like Saxon XSLT






30. every element and every attribute have just one _________






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






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






33. The process of taking raw XML - adding XSL - and outputting a document file of some type






34. Returns substring from start position to end of string






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






36. Returns October or 10 ?






37. Returns time right now






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






39. Returns everything before the first occurrence of str2






40. Selects first two book elements from the children of books element






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






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






43. Selects all title elements which have any attribute






44. Selects all the child nodes of the bookstore element






45. Returns everything after the first occurrence of str2






46. Returns minute value from time passed






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






48. Returns boolean true or boolean false






49. Returns true if str1 starts with str2






50. Returns second value from time passed