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 absolute value (example abs(-2.5) returns 2.5






2. Converts string number to numeric value






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






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






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






6. Returns length of current node string






7. Selects current node






8. every element and every attribute have just one _________






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






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






11. Returns everything before the first occurrence of str2






12. Selects all the child nodes of the bookstore element






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






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






15. Converts string to lower case






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






17. Returns month value out of date passed






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






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






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






21. Returns minute value from time passed






22. Returns second value from time passed






23. Returns n-length substring from start position






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


25. Returns true if str2 appears anywhere inside str1






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






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






28. Returns day value from date passed






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






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






31. Converts value to a string






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






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






34. Selects all elements in the document






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






36. Selects from the root node



37. Returns true if str1 contains str2






38. Returns timezone value from time passed






39. Selects all book elements with an attribute isbn=






40. Returns today's date






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






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






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






44. Selects attributes






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






46. Returns substring from start position to end of string






47. Selects parent of current node






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






49. Concatenates strings together with separator between each string






50. Returns year value out of the date passed