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. Gets position(s) of target item(s) - example: index-of(15, 40, 25, 40, 10), 40) returns (2, 4)






2. Selects all title elements which have any attribute






3. Returns false or true






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






5. Returns time right now






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






7. Converts string number to numeric value






8. Returns today's date






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






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






11. Selects parent of current node






12. Converts string to upper case






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






14. Returns true if str1 contains str2






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






16. Returns true if str2 appears anywhere inside str1






17. Predicates work somewhat like _____________






18. Returns substring from start position to end of string






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






20. Concatenates strings together with separator between each string






21. Selects all the child nodes of the bookstore element






22. Converts value to a string






23. Selects from the root node



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






25. ________ allow more specific selections within the XPath






26. Selects all book elements with an attribute isbn=






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






28. Selects all elements in the document






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






30. Returns next highest integer






31. Returns n-length substring from start position






32. Returns boolean true or boolean false






33. Returns everything after the first occurrence of str2






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






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






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






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






38. Returns day value from date passed






39. Selects attributes






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






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






42. Returns 2008






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






44. Returns next lowest integer






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






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






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






48. Returns logically rounded integer






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






50. Trims leading and trailing spaces