Placement papers on ASP.NET - Set 6

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

ANSWER: StateServer




2. Display validation errors in a central location or display a general validation error description.

CompareValidator
RangeValidator
CustomValidator
ValidationSummary
View Answer / Hide Answer

ANSWER: 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 Answer

ANSWER: 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 Answer

ANSWER: 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 Answer

ANSWER: 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

ANSWER: Request.Form




7. The first event to be triggered in an aspx page is.

Page_Load()
Page_Init()
Page_click()
View Answer / Hide Answer

ANSWER: Page_Init()




8. Which namespace provides classes for debugging and tracing application execution?

System.Security
System.Net
System.Diagnostics
System.web.configuration
View Answer / Hide Answer

ANSWER: 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

ANSWER: All of them




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

ANSWER: Load test


Post your comment