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. Compares strings, returns 0 if same, -1 if not same






2. Selects parent of current node






3. Concatenates strings together with separator between each string






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






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






6. Returns substring from start position to end of string






7. Returns hour value from time passed






8. Returns everything before the first occurrence of str2






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






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






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






12. Converts string to upper case






13. XPath contains a library of _________






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






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






16. Selects all the child nodes of the bookstore element






17. XPath is a major element in _______






18. Selects all title elements which have any attribute






19. Returns length of current node string






20. Returns 2008






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






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






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






24. Returns boolean true or boolean false






25. Returns year value out of the date passed






26. Returns length of passed string






27. Converts string number to numeric value






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






29. Returns true if str1 contains str2






30. Returns October or 10 ?






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


32. Trims leading and trailing spaces






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






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






35. Returns month value out of date passed






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






37. Returns second value from time passed






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






39. Returns next lowest integer






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






41. every element and every attribute have just one _________






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






43. Returns complete date/time






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






45. Returns minute value from time passed






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






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






48. Selects attributes






49. Returns everything after the first occurrence of str2






50. Returns next highest integer