Learn ASP MCQs
Prepare ASP MCQs (Multiple choice Questions) for exam and job interviews.
What is the use of the Application_OnStart event?
1) To initialize application variables
2) To handle application errors
3) To manage sessions
4) To track user visits
Answer : To initialize application variables
How do you convert a string to an integer in ASP?
1) CInt()
2) Integer()
3) ToInt()
4) Convert.ToInt()
Answer : CInt()
What is the correct syntax for creating a function in ASP?
1) Function FunctionName()
2) Sub FunctionName()
3) Procedure FunctionName()
4) Method FunctionName()
Answer : Function FunctionName()