Placement papers on ASP.NET - Set 6
1. In which mode of storing ASP.NET session, session state is serialized and stored in a separate process.
InProc
StateServer
SQL Server
View Answer / Hide Answer 2. Display validation errors in a central location or display a general validation error description.
CompareValidator
RangeValidator
CustomValidator
ValidationSummary
View Answer / Hide AnswerANSWER: ValidationSummary
3. What's the difference between Response.Write() andResponse.Output.Write()?
Response.Output.Write() allows you to flush output
Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to stream output
View Answer / Hide AnswerANSWER: Response.Output.Write() allows you to write formatted output
4. Which of the following is used to detect when cached data is about to be unloaded from memory?
OnRemoveCallback directive
OutputCache directive
Alerts snap-in
VaryByParam attribute
View Answer / Hide AnswerANSWER: OnRemoveCallback directive
5. Which one of the following is the fastest way to concat strings in ASP.NET?
Concat method of the String object
Append method of the StringBuilder object
Plus sign operator to concatenate the strings
Substring method of the String object
View Answer / Hide AnswerANSWER: Append method of the StringBuilder object
6. How do you get information from a form that is submitted using the "post" method?
Request.QueryString
Request.Form
Response.write
Response.writeln
View Answer / Hide Answer 7. The first event to be triggered in an aspx page is.
Page_Load()
Page_Init()
Page_click()
View Answer / Hide Answer 8. Which namespace provides classes for debugging and tracing application execution?
System.Security
System.Net
System.Diagnostics
System.web.configuration
View Answer / Hide AnswerANSWER: System.Diagnostics
9. Which of them is used to monitor the web application after deployment?
MMC Event Viewer
Performance logs
Alerts Snap-ins
All of them
View Answer / Hide Answer 10. Which types of testing ensures that all the product continue to work under extreme usage?
Integration test
Regression test
Load test
Platform test
View Answer / Hide Answer