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 true if str2 appears anywhere inside str1






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






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






4. Trims leading and trailing spaces






5. Returns time right now






6. Returns year value out of the date passed






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






8. Returns next highest integer






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






10. Selects attributes






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






12. Returns logically rounded integer






13. Selects all elements in the document






14. Returns boolean true or boolean false






15. Returns timezone value from time passed






16. Selects all the child nodes of the bookstore element






17. Returns second value from time passed






18. Returns complete date/time






19. Seven kinds of nodes in XPath: element - attribute - text - namespace - __________ - comment - document (root) nodes - a.k.a. DECANT-PI






20. Returns next lowest integer






21. Selects all title elements which have any attribute






22. Selects current node






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






24. Returns today's date






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






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






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






28. Returns true if str1 starts with str2






29. Returns false or true






30. Returns everything before the first occurrence of str2






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






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






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






34. Returns true if str1 contains str2






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






36. Returns hour value from time passed






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






38. Returns true if str1 ends with str2






39. Returns day value from date passed






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






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






42. XPath contains a library of _________






43. Returns 2008






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






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






46. Returns substring from start position to end of string






47. XSL is what we use to get from readable to _________






48. ________ allow more specific selections within the XPath






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






50. Returns length of passed string