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 minute value from time passed






2. Selects from the root node



3. Returns boolean true or boolean false






4. Predicates work somewhat like _____________






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






6. Returns second value from time passed






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






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






9. XPath is a for defining parts of an XML document






10. Converts string to lower case






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






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






13. Returns time right now






14. Returns false or true






15. Returns length of current node string






16. XPath contains a library of _________






17. Returns next lowest integer






18. XPath is a major element in _______






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






20. Returns hour value from time passed






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






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






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






24. Returns everything before the first occurrence of str2






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






30. Returns everything after the first occurrence of str2






31. Selects all title elements which have any attribute






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






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






34. Returns timezone value from time passed






35. Returns logically rounded integer






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






37. every element and every attribute have just one _________






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






39. Returns day value from date passed






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






41. Returns year value out of the date passed






42. Selects all the child nodes of the bookstore element






43. ________ allow more specific selections within the XPath






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






45. Sibling nodes all have the same ______






46. Selects attributes






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






48. Selects all elements in the document






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






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