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. Returns everything after the first occurrence of str2






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






3. Selects parent of current node






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






5. Returns 2008






6. Returns timezone value from time passed






7. Returns minute value from time passed






8. Returns true if str1 ends with str2






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






10. Selects all the child nodes of the bookstore element






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






12. Returns true if str2 appears anywhere inside str1






13. Concatenates strings together with separator between each string






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






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






16. Returns hour value from time passed






17. Selects last book element from the children of books element






18. Returns length of current node string






19. Returns length of passed string






20. Returns October or 10 ?






21. Trims leading and trailing spaces






22. Converts string number to numeric value






23. xpath function categories: numeric - string - boolea - date/time - ________






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






25. ________ allow more specific selections within the XPath






26. Selects all title elements which have any attribute






27. every element and every attribute have just one _________






28. Sibling nodes all have the same ______






29. Returns false or true






30. Converts value to a string






31. Returns today's date






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


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






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






35. Predicates work somewhat like _____________






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






37. Returns n-length substring from start position






38. Returns complete date/time






39. Returns year value out of the date passed






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






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






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






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






44. Returns true if str1 contains str2






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






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






47. Returns day value from date passed






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






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






50. Returns boolean true or boolean false