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 boolean true or boolean false






2. Selects attributes






3. Converts value to a string






4. Returns true if str2 appears anywhere inside str1






5. Selects all elements in the document






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






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






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






9. Selects from the root node



10. Returns time right now






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






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






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






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






15. Returns true if str1 starts with str2






16. Converts string to lower case






17. Returns false or true






18. Travels from current node to select nodes that match - wherever they are


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






20. Converts string to upper case






21. Returns substring from start position to end of string






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






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






24. Converts string number to numeric value






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






26. Selects all title elements which have any attribute






27. Returns year value out of the date passed






28. Returns minute value from time passed






29. Trims leading and trailing spaces






30. Returns n-length substring from start position






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






32. Returns length of passed string






33. Returns complete date/time






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






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






36. Returns everything before the first occurrence of str2






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






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






39. Selects all book elements with an attribute isbn=






40. Returns everything after the first occurrence of str2






41. Returns today's date






42. Sibling nodes all have the same ______






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






44. Returns length of current node string






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






46. Returns day value from date passed






47. Selects parent of current node






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






49. ________ allow more specific selections within the XPath






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