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






2. Returns true if str1 ends with str2






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






4. Returns length of passed string






5. Returns minute value from time passed






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






7. Returns true if str2 appears anywhere inside str1






8. Selects all book elements with an attribute isbn=






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






10. Returns complete date/time






11. Returns length of current node string






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






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






14. Selects all the child nodes of the bookstore element






15. Returns hour value from time passed






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






17. Concatenates strings together with separator between each string






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






19. Converts string number to numeric value






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






21. Converts value to a string






22. Returns next highest integer






23. Returns month value out of date passed






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






25. Converts string to upper case






26. Returns today's date






27. Converts string to lower case






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






29. XPath is a major element in _______






30. Selects current node






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






32. Selects all elements in the document






33. Selects attributes






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






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






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






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






38. Returns true if str1 contains str2






39. Returns true if str1 starts with str2






40. Selects all title elements which have any attribute






41. Selects parent of current node






42. Predicates work somewhat like _____________






43. Sibling nodes all have the same ______






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






45. Returns everything before the first occurrence of str2






46. ________ allow more specific selections within the XPath






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






48. Returns second value from time passed






49. Returns October or 10 ?






50. Returns time right now