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. Replaces chars of str2 found in str1 with chars of str3






2. Selects attributes






3. Returns true if str1 contains str2






4. Converts string number to numeric value






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






6. Returns 2008






7. Returns n-length substring from start position






8. Predicates work somewhat like _____________






9. Returns true if str1 starts with str2






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






11. Returns next highest integer






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






13. Concatenates strings together with separator between each string






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






15. Selects current node






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


17. Returns length of current node string






18. Returns false or true






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






20. Returns year value out of the date passed






21. Returns next lowest integer






22. Returns time right now






23. Selects all title elements which have any attribute






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






25. ________ allow more specific selections within the XPath






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






27. XPath contains a library of _________






28. every element and every attribute have just one _________






29. Selects parent of current node






30. Selects all book elements with an attribute isbn=






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






32. Returns October or 10 ?






33. Sibling nodes all have the same ______






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






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






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






37. Returns true if str1 ends with str2






38. Returns length of passed string






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






40. Trims leading and trailing spaces






41. Returns second value from time passed






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






43. Selects all the child nodes of the bookstore element






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






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






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






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






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






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






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