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. Selects first two book elements from the children of books element






2. Returns length of current node string






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






4. Returns true if str1 starts with str2






5. Returns next highest integer






6. Returns everything before the first occurrence of str2






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


8. Returns false or true






9. Converts string to lower case






10. Returns length of passed string






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






12. Converts string to upper case






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






14. Returns true if str1 contains str2






15. Selects all book elements with an attribute isbn=






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






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






18. Returns next lowest integer






19. Returns time right now






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






21. Selects attributes






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






23. Returns second value from time passed






24. Concatenates strings together with separator between each string






25. Returns year value out of the date passed






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






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






28. Returns 2008






29. Returns day value from date passed






30. Returns today's date






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






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






33. Selects current node






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






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






36. ________ allow more specific selections within the XPath






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






38. Selects all title elements which have any attribute






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






40. every element and every attribute have just one _________






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






42. Returns boolean true or boolean false






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






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






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






46. Selects all the child nodes of the bookstore element






47. Returns logically rounded integer






48. XPath is a major element in _______






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






50. Selects all elements in the document






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests