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. ________ allow more specific selections within the XPath






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






3. Returns timezone value from time passed






4. Converts value to a string






5. Returns everything after the first occurrence of str2






6. Returns 2008






7. Selects all book elements with an attribute isbn=






8. Returns logically rounded integer






9. Trims leading and trailing spaces






10. Predicates work somewhat like _____________






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






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






13. Returns everything before the first occurrence of str2






14. Selects current node






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






16. Selects all elements in the document






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






18. Converts string number to numeric value






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






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






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






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. +, -, *, div, =, !=, <, <=, >, >=, or, and, mod (modulus)






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






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






26. Returns true if str1 contains str2






27. Returns n-length substring from start position






28. Selects all the child nodes of the bookstore element






29. Returns true if str1 starts with str2






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






31. Selects parent of current node






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






33. Concatenates strings together with separator between each string






34. Returns next lowest integer






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


36. Returns year value out of the date passed






37. Returns October or 10 ?






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






39. Returns boolean true or boolean false






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






41. Returns hour value from time passed






42. Returns length of current node string






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






44. Returns day value from date passed






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






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






47. Converts string to upper case






48. Returns false if true - true if false (negative logic)






49. Selects attributes






50. Returns today's date