ASP Programming Interview Questions And Answers
Learn ASP Programming by Interview Questions and Answers.
1 ► What is ASP?
2 ► How can you disable the browser to view the code?
3 ► What is a "Virtual Directory"?
4 ► Give the comment Tags for the following?
5 ► Which is the default Scripting Language of ASP (server-side)?
6 ► Which is the default Data types in VBScript?
7 ► What is a variable in ASP?
8 ► What is the maximum size of an array in ASP?
9 ► What is Querystring collection in ASP?
10 ► What are the attributes of the tags? What are their functions?
11 ► What are the methods in Session Object in ASP?
12 ► What is ServerVariables collection in ASP?
13 ► What is the difference between Querystring collection and Form collection?
14 ► What is a Form collection in ASP?
15 ► What are the ASP Scripting Objects?
16 ► What happens to a HTML page in ASP?
17 ► What happens to ASP pages?
18 ► How can you change the primary scripting language for a page?
19 ► What is application Object in ASP?
20 ► What is the difference between client-side script and server-side script?
21 ► What is the command to display characters to the HTML page in ASP?
22 ► Explain the POST & GET Method or Explain the difference between them in ASP?
23 ► How many global.asa files can an Application have in ASP?
24 ► What are Scripting Objects in ASP?
25 ► What is the Order of precedence for LOGICAL Operators in ASP?
26 ► What is a "Virtual Directory"?
27 ► What is the maximum size of an array?
28 ► What is Collection?
29 ► What is Request Object?
30 ► What is Extranet?
31 ► What are the collections of Application Object?
32 ► Which is the default Scripting Language of ASP (server-side)?
33 ► What is Query string collection?
34 ► How many global.asa files can an Application have?
35 ► When does the application On End event handler fire?
36 ► What is a variable?
37 ► Explain the POST and GET Method or explain the difference between them?
38 ► What is Server Variables collection?
39 ► How to include Active x controls in ASP code?
40 ► What is a Form collection?
41 ► What is the difference between client-side script and server-side script?
42 ► How to handle Error in ASP
43 ► How to Display images using Response object?
44 ► What is Application-scope?
45 ► What is Server Object?
46 ► How will you delete a Cookie?
47 ► What are the attributes of the <FORM> tags? What are their functions?
48 ► What is a Scripting Language?
49 ► What does Internet Information Server (IIS) assume to be the default language for Active Server Pages?
50 ► Name the ASP Objects?
51 ► What are the methods in Session Object?
52 ► What is Server-Side includes?
53 ► What is the difference between Server-side validation and Client-side validation?
54 ► What are the differences between ASP and ASP.NET and is ASP.NET backward compatible to ASP?
55 ► What is an Err Object?
56 ► What are the event handlers of Session Object?
57 ► What is the difference between Cookies collection and Form/Querystring collection?
58 ► What is an .ASP file?
59 ► What purpose is served by the Application.Lock method?
60 ► What is Global.asa file?
61 ► What is ASP (Active Server Pages)?
62 ► How Many Types of Cookies?
63 ► What is Session Object?
64 ► What are LOCAL and GLOBAL variables?
65 ► What are the tasks performed by <FORM> tags?
66 ► What are Scripting Objects?
67 ► What is Response Object?
68 ► Can be Arrays resized by using the keyword REDIM?
69 ► What is the function of Buffer in Response Object?
70 ► What is the command to display characters to the HTML page?
71 ► How to insert the records in a database table by using ASP?
72 ► What is http header?
73 ► What is MSMQ? What is N-tier System?
74 ► Explain life cycle of ASP page.
75 ► What are the tools used for editing in IIS?
76 ► What are the special sub-types in VBScript?
77 ► What is a File System Object object?
78 ► What does Server.Map Path do?
79 ► What is Querystring collection?
80 ► What are the attributes of the tags? What are their functions?
81 ► What happens to a HTML page?
82 ► What is application Object?
83 ► What is the Order of precedence for LOGICAL Operators.
84 ► Which is the default Scripting Language on the client side?
85 ► What is HTML (Hypertext Markup Language)?
86 ► What is a FileSystemObject object?
87 ► What is a Dictionary object?
88 ► What is Cookies collection?
89 ► What are ARRAYS?
90 ► What is ClientCertificate collection?
91 ► What do you need to run ASP?
92 ► What is the order of execution for an ASP application?
93 ► What are the types of HTML?
94 ► What are the properties of Session Object?
95 ► Name the ASP Objects?
96 ► What are the advantages of using ASP?
97 ► What are the methods in Application Object?
98 ► What are the browsers that can access ASP pages?
99 ► What are the methods by which output stream is controlled?
100 ► What are the collections of Session Object?
101 ► What is the difference between ASP and HTML? Or Why ASP is better than HTML?
102 ► What are the event handlers of Application Object?
103 ► Name some of the ASP components?
104 ► What are the tasks performed by <> tags?
105 ► What are the tags necessary to be present within the tag ?
106 ► How do you create a recordset object in VBScript?
107 ► Explain the difference between POST and GET Method.
108 ► Why do we use Option Explicit?
109 ► How do you write an SQL insert statement?
110 ► How can you have different number of cells for each row of a table in HTML?
111 ► What variable can you use to share info across the whole application for one user?
112 ► What is string concatenation function in VBScript?
114 ► What is a class in CSS?
115 ► When inserting strings into a SQL table in ASP What is the risk and how can you prevent it?
116 ► Difference between SAP R/2 and R/3
117 ► What are the stored procedure and why they are needed?
118 ► How to refresh an asp page on a single click of a button?
119 ► What is a Text Stream object?
120 ► What methods are fired during the page load?
121 ► When during the page processing cycle is ViewState available?
122 ► What namespace does the Web page belong in the .NET Framework class hierarchy?
123 ► Where do you store the information about the users locale?
124 ► Whats a bubbled event?
125 ► Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?
126 ► What data types does the RangeValidator control support?
127 ► What type of code (server or client) is found in a Code-Behind class?
128 ► Should user input data validation occur server-side or client-side? Why?
129 ► What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
130 ► Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
131 ► What is the Global.asax used for?
132 ► What are the Application_Start and Session_Start subroutines used for?
133 ► Can you explain What inheritance is and an example of when you might use it?
134 ► What is an assembly?
135 ► Describe the difference between inline and code behind.
136 ► What property must you set, and What method must you call in your code, in order to bind the data from a data source to the Repeater control?
137 ► What base class do all Web Forms inherit from?
138 ► Name two properties common in every validation control?
139 ► Which property on a Combo Box do you set with a column name, prior to setting the Data Source, to display data in the combo box?
140 ► Which control would you use if you needed to make sure the values in two different controls matched?
141 ► How many classes can a single .NET DLL contain?
142 ► What is ViewState?
143 ► What is the lifespan for items stored in ViewState?
144 ► What does the "EnableViewState" property do? Why would I want it on or off?
145 ► What are the different types of Session state management options available with ASP.NET?
146 ► What is the common type system (CTS)?
147 ► What is the Common Language Specification (CLS)?
148 ► What is the Microsoft Intermediate Language (MSIL)?
149 ► What is managed code and managed data?
150 ► What are private assemblies and shared assemblies?
151 ► If I want to build a shared assembly, does that require the overhead of signing and managing key pairs?
152 ► What is the difference between a namespace and an assembly name?
153 ► What options are available to deploy my .NET applications?
154 ► I have written an assembly that I want to use in more than one application. Where do I deploy it?
155 ► How can I see What assemblies are installed in the global assembly cache?
156 ► What is an application domain?
157 ► What is garbage collection?
158 ► How does non-deterministic garbage collection affect my code?
159 ► Can I avoid using the garbage collected heap?
160 ► How do in-process and cross-process communication work in the Common Language Runtime?
161 ► Can I use COM objects from a .NET Framework program?
162 ► Can .NET Framework components be used from a COM program?
163 ► Can I use the Win32 API from a .NET Framework program?
164 ► What do I have to do to make my code work with the security system?
165 ► Why does my code get a security exception when I run it from a network shared drive?
166 ► How do I make it so that code runs when the security system is stopping it?
167 ► How do I administer security for my machine? For an enterprise?
168 ► Whats the implicit name and type of the parameter that gets passed into the class set method?
169 ► When you inherit a protected class-level variable, who is it available to?
170 ► Whats the top .NET class that everything is derived from?
171 ► Hows method overriding different from overloading?
172 ► Whats an abstract class?
173 ► When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?
174 ► Whats an interface class?
175 ► Why cant you specify the accessibility modifier for methods inside the interface?
176 ► And if they have conflicting method names?
177 ► Whats the difference between an interface and abstract class?
178 ► How can you overload a method?
179 ► 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?
180 ► Whats the difference between System. String and System.StringBuilder classes?
181 ► How big is the data type int in .NET?
182 ► How big is the char?
183 ► How do you initiate a string without escaping each backslash?
184 ► What are valid signatures for the Main function?
185 ► How do you initialize a two-dimensional array that you don’t know the dimensions of?
186 ► Whats the access level of the visibility type internal?
187 ► Whats the difference between Struct and class in C#?
188 ► What data type should you use if you want an 8-bit value thats signed?
189 ► Speaking of Boolean data types, Whats different between C# and /C++?
190 ► Where is the value-type variables allocated in the computer RAM?
191 ► Where do the reference-type variables go in the RAM?
192 ► What is the difference between the value-type variables and reference-type variables in terms of garbage collection?
193 ► How do you convert a string into an integer in .NET?
194 ► how do you box a primitive data type variable?
- Ads By Google