Total Questions : 40
Expected Time : 40 Minutes

1. What is the purpose of the XMLHttpRequest readyState property?

2. Which JavaScript function is commonly used to parse JSON data received in an Ajax response?

3. Which method is used to perform parallel Ajax requests?

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

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

6. What does Ajax stand for?

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

8. How does the 'Blob' object contribute to handling responses in Ajax?

9. Which event is triggered when an Ajax request completes successfully?

10. Which HTTP method is commonly used in Ajax for retrieving data from the server?

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

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

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

14. What role does the 'withCredentials' property play in Ajax requests?

15. What is the role of the 'XMLHttpRequestUpload' object in Ajax?

16. What is the purpose of the 'onerror' event in Ajax?

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

18. How does the 'CORS' policy impact Ajax requests?

19. What is the purpose of the 'onload' event in Ajax?

20. Which method is used to send an asynchronous request to the server in Ajax?

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

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

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

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

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

26. What is the purpose of the 'async' attribute in the XMLHttpRequest open method?

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

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

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

30. What is the purpose of the 'responseType' property in the XMLHttpRequest object?

31. Which method is used to cancel an ongoing Ajax request?

32. Which status code indicates a successful Ajax request?

33. In Ajax, what does the term 'asynchronous' refer to?

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

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

36. Which HTTP method is commonly used in Ajax for updating data on the server?

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

38. Which method is used to set custom headers in an Ajax request?

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

40. What is the main advantage of using Ajax in web development?