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. 3 wildcards: ? matches any element node - @ matches any ___________ - node() matches any node of any kind






2. Selects parent of current node






3. Selects attributes






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






5. ________ allow more specific selections within the XPath






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






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






8. every element and every attribute have just one _________






9. Returns complete date/time






10. Returns year value out of the date passed






11. Returns length of passed string






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






13. Predicates work somewhat like _____________






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






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






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






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






18. Selects all the child nodes of the bookstore element






19. Returns true if str1 ends with str2






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






21. Returns October or 10 ?






22. Converts string to lower case






23. Returns 2008






24. Converts value to a string






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


26. Concatenates strings together with separator between each string






27. Selects all book elements with an attribute isbn=






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






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






30. Returns true if str1 contains str2






31. Returns substring from start position to end of string






32. Selects from the root node



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






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






35. Selects current node






36. Returns true if str2 appears anywhere inside str1






37. Returns logically rounded integer






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






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






40. Returns boolean true or boolean false






41. Selects all title elements which have any attribute






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






43. Returns everything after the first occurrence of str2






44. Returns time right now






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






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






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






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






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






50. Selects all elements in the document