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 all unique values in that collection - example: distinct-values(a, b, c, d, a, c) returns (a, b, c, d)






2. Returns next lowest integer






3. Converts string to upper case






4. Selects all title elements which have any attribute






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






6. Returns next highest integer






7. Returns true if str1 starts with str2






8. Returns boolean true or boolean false






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






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






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






12. Selects all book elements with an attribute isbn=






13. Selects parent of current node






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






15. Returns everything after the first occurrence of str2






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






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






18. Trims leading and trailing spaces






19. XPath is a major element in _______






20. Returns minute value from time passed






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






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






23. Sibling nodes all have the same ______






24. Returns hour value from time passed






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






26. Returns 2008






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






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






29. Predicates work somewhat like _____________






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






31. Returns month value out of date passed






32. Returns everything before the first occurrence of str2






33. Returns day value from date passed






34. Converts string to lower case






35. Returns length of current node string






36. every element and every attribute have just one _________






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






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






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






40. Returns second value from time passed






41. Returns true if str1 contains str2






42. Selects from the root node



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






44. Returns timezone value from time passed






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






46. Returns n-length substring from start position






47. Returns substring from start position to end of string






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






49. Converts string number to numeric value






50. Returns today's date