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 month value out of date passed






2. Returns second value from time passed






3. Converts string to upper case






4. Selects all the child nodes of the bookstore element






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






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






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






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






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






10. Trims leading and trailing spaces






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






12. ________ allow more specific selections within the XPath






13. Returns n-length substring from start position






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






15. Returns year value out of the date passed






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






17. Returns length of current node string






18. Returns timezone value from time passed






19. Returns hour value from time passed






20. Returns logically rounded integer






21. Concatenates strings together with separator between each string






22. Returns October or 10 ?






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






24. Returns true if str1 ends with str2






25. Returns complete date/time






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






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






28. Returns false or true






29. Selects all title elements which have any attribute






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






31. Returns everything before the first occurrence of str2






32. every element and every attribute have just one _________






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






34. Returns true if str1 starts with str2






35. Returns day value from date passed






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






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






38. Returns true if str2 appears anywhere inside str1






39. Converts value to a string






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






41. Selects current node






42. XPath is a major element in _______






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






44. Element nodes may have zero - one - or more _________






45. Returns boolean true or boolean false






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






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






48. Converts string to lower case






49. Predicates work somewhat like _____________






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