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. Removes item in the position - example: remove(("ab", "cd", "ef"), 1) returns ("cd", "ef")






3. Returns true if str1 contains str2






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






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






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






7. Returns logically rounded integer






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






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






10. Returns time right now






11. Returns month value out of date passed






12. Selects all the child nodes of the bookstore element






13. Returns today's date






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






15. Returns next highest integer






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






17. Returns timezone value from time passed






18. Converts string to lower case






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






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






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






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






23. Returns substring from start position to end of string






24. Converts value to a string






25. Returns minute value from time passed






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






27. Returns next lowest integer






28. Returns true if str2 appears anywhere inside str1






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






30. Returns n-length substring from start position






31. Returns hour value from time passed






32. Returns length of passed string






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






34. Returns second value from time passed






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






36. Converts string to upper case






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






38. Selects attributes






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






40. every element and every attribute have just one _________






41. Returns true if str1 starts with str2






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






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






44. Sibling nodes all have the same ______






45. Returns year value out of the date passed






46. Returns boolean true or boolean false






47. Returns October or 10 ?






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






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






50. Selects all elements in the document