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. +, -, *, div, =, !=, <, <=, >, >=, or, and, mod (modulus)






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






3. Returns October or 10 ?






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






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






6. Returns true if str2 appears anywhere inside str1






7. Returns true if str1 ends with str2






8. Selects all title elements which have any attribute






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






10. Returns second value from time passed






11. Selects all elements in the document






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






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






14. Selects all the child nodes of the bookstore element






15. Returns logically rounded integer






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


17. Returns everything before the first occurrence of str2






18. Returns length of current node string






19. Returns next lowest integer






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






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






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






23. Returns false or true






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






25. Returns time right now






26. Converts value to a string






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






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






29. Returns 2008






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






31. Converts string to upper case






32. Returns hour value from time passed






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






34. XPath contains a library of _________






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






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






37. Returns today's date






38. Selects current node






39. Selects from the root node



40. Selects all book elements with an attribute isbn=






41. Returns n-length substring from start position






42. Trims leading and trailing spaces






43. Returns year value out of the date passed






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






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






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






47. Returns minute value from time passed






48. Returns next highest integer






49. Returns all unique values in that collection - example: distinct-values(a, b, c, d, a, c) returns (a, b, c, d)






50. Returns day value from date passed