Total Questions : 20
Expected Time : 20 Minutes

1. Which property is used to access the status code of an Ajax response?

2. How does the 'same-origin policy' impact Ajax requests?

3. Which attribute is used to set a timeout for an Ajax request?

4. Which attribute is used to set the content type of an Ajax request?

5. What does Ajax stand for?

6. What is the role of the Ajax callback function?

7. In Ajax, what does the term 'cross-origin' refer to?

8. What is the purpose of the same-origin policy in Ajax?

9. Which object is commonly used to perform asynchronous requests in Ajax?

10. Which JavaScript function is commonly used to handle errors in Ajax?

11. What is the purpose of the XMLHttpRequest property 'responseText' in Ajax?

12. What is the purpose of the XMLHttpRequest property 'responseType' in Ajax?

13. What does the term 'preflight request' mean in the context of Ajax?

14. What is the role of the 'onabort' event in Ajax?

15. What role does the 'onreadystatechange' event play in Ajax?

16. What security measure is used to prevent Cross-Site Request Forgery (CSRF) in Ajax?

17. In Ajax, what is the purpose of the 'FormData' object?

18. In Ajax, what is the purpose of the 'async' attribute in the 'script' tag?

19. What is the purpose of the XMLHttpRequest property 'onprogress' in Ajax?

20. What is the purpose of the 'Preflight request' in Ajax?