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. Inserts new itemX into the collection at the positionX - example insert-before("a", "b", "c"), 3, "z") returns (abzc)






2. Selects all book elements with an attribute isbn=






3. Returns 2008






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






5. ________ allow more specific selections within the XPath






6. Returns time right now






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






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






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






10. Returns true if str2 appears anywhere inside str1






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






12. Selects all title elements which have any attribute






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






14. Trims leading and trailing spaces






15. Returns logically rounded integer






16. Selects all the child nodes of the bookstore element






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






18. Converts value to a string






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






20. Returns true if str1 contains str2






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






22. Returns minute value from time passed






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






24. Returns today's date






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






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






27. Returns false or true






28. every element and every attribute have just one _________






29. Selects parent of current node






30. Returns October or 10 ?






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






32. Returns substring from start position to end of string






33. Returns everything before the first occurrence of str2






34. Returns length of current node string






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






36. Converts string number to numeric value






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






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






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






40. Returns true if str1 starts with str2






41. Returns boolean true or boolean false






42. XPath is a major element in _______






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






44. Returns year value out of the date passed






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






46. Selects all elements in the document






47. Converts string to lower case






48. Returns complete date/time






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






50. Selects from the root node