ASP Interview Questions & Answers

ASP Interview Online Test

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.

1. What is ASP?

Show Answer

2. How can you disable the browser to view the code?

Show Answer

3. What is a "Virtual Directory"?

Show Answer

4. Give the comment Tags for the following?

Show Answer

5. Which is the default Scripting Language of ASP (server-side)?

Show Answer

6. Which is the default Data types in VBScript?

Show Answer

7. What is a variable?

Show Answer

8. What is the maximum size of an array?

Show Answer

9. What is Query string collection?

Show Answer

10. What are the attributes of the tags? What are their functions?

Show Answer

11. What are the methods in Session Object?

Show Answer

12. What is ServerVariables collection?

Show Answer

13. What is the difference between Querystring collection and Form collection?

Show Answer

14. What is a Form collection?

Show Answer

15. What are the ASP Scripting Objects?

Show Answer

16. What happens to a HTML page?

Show Answer

17. What happens to ASP pages?

Show Answer

18. How can you change the primary scripting language for a page?

Show Answer

19. What is application Object?

Show Answer

20. What is the difference between client-side script and server-side script?

Show Answer

21. What is the command to display characters to the HTML page?

Show Answer

22. Explain the POST & GET Method or Explain the difference between them?

Show Answer

23. How many global.asa files can an Application have?

Show Answer

24. What are Scripting Objects?

Show Answer

25. What is the Order of precedence for LOGICAL Operators ?

Show Answer

26. What is an Err Object?

Show Answer

27. What are LOCAL and GLOBAL variables?

Show Answer

28. Which is the default Scripting Language on the client side?

Show Answer

29. What is HTML (Hypertext Markup Language)?

Show Answer

30. What is a Web Server?

Show Answer

31. What is Session Object?

Show Answer

32. What is Server-Side includes?

Show Answer

33. What is a FileSystemObject object?

Show Answer

34. What is a Scripting Language?

Show Answer

35. What is a Dictionary object?

Show Answer

36. What is Global.asa file?

Show Answer

37. What is an .ASP file?

Show Answer

38. What is Response Object?

Show Answer

39. Naming constraints for a variable ?

Show Answer

40. What is a TextStream object?

Show Answer

41. What is IIS?

Show Answer

42. What is Request Object?

Show Answer

43. What are the special sub-types in VBScript?

Show Answer

44. What is Cookies collection?

Show Answer

45. What is the difference between Cookies collection and Form/Query string collection?

Show Answer

46. What is Server Object?

Show Answer

47. What is Collection?

Show Answer

48. How will you delete a Cookie?

Show Answer

49. What is the function of Buffer in Response Object?

Show Answer

50. How are scripts executed?

Show Answer

51. What is ASP (Active Server Pages)?

Show Answer

52. What are ARRAYS?

Show Answer

53. What is Application-scope?

Show Answer

54. What are the types of HTML?

Show Answer

55. What are the properties of Session Object?

Show Answer

56. What are the event handlers of Session Object?

Show Answer

57. What are the methods in Application Object?

Show Answer

58. What are the methods in Application Object?

Show Answer

59. What are the browsers that can access ASP pages?

Show Answer

60. How does the server identify and execute the server-side scripts within HTML code?

Show Answer

61. What are the methods by which output stream is controlled?

Show Answer

62. What are the properties used to control the expiration of the page?

Show Answer

63. What are the collections of Session Object?

Show Answer

64. What is the difference between ASP and HTML? Or Why ASP is better than HTML?

Show Answer

65. What are the event handlers of Application Object?

Show Answer

66. Name the ASP Objects?

Show Answer

67. What are the advantages of using ASP?

Show Answer

68. Name some of the ASP components?

Show Answer

69. What are the tasks performed by < FORM > tags?

Show Answer

70. What are the collections of Application Object?

Show Answer

71. Explain the difference between POST and GET Method.

Show Answer

72. Why do we use Option Explicit?

Show Answer

73. How do you write an SQL insert statement?

Show Answer

74. How can you have different number of cells for each row of a table in HTML?

Show Answer

75. What variable can you use to share info across the whole application for one user?

Show Answer

76. What is string concatenation function in VBScript?

Show Answer

77. Which is the default Data types in VBScript?

Show Answer

78. When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

Show Answer

79. Do Ajax applications always deliver a better experience than traditional web applications?

Show Answer
Questions and Answers for Competitive Exams Various Entrance Test