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. XPath uses ____________ to navigate in XML documents - selecting nodes or node-sets






2. Returns next lowest integer






3. Selects all elements in the document






4. Returns second value from time passed






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






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






7. Selects all title elements which have any attribute






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






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






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






11. Returns everything after the first occurrence of str2






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






13. Returns true if str1 starts with str2






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






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






16. Converts string number to numeric value






17. Returns day value from date passed






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






19. Returns hour value from time passed






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






21. Returns next highest integer






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






23. Returns year value out of the date passed






24. Returns length of passed string






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






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


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






28. Returns today's date






29. Returns n-length substring from start position






30. Returns logically rounded integer






31. Concatenates strings together with separator between each string






32. Selects all the child nodes of the bookstore element






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






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






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






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






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






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






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






40. Converts string to upper case






41. Returns length of current node string






42. Sibling nodes all have the same ______






43. Selects all book elements with an attribute isbn=






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






45. Returns timezone value from time passed






46. Returns minute value from time passed






47. XPath contains a library of _________






48. Selects parent of current node






49. Returns true if str2 appears anywhere inside str1






50. Trims leading and trailing spaces