Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. <mcqs>
  2. <description>Collection of JavaScript multiple choice questions</description>
  3. <author>
  4. <firstname>Jane</firstname>
  5. <surname>Doe</surname>
  6. </author>
  7. <mcq>
  8. <question>
  9. Choose one of the following that best describes what JavaScript is.
  10. </question>
  11. <options>
  12. <![CDATA[
  13. <option>Application framework</option>
  14. <option>4GL language</option>
  15. <option>Scripting language</option>
  16. <option>None of the above</option>
  17. ]]>
  18. </options>
  19. <answer>3</answer>
  20. </mcq>
  21. <mcq>
  22. <question>
  23. Which Design Pattern has the Intent of providing a way to access the elements of an object sequentially without exposing its underlying representation?
  24. </question>
  25. <options>
  26. <![CDATA[
  27. <option>Factory</option>
  28. <option>Iterator</option>
  29. <option>Abstract Factory</option>
  30. <option>Proxy</option>
  31. ]]>
  32. </options>
  33. <answer>2</answer>
  34. </mcq>
  35. <mcq>
  36. <question>
  37. The following elements header, footer, article, section are the new elements in HTML5. These elements are called
  38. </question>
  39. <options>
  40. <![CDATA[
  41. <option>Semantic elements</option>
  42. <option>Formatting elements</option>
  43. <option>Control elements</option>
  44. <option>Page elements</option>
  45. ]]>
  46. </options>
  47. <answer>1</answer>
  48. </mcq>
  49. <mcq>
  50. <question>
  51. The primary purpose of the array map() function is that it
  52. </question>
  53. <options>
  54. <![CDATA[
  55. <option>Maps the elements of another array into itself</option>
  56. <option>Passes each element of the array and returns the necessary mapped elements</option>
  57. <option>Passes each element of the array on which it is invoked to the function you specify, and returns an array containing the values returned by that function</option>
  58. <option>Allows geoLocation api to work correctly</option>
  59. ]]>
  60. </options>
  61. <answer>3</answer>
  62. </mcq>
  63. </mcqs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement