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 time right now






2. Returns true if str1 starts with str2






3. Returns length of passed string






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






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






6. Selects all the child nodes of the bookstore element






7. Returns timezone value from time passed






8. Returns hour value from time passed






9. Trims leading and trailing spaces






10. Returns October or 10 ?






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






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






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






14. Converts value to a string






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






16. Returns everything before the first occurrence of str2






17. Selects from the root node



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






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






20. Selects all title elements which have any attribute






21. ________ allow more specific selections within the XPath






22. Returns next lowest integer






23. Returns everything after the first occurrence of str2






24. Returns day value from date passed






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






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






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






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






29. every element and every attribute have just one _________






30. Returns false or true






31. Returns n-length substring from start position






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






33. Selects parent of current node






34. Converts string to lower case






35. Converts string number to numeric value






36. Returns substring from start position to end of string






37. Returns true if str1 contains str2






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






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






40. XPath is a major element in _______






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






42. Concatenates strings together with separator between each string






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






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






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






46. Selects attributes






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






48. Returns today's date






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






50. Returns 2008