Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <mcqs>
- <description>Collection of JavaScript multiple choice questions</description>
- <author>
- <firstname>Jane</firstname>
- <surname>Doe</surname>
- </author>
- <mcq>
- <question>
- Choose one of the following that best describes what JavaScript is.
- </question>
- <options>
- <![CDATA[
- <option>Application framework</option>
- <option>4GL language</option>
- <option>Scripting language</option>
- <option>None of the above</option>
- ]]>
- </options>
- <answer>3</answer>
- </mcq>
- <mcq>
- <question>
- Which Design Pattern has the Intent of providing a way to access the elements of an object sequentially without exposing its underlying representation?
- </question>
- <options>
- <![CDATA[
- <option>Factory</option>
- <option>Iterator</option>
- <option>Abstract Factory</option>
- <option>Proxy</option>
- ]]>
- </options>
- <answer>2</answer>
- </mcq>
- <mcq>
- <question>
- The following elements header, footer, article, section are the new elements in HTML5. These elements are called
- </question>
- <options>
- <![CDATA[
- <option>Semantic elements</option>
- <option>Formatting elements</option>
- <option>Control elements</option>
- <option>Page elements</option>
- ]]>
- </options>
- <answer>1</answer>
- </mcq>
- <mcq>
- <question>
- The primary purpose of the array map() function is that it
- </question>
- <options>
- <![CDATA[
- <option>Maps the elements of another array into itself</option>
- <option>Passes each element of the array and returns the necessary mapped elements</option>
- <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>
- <option>Allows geoLocation api to work correctly</option>
- ]]>
- </options>
- <answer>3</answer>
- </mcq>
- </mcqs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement