Technical interview questions and answers are critical when preparing for an AJAX Interview because companies want to evaluate your understanding of asynchronous communication, XMLHttpRequest, JSON handling, DOM manipulation, and interactive web applications. AJAX is considered a core concept in modern web development, and many companies include it as part of their technical rounds for frontend and full-stack developer roles. Organizations like TCS, Infosys, Wipro, Cognizant, and Capgemini frequently ask AJAX-related questions to check whether candidates can build dynamic, responsive, and efficient web pages. This guide includes commonly asked AJAX interview questions with clear explanations to help freshers and job seekers strengthen their web development fundamentals. These questions will improve your preparation for placement interviews, coding rounds, and real-time project discussions.
Showing 10 of 193 questions
181. Difference between a sub and a function.
A Sub does not return anything whereas a Function returns something.
182. Difference between imperative and interrogative code.
There are imperative and interrogative functions. Imperative functions are the one which return a value while the interrogative functions do not return a value.
183. Difference between value and reference type. what are value types and reference types?
Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap
184. What are the two kinds of properties.
Two types of properties in .Net: Get and Set
185. Explain constructor.
Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initializes the member attributes whenever an instance of the class is created.
186. How can you clean up objects holding resources from within the code?
Call the dispose method from code for clean up of objects
187. Which controls do not have events?
Timer control.
188. What is the maximum size of the textbox?
65536
189. Which property of the textbox cannot be changed at runtime?