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 str1 ends with str2






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






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






4. every element and every attribute have just one _________






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






6. XPath is a major element in _______






7. Returns substring from start position to end of string






8. Returns minute value from time passed






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






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






11. Returns false or true






12. ________ allow more specific selections within the XPath






13. Returns time right now






14. Returns length of passed string






15. Selects from the root node



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






17. Converts string to upper case






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






19. Returns next lowest integer






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






21. Returns hour value from time passed






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






23. Returns n-length substring from start position






24. Returns 2008






25. Converts value to a string






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


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






28. Returns everything before the first occurrence of str2






29. Returns true if str1 contains str2






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






31. Returns day value from date passed






32. Returns logically rounded integer






33. Selects all elements in the document






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. 3 parts of XSL (eXtensible stylesheet language): Xpath for navigating XML documents - XSLT for ______ documents - XSL-FO for formatting XML documents






36. Trims leading and trailing spaces






37. Returns year value out of the date passed






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






39. Selects parent of current node






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






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






42. Returns everything after the first occurrence of str2






43. Converts string to lower case






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






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






46. Returns true if str2 appears anywhere inside str1






47. Predicates work somewhat like _____________






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






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






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