Technical interview questions and answers are essential for an ASP Interview because companies expect candidates to understand server-side scripting, session handling, cookies, request/response objects, and dynamic web page creation. ASP is widely used in older enterprise systems, and many organizations still rely on it for maintaining web applications. This makes ASP interview questions relevant in technical rounds of companies like TCS, Infosys, Wipro, Cognizant, and Accenture. For freshers and junior developers, learning ASP concepts helps build a strong foundation for understanding modern web technologies as well. This guide provides frequently asked ASP interview questions with clear and simple explanations to help job seekers prepare effectively. These questions will improve your technical confidence during placement tests and web development interviews.
Showing 9 of 79 questions
71. Explain the difference between POST and GET Method.
GET requests are string data that is visible to the end user via the URL and a limit of 2kb, POST requests have no limit on total data and the user cant see the data in a query string.
72. Why do we use Option Explicit?
Answer1
To avoid multiple variables of the same name.
Answer2:
Correct answer is - This statement force the declaration of variables in VB before using them.
73. How do you write an SQL insert statement?
insert into tablename (fieldA, fieldB, fieldC)Values(dataA, ‘dataB, ‘dataC);
74. How can you have different number of cells for each row of a table in HTML?
using colspan and rowspan
75. What variable can you use to share info across the whole application for one user?
Use the sessions object
76. What is string concatenation function in VBScript?
the ampersand symbol and ampersand space underscore across multiple lines
77. Which is the default Data types in VBScript?
Variant.
78. When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?
SQL Injection, to prevent you probably need to use Stored Procedures instead of inline/incode SQL
79. Do Ajax applications always deliver a better experience than traditional web applications?
Not necessarily. Ajax gives interaction designers more flexibility. However, the more power we have, the more caution we must use in exercising it. We must be careful to use Ajax to enhance the user experience of our applications, not degrade it.