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 day value from date passed






2. Selects all book elements with an attribute isbn=






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






4. Selects current node






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






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






7. Returns substring from start position to end of string






8. Returns true if str1 ends with str2






9. Returns complete date/time






10. Selects all the child nodes of the bookstore element






11. Selects all elements in the document






12. Returns false or true






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






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






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






16. XPath contains a library of _________






17. Returns year value out of the date passed






18. Returns true if str1 starts with str2






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






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






21. Trims leading and trailing spaces






22. Selects all title elements which have any attribute






23. Returns today's date






24. Returns October or 10 ?






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






26. Returns next lowest integer






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






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






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






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






31. Returns second value from time passed






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






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






34. Selects attributes






35. Returns hour value from time passed






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






37. Returns length of current node string






38. Returns month value out of date passed






39. Returns timezone value from time passed






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






41. every element and every attribute have just one _________






42. XSL is what we use to get from readable to _________






43. Returns boolean true or boolean false






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. Selects all book elements with a child element "price" with values greater than 35






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


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






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






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






50. ________ allow more specific selections within the XPath