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. _______ have 3 primary relationships: parent - child - sibling






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






3. Returns timezone value from time passed






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






5. Returns month value out of date passed






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






7. Selects parent of current node






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






9. Returns true if str1 contains str2






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






11. Returns true if str1 starts with str2






12. Sibling nodes all have the same ______






13. Selects all title elements which have any attribute






14. Returns logically rounded integer






15. XPath is a major element in _______






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






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






18. Returns hour value from time passed






19. Converts value to a string






20. Returns length of current node string






21. Selects all book elements with an attribute isbn=






22. Predicates work somewhat like _____________






23. Returns true if str1 ends with str2






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






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






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






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






28. Returns true if str2 appears anywhere inside str1






29. Returns length of passed string






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






31. Returns day value from date passed






32. Converts string to upper case






33. Selects all elements in the document






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






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






36. Selects from the root node



37. Converts string to lower case






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






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






40. Returns n-length substring from start position






41. Returns next lowest integer






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






43. Returns October or 10 ?






44. Returns year value out of the date passed






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






46. Selects all the child nodes of the bookstore element






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






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






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






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