Total Questions : 40
Expected Time : 40 Minutes

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

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

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

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

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

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

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

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

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

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

11. What does Ajax stand for?

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

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

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

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

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

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

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

19. What is the purpose of the 'crossOrigin' property in the 'Image' object in Ajax?

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

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

22. Which status code indicates a successful Ajax request?

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

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

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

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

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. In Ajax, what does the term 'cross-origin' refer to?

30. In Ajax, what does the term 'serialization' refer to?

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

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

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

34. Which method is used to initiate an Ajax request in JavaScript?

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

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

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

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

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

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