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. Converts string number to numeric value






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






4. Returns month value out of date passed






5. Returns true if str2 appears anywhere inside str1






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






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






8. Returns October or 10 ?






9. Sibling nodes all have the same ______






10. every element and every attribute have just one _________






11. Selects all book elements with an attribute isbn=






12. Returns true if str1 contains str2






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






14. Selects all title elements which have any attribute






15. Returns hour value from time passed






16. ________ allow more specific selections within the XPath






17. Converts value to a string






18. Returns false or true






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






20. Returns everything after the first occurrence of str2






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






22. XPath is a major element in _______






23. Selects all elements in the document






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






25. Returns true if str1 starts with str2






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






27. Returns year value out of the date passed






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






29. Returns day value from date passed






30. Selects all the child nodes of the bookstore element






31. Returns complete date/time






32. Returns second value from time passed






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






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






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






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






37. Returns 2008






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






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






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






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






42. Trims leading and trailing spaces






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






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






45. Selects parent of current node






46. Concatenates strings together with separator between each string






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






48. Returns length of passed string






49. Returns today's date






50. Converts string to lower case