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 2008






2. Returns minute value from time passed






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






4. Returns today's date






5. Returns everything before the first occurrence of str2






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






7. Returns next lowest integer






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






9. Selects all book elements with an attribute isbn=






10. Returns second value from time passed






11. Returns true if str2 appears anywhere inside str1






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






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






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






15. Returns length of current node string






16. Returns substring from start position to end of string






17. Selects all title elements which have any attribute






18. Returns day value from date passed






19. Predicates work somewhat like _____________






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






21. Returns logically rounded integer






22. Returns complete date/time






23. Returns boolean true or boolean false






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






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






26. Selects parent of current node






27. Returns hour value from time passed






28. Converts string to upper case






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






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






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






32. XPath contains a library of _________






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






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






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






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






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






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






39. Returns next highest integer






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






41. Selects from the root node



42. Converts string number to numeric value






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






44. every element and every attribute have just one _________






45. Returns n-length substring from start position






46. Returns time right now






47. Returns true if str1 ends with str2






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






49. Returns timezone value from time passed






50. Selects all elements in the document