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 complete date/time






2. Returns next highest integer






3. Selects all title elements which have any attribute






4. Returns everything before the first occurrence of str2






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






6. Returns false or true






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






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






9. Returns 2008






10. every element and every attribute have just one _________






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






12. Returns timezone value from time passed






13. Returns second value from time passed






14. Selects attributes






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






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






17. Predicates work somewhat like _____________






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






19. Selects from the root node



20. Converts string number to numeric value






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






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






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






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






25. ________ allow more specific selections within the XPath






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






27. Returns next lowest integer






28. Returns day value from date passed






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






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






31. Selects all elements in the document






32. Returns true if str1 ends with str2






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






34. Returns month value out of date passed






35. Selects parent of current node






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






37. Trims leading and trailing spaces






38. Returns length of current node string






39. Returns today's date






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






41. Returns n-length substring from start position






42. Returns substring from start position to end of string






43. Sibling nodes all have the same ______






44. Returns true if str2 appears anywhere inside str1






45. Returns time right now






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






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


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






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






50. Returns logically rounded integer