Multiple choice technology architecture

What is the purpose of the 3rd argument in the below command : xmlhttp.open("POST", url, true)

  1. Append the contents of the Text file.

  2. Append the contents of the XML File.

  3. Data will be processed asynchronously.

  4. Data will be process Synchronously.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The third parameter in xmlhttp.open() is a boolean that determines whether the request is asynchronous (true) or synchronous (false). When true, the request executes asynchronously and doesn't block the browser. When false, it runs synchronously and freezes the UI until complete. Asynchronous (true) is the recommended approach.