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 year value out of the date passed






2. Returns boolean true or boolean false






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






4. Selects from the root node



5. Returns complete date/time






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






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






8. Returns minute value from time passed






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






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






11. Selects all the child nodes of the bookstore element






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






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






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






15. Selects all title elements which have any attribute






16. Returns October or 10 ?






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






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






19. Returns false or true






20. Returns substring from start position to end of string






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






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






23. Returns hour value from time passed






24. Returns everything before the first occurrence of str2






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






26. Returns true if str1 contains str2






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






28. Returns true if str2 appears anywhere inside str1






29. Trims leading and trailing spaces






30. Selects attributes






31. every element and every attribute have just one _________






32. Returns true if str1 ends with str2






33. Sibling nodes all have the same ______






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


35. Selects parent of current node






36. Returns month value out of date passed






37. XPath is a major element in _______






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






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






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






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






42. Returns everything after the first occurrence of str2






43. Returns time right now






44. Returns true if str1 starts with str2






45. Selects current node






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






47. Returns next lowest integer






48. ________ allow more specific selections within the XPath






49. Returns next highest integer






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