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 false or true






2. Selects attributes






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






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






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






6. Returns month value out of date passed






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






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






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






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






11. Selects all the child nodes of the bookstore element






12. Returns true if str2 appears anywhere inside str1






13. Returns true if str1 starts with str2






14. Converts string to upper case






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






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






17. XPath is a major element in _______






18. Returns boolean true or boolean false






19. Selects all book elements with an attribute isbn=






20. Returns minute value from time passed






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






22. Selects all title elements which have any attribute






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






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






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






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






27. Returns complete date/time






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






29. Returns next highest integer






30. Returns second value from time passed






31. ________ allow more specific selections within the XPath






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






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






34. Returns hour value from time passed






35. Returns true if str1 contains str2






36. Converts string number to numeric value






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






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






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






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






41. XPath contains a library of _________






42. Returns day value from date passed






43. Returns everything after the first occurrence of str2






44. Returns length of current node string






45. Selects all elements in the document






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






47. Returns 2008






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






49. Converts value to a string






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