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 time right now






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






3. Returns 2008






4. Returns everything after the first occurrence of str2






5. Sibling nodes all have the same ______






6. Returns n-length substring from start position






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






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






9. Selects all elements in the document






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






11. Returns month value out of date passed






12. Selects all title elements which have any attribute






13. XPath uses ____________ to navigate in XML documents - selecting nodes or node-sets






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






15. Returns true if str1 ends with str2






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






17. Returns complete date/time






18. Trims leading and trailing spaces






19. Returns boolean true or boolean false






20. Converts string to upper case






21. Selects parent of current node






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






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






24. XPath is a major element in _______






25. every element and every attribute have just one _________






26. Converts value to a string






27. Selects from the root node



28. Returns today's date






29. Returns timezone value from time passed






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






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






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






33. Converts string number to numeric value






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


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






36. Returns October or 10 ?






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






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






39. Selects attributes






40. Selects all the child nodes of the bookstore element






41. Converts string to lower case






42. Returns length of passed string






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






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






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






46. Returns minute value from time passed






47. Returns length of current node string






48. Concatenates strings together with separator between each string






49. Returns true if str2 appears anywhere inside str1






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