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 October or 10 ?






2. Selects all elements in the document






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






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






5. Returns n-length substring from start position






6. Returns true if str1 starts with str2






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






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






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






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






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






12. Concatenates strings together with separator between each string






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






14. Selects all the child nodes of the bookstore element






15. Returns next highest integer






16. Returns year value out of the date passed






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






18. Returns everything before the first occurrence of str2






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






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






21. Returns true if str1 contains str2






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






23. XPath contains a library of _________






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






25. Returns true if str2 appears anywhere inside str1






26. Returns today's date






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






28. Selects all title elements which have any attribute






29. Selects all book elements with an attribute isbn=






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






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






32. Selects parent of current node






33. Selects from the root node



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






35. Sibling nodes all have the same ______






36. Converts value to a string






37. Returns true if str1 ends with str2






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






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






40. XPath is a major element in _______






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






42. Converts string number to numeric value






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






44. Converts string to upper case






45. Returns day value from date passed






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






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






48. Predicates work somewhat like _____________






49. Returns length of passed string






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