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. Removes item in the position - example: remove(("ab", "cd", "ef"), 1) returns ("cd", "ef")






2. ________ allow more specific selections within the XPath






3. Selects all the child nodes of the bookstore element






4. Returns complete date/time






5. Trims leading and trailing spaces






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






7. Returns false or true






8. Returns today's date






9. Returns true if str1 ends with str2






10. Selects all book elements with an attribute isbn=






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






12. Returns everything after the first occurrence of str2






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






14. Selects attributes






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






16. Converts string to upper case






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






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






19. Returns length of passed string






20. Converts string number to numeric value






21. Selects all title elements which have any attribute






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






23. Returns day value from date passed






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






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






26. Returns second value from time passed






27. Returns boolean true or boolean false






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






29. Returns 2008






30. Returns minute value from time passed






31. Returns length of current node string






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






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






34. Returns timezone value from time passed






35. Returns next lowest integer






36. Returns next highest integer






37. Returns n-length substring from start position






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


39. Returns time right now






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






41. Concatenates strings together with separator between each string






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






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






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






45. Returns true if str1 contains str2






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






47. Predicates work somewhat like _____________






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






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






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