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. xpath function categories: numeric - string - boolea - date/time - ________






2. Returns everything after the first occurrence of str2






3. Returns timezone value from time passed






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






5. Returns next highest integer






6. Selects from the root node



7. Selects all book elements with an attribute isbn=






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






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






10. Converts string to lower case






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






12. Selects current node






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






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






15. Returns logically rounded integer






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






17. Converts string to upper case






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






19. Selects all title elements which have any attribute






20. Returns day value from date passed






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






22. Selects attributes






23. Returns today's date






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






25. Returns year value out of the date passed






26. Returns complete date/time






27. Returns 2008






28. Returns hour value from time passed






29. Returns true if str1 ends with str2






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






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






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






33. Predicates work somewhat like _____________






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






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






36. Converts string number to numeric value






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






38. Returns time right now






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






40. Returns n-length substring from start position






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






42. Returns true if str1 contains str2






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






44. Selects parent of current node






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






46. every element and every attribute have just one _________






47. Selects all elements in the document






48. XPath contains a library of _________






49. Trims leading and trailing spaces






50. XPath is a major element in _______