AJAX Interview Questions & Answers

AJAX Interview Online Test
1. When should AJAX NOT be used?
Show Answer
2. How do you know that an AJAX request has completed?
Show Answer
3. How does XML processing differ on the different browsers?
Show Answer
4. Is it possible to achieve similar results without the XmlHttpRequest object?
Show Answer
5. Is AJAX a programming language?
Show Answer
6. What is AJAX?
Show Answer
7. How new is AJAX?
Show Answer
8. Why can/should AJAX be used?
Show Answer
9. Describe some things that cant be done with AJAX
Show Answer
10. How should AJAX objects be created?
Show Answer
11. For what error conditions should programs check?
Show Answer
12. Do Ajax applications always deliver a better experience than traditional web applications?
Show Answer
13. What is the difference between proxied and proxyless calls?
Show Answer
14. Are there any frameworks available to help speedup development with AJAX?
Show Answer
15. Is Adaptive Path selling Ajax components or trademarking the name? Where can I download it?
Show Answer
16. Should I use an HTTP GET or POST for my AJAX calls?
Show Answer
17. Some of the Google examples you cite dont use XML at all. Do I have to use XML and/or XSLT in an Ajax application?
Show Answer
18. Are Ajax applications easier to develop than traditional web applications?
Show Answer
19. When do I use a synchronous versus a asynchronous request?
Show Answer
20. How do I test my AJAX code?
Show Answer
21. What exactly is the W3C DOM?
Show Answer
22. When will HTML_AJAX have a stable release?
Show Answer
23. What parts of the HTML_AJAX API are stable?
Show Answer
24. What kinds of applications is Ajax best suited for?
Show Answer
25. Does this mean Adaptive Path is anti-Flash?
Show Answer
26. Where can I find examples of AJAX?
Show Answer
27. What is the XMLHttpRequest object?
Show Answer
28. Does Java have support for Comet style server-side push?
Show Answer
29. Is it possible to inline assembly or IL in C# code?
Show Answer
30. Is it possible to have different access modifiers on the get/set methods of a property?
Show Answer
31. Is it possible to have a static indexer in C#? allowed in C#.
Show Answer
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?
Show Answer
33. How do I simulate optional parameters to COM calls?
Show Answer
34. What do you know about .NET assemblies?
Show Answer
35. Whats the difference between private and shared assembly?
Show Answer
36. Whats a strong name?
Show Answer
37. How can you debug failed assembly binds?
Show Answer
38. Where are shared assemblies stored?
Show Answer
39. How can you create a strong name for a .NET assembly?
Show Answer
40. Wheres global assembly cache located on the system?
Show Answer
41. Can you have two files with the same file name in GAC?
Show Answer
42. Is there an equivalent of exit() for quitting a C# .NET application?
Show Answer
43. What is delay signing?
Show Answer
44. Can you prevent your class from being inherited and becoming a base class for some other classes?
Show Answer
45. Is XML case-sensitive?
Show Answer
46. If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?
Show Answer
47. 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?
Show Answer
48. How do you specify a custom attribute for the entire assembly (rather than for a class)?
Show Answer
49. How can you tell the application to look for assemblies at the locations other than its own install?
Show Answer
50. So lets say I have an application that uses MyApp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name MyApp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new MyApp.dll?
Show Answer
51. How do I make a DLL in C#?
Show Answer
52. Will finally block get executed if the exception had not occurred?
Show Answer
53. Is there regular expression (regex) support available to C# developers?
Show Answer
54. Is there a way to force garbage collection?
Show Answer
55. What connections does Microsoft SQL Server support?
Show Answer
56. What is a satellite assembly?
Show Answer
57. How is method overriding different from overloading?
Show Answer
58. When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?
Show Answer
59. Why would you use untrusted verification?
Show Answer
60. What is the implicit name of the parameter that gets passed into the class set method?
Show Answer
61. How do I register my code for use by classic COM clients?
Show Answer
62. How do I create a multi language, multi file assembly?
Show Answer
63. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
Show Answer
64. What is the equivalent to regsvr32 and regsvr32 /u a file in .NET development?
Show Answer
65. Where is the output of TextWriterTraceListener redirected?
Show Answer
66. How do I create a multilanguage, single-file assembly?
Show Answer
67. Why cannot you specify the accessibility modifier for methods inside the interface?
Show Answer
68. Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
Show Answer
69. Why do I get a syntax error when trying to declare a variable called checked?
Show Answer
70. Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Show Answer
71. What does the keyword virtual mean in the method definition?
Show Answer
72. What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
Show Answer
73. What is the difference between const and static read-only?
Show Answer
74. What does the parameter Initial Catalog define inside Connection String?
Show Answer
75. What is the difference between System.String and System.StringBuilder classes?
Show Answer
76. What is the top .NET class that everything is derived from?
Show Answer
77. Can you allow class to be inherited, but prevent the method from being over-ridden?
Show Answer
78. Can you change the value of a variable while debugging a C# application?
Show Answer
79. Are private class-level variables inherited?
Show Answer
80. Can you inherit multiple interfaces?
Show Answer
81. From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
Show Answer
82. Which one is trusted and which one is untrusted?
Show Answer
83. What namespaces are necessary to create a localized application?
Show Answer
84. Does Console.WriteLine() stop printing when it reaches a NULL character within a string?
Show Answer
85. What is the advantage of using System.Text.StringBuilder over System.String?
Show Answer
86. What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
Show Answer
87. Why do I get a security exception when I try to run my C# app?
Show Answer
88. What is the difference between // comments, /* */ comments and /// comments?
Show Answer
89. How do you inherit from a class in C#?
Show Answer
90. Can I define a type that is an alias of another type (like typedef in C++)?
Show Answer
91. Is it possible to have different access modifiers on the get/set methods of a property?
Show Answer
92. Is it possible to have a static indexer in C#?
Show Answer
93. Does C# support #define for defining global constants?
Show Answer
94. Does C# support templates?
Show Answer
95. Does C# support parameterized properties?
Show Answer
96. Does C# support C type macros?
Show Answer
97. Can you store multiple data types in System.Array?
Show Answer
98. Is it possible to inline assembly or IL in C# code?
Show Answer
99. Can you declare the override method static while the original method is non-static?
Show Answer
100. Does C# support multiple inheritance?
Show Answer
101. Can multiple catch blocks be executed?
Show Answer
102. Can you override private virtual methods?
Show Answer
103. What is a pre-requisite for connection pooling?
Show Answer
104. What is the data provider name to connect to Access database?
Show Answer
105. Why does my Windows application pop up a console window every time I run it?
Show Answer
106. What is the wildcard character in SQL?
Show Answer
107. What is the role of the DataReader class in ADO.NET connections?
Show Answer
108. What does the This window show in the debugger?
Show Answer
109. Describe the accessibility modifier protected internal?
Show Answer
110. What is an interface class?
Show Answer
111. What is a multicast delegate?
Show Answer
112. What does assert() do?
Show Answer
113. Why do I get an error (CS1006) when trying to declare a method without specifying a return type?
Show Answer
114. What is the .NET datatype that allows the retrieval of data by a unique key?
Show Answer
115. What is the difference between the Debug class and Trace class?
Show Answer
116. How can you overload a method?
Show Answer
117. What debugging tools come with the .NET SDK?
Show Answer
118. What does Dispose method do with the connection object?
Show Answer
119. How do you generate documentation from the C# file commented properly with a command-line compiler?
Show Answer
120. When you inherit a protected class-level variable, who is it available to?
Show Answer
121. How can I get the ASCII code for a character in C#?
Show Answer
122. Is there an equivalent to the instanceof operator in Visual J++?
Show Answer
123. How do I create a Delegate/MulticastDelegate?
Show Answer
124. How can you sort the elements of the array in descending order?
Show Answer
125. How do you debug an ASP.NET Web application?
Show Answer
126. How do you mark a method obsolete?
Show Answer
127. How is the DLL Hell problem solved in .NET?
Show Answer
128. What are the ways to deploy an assembly?
Show Answer
129. Why does DllImport not work for me?
Show Answer
130. What is a delegate?
Show Answer
131. What is the difference between an interface and abstract class?
Show Answer
132. What is an abstract class?
Show Answer
133. Does C# support multiple-inheritance?
Show Answer
134. Who is a protected class-level variable available to?
Show Answer
135. Whats the top .NET class that everything is derived from?
Show Answer
136. What does the term immutable mean?
Show Answer
137. whats the difference between System.String and System.Text.StringBuilder classes?
Show Answer
138. whats the advantage of using System.Text.StringBuilder over System.String?
Show Answer
139. Whats the difference between the System.Array.CopyTo() and System.Array.Clone()?
Show Answer
140. Whats the .NET collection class that allows an element to be accessed using a unique key?
Show Answer
141. What class is underneath the SortedList class?
Show Answer
142. Will the finally block get executed if an exception has not occurred?
Show Answer
143. Whats the C# syntax to catch any possible exception?
Show Answer
144. Can multiple catch blocks be executed for a single try statement?
Show Answer
145. Explain the three services model commonly know as a three-tier application.
Show Answer
146. What is the syntax to inherit from a class in C#?
Show Answer
147. Can you prevent your class from being inherited by another class?
Show Answer
148. Can you allow a class to be inherited, but prevent the method from being over-ridden?
Show Answer
149. Whats an abstract class?
Show Answer
150. When do you absolutely have to declare a class as abstract?
Show Answer
151. What is an interface class?
Show Answer
152. Why cant you specify the accessibility modifier for methods inside the interface?
Show Answer
153. What happens if you inherit multiple interfaces and they have conflicting method names?
Show Answer
154. Whats the difference between an interface and abstract class?
Show Answer
155. What is the difference between a Struct and a Class?
Show Answer
156. Whats the implicit name of the parameter that gets passed into the set method/property of a class?
Show Answer
157. What does the keyword virtual? declare for a method or property?
Show Answer
158. How is method overriding different from method overloading?
Show Answer
159. Can you declare an override method to be static if the original method is not static?
Show Answer
160. What are the different ways a method can be overloaded?
Show Answer
161. If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
Show Answer
162. Whats a delegate?
Show Answer
163. Whats a multicast delegate?
Show Answer
164. Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Show Answer
165. What are three test cases you should go through in unit testing?
Show Answer
166. Can you change the value of a variable while debugging a C# application?
Show Answer
167. What is the role of the DataReader class in ADO.NET connections?
Show Answer
168. What is the wildcard character in SQL?
Show Answer
169. What connections does Microsoft SQL Server support?
Show Answer
170. Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?
Show Answer
171. What does the Initial Catalog parameter define in the connection string?
Show Answer
172. What does the Dispose method do with the connection object?
Show Answer
173. What is a pre-requisite for connection pooling?
Show Answer
174. How is the DLL Hell problem solved in .NET?
Show Answer
175. What namespaces are necessary to create a localized application?
Show Answer
176. What is the smallest unit of execution in .NET?
Show Answer
177. When should you call the garbage collector in .NET?
Show Answer
178. How do you convert a value-type to a reference-type?
Show Answer
179. ctype(123.34,integer) - should it throw an error? Why or why not? Answer1
Show Answer
180. directcast(123.34,integer) - should it throw an error? Why or why not?
Show Answer
181. Difference between a sub and a function.
Show Answer
182. Difference between imperative and interrogative code.
Show Answer
183. Difference between value and reference type. what are value types and reference types?
Show Answer
184. What are the two kinds of properties.
Show Answer
185. Explain constructor.
Show Answer
186. How can you clean up objects holding resources from within the code?
Show Answer
187. Which controls do not have events?
Show Answer
188. What is the maximum size of the textbox?
Show Answer
189. Which property of the textbox cannot be changed at runtime?
Show Answer
190. Which control cannot be placed in MDI?
Show Answer
191. What is the difference between proc. sent BY VAL and BY SUB?
Show Answer
192. Did Adaptive Path invent Ajax? Did Google? Did Adaptive Path help build Googles Ajax applications?
Show Answer
193. Does Ajax have significant accessibility or browser compatibility limitations? Do Ajax applications break the back button? Is Ajax compatible with REST? Are there security considerations with Ajax development? Can Ajax applications be made to work for users who have JavaScript turned off?
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test