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. Selects from the root node



3. Returns everything after the first occurrence of str2






4. Selects attributes






5. Returns n-length substring from start position






6. Returns next lowest integer






7. XPath is a major element in _______






8. Returns time right now






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






10. Selects all elements in the document






11. Selects parent of current node






12. Returns year value out of the date passed






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






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






15. Returns timezone value from time passed






16. Returns minute value from time passed






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






18. Returns true if str1 contains str2






19. Selects current node






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






21. Returns length of passed string






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






23. Converts string to upper case






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






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






26. Selects all book elements with an attribute isbn=






27. Returns boolean true or boolean false






28. Returns substring from start position to end of string






29. Converts string number to numeric value






30. Returns true if str1 starts with str2






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






32. Returns true if str1 ends with str2






33. Returns length of current node string






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






35. Sibling nodes all have the same ______






36. every element and every attribute have just one _________






37. Returns next highest integer






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






39. XPath contains a library of _________






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






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






42. Returns October or 10 ?






43. Trims leading and trailing spaces






44. Selects all title elements which have any attribute






45. Returns true if str2 appears anywhere inside str1






46. Returns today's date






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






48. Predicates work somewhat like _____________






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






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