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. Selects all title AND price elements in the entire document






2. Returns logically rounded integer






3. Returns false or true






4. Predicates work somewhat like _____________






5. Returns length of passed string






6. Returns everything before the first occurrence of str2






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






8. Returns everything after the first occurrence of str2






9. Returns false if true - true if false (negative logic)






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






11. Returns time right now






12. Returns timezone value from time passed






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






14. Returns substring from start position to end of string






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






16. Selects current node






17. Selects parent of current node






18. Returns next lowest integer






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






20. Returns true if str2 appears anywhere inside str1






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


22. Returns October or 10 ?






23. ________ allow more specific selections within the XPath






24. Returns boolean true or boolean false






25. Returns next highest integer






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






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






28. Selects from the root node



29. XPath contains a library of _________






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






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






32. Returns n-length substring from start position






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






34. Returns length of current node string






35. Selects attributes






36. Returns 2008






37. Converts string to lower case






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






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






40. Selects all elements in the document






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






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






43. Returns day value from date passed






44. Returns true if str1 contains str2






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






46. Selects all title elements which have any attribute






47. Trims leading and trailing spaces






48. Returns second value from time passed






49. Converts string number to numeric value






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