AJAX Interview Questions & Answers

Showing 10 of 193 questions | Page 4

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

31. Is it possible to have a static indexer in C#? allowed in C#.

No. Static indexers are not

32. I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

You should declare the variable as an int, but when you pass it in you must specify it as ‘out, like the following: int i; foo(out i); where foo is declared as follows: [return-type] foo(out int o) { }

33. How do I simulate optional parameters to COM calls?

You must use the Missing class and pass Missing.Value (in System.Reflection) for any values that have optional parameters.

34. What do you know about .NET assemblies?

Assemblies are the smallest units of versioning and deployment in the .NET application. Assemblies are also the building blocks for programs such as Web services, Windows services, serviced components, and .NET remoting applications.

35. Whats the difference between private and shared assembly?

Private assembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name.

36. Whats a strong name?

A strong name includes the name of the assembly, version number, culture identity, and a public key token.

37. How can you debug failed assembly binds?

Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.

38. Where are shared assemblies stored?

Global assembly cache.

39. How can you create a strong name for a .NET assembly?

With the help of Strong Name tool (sn.exe).

40. Wheres global assembly cache located on the system?

Usually C:\winnt\assembly or C:\windows\assembly.
Questions and Answers for Competitive Exams Various Entrance Test