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 n-length substring from start position






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






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






4. every element and every attribute have just one _________






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






6. Trims leading and trailing spaces






7. Selects from the root node



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






9. Returns everything after the first occurrence of str2






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






11. Returns minute value from time passed






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






13. Selects all the child nodes of the bookstore element






14. XPath contains a library of _________






15. Returns true if str1 ends with str2






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






17. Returns month value out of date passed






18. Selects attributes






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






20. Returns timezone value from time passed






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






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






23. Returns next highest integer






24. Sibling nodes all have the same ______






25. XPath is a major element in _______






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






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






28. Returns length of passed string






29. Concatenates strings together with separator between each string






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






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






32. Selects all elements in the document






33. Selects parent of current node






34. Returns October or 10 ?






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






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






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






38. Returns complete date/time






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






40. Converts string to lower case






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






42. Returns true if str1 contains str2






43. Converts string to upper case






44. Returns hour value from time passed






45. Returns day value from date passed






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


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






48. Returns length of current node string






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






50. Selects current node