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. Selects all title AND price elements of all book elements






2. Predicates work somewhat like _____________






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






4. Returns n-length substring from start position






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






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






7. Returns complete date/time






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






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






10. Selects current node






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






12. Returns today's date






13. Returns timezone value from time passed






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






15. Converts string to upper case






16. Converts string number to numeric value






17. Returns hour value from time passed






18. Selects from the root node



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






20. Returns boolean true or boolean false






21. Returns second value from time passed






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






23. Sibling nodes all have the same ______






24. every element and every attribute have just one _________






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






26. Returns true if str1 starts with str2






27. Returns false or true






28. Returns true if str2 appears anywhere inside str1






29. Returns substring from start position to end of string






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






34. Returns 2008






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






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






37. Selects all elements in the document






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






39. Selects attributes






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






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






42. Returns year value out of the date passed






43. Selects all title elements which have any attribute






44. Returns length of current node string






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






46. Converts value to a string






47. Selects parent of current node






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






49. Returns true if str1 ends with str2






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