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






2. Returns hour value from time passed






3. Returns length of current node string






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






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






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






7. Returns time right now






8. Converts string to upper case






9. Predicates work somewhat like _____________






10. Returns today's date






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






12. Converts string to lower case






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






14. Selects all title elements which have any attribute






15. Returns second value from time passed






16. Returns day value from date passed






17. Returns boolean true or boolean false






18. The process of taking raw XML - adding XSL - and outputting a document file of some type






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






20. Returns next highest integer






21. Returns true if str2 appears anywhere inside str1






22. Returns next lowest integer






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






24. Returns substring from start position to end of string






25. Returns length of passed string






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






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






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






29. Concatenates strings together with separator between each string






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






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






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






33. Returns everything after the first occurrence of str2






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






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






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






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






38. Returns n-length substring from start position






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






40. Trims leading and trailing spaces






41. Returns false or true






42. Returns logically rounded integer






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






44. Returns month value out of date passed






45. Selects parent of current node






46. Returns 2008






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






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






49. Selects all book elements with an attribute isbn=






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