Placement papers on ASP.NET - Set 1

Placement papers on ASP.NET - Set 1


1. Which of the following object is not an ASP component?

LinkCounter
Counter
AdRotator
File Access
View Answer / Hide Answer

ANSWER: LinkCounter




2. The first event triggers in an aspx page is.

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

ANSWER: Page_Init()




3. Difference between Response.Write() andResponse.Output.Write().

Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to flush 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 method must be overridden in a custom control?

The Paint() method
The Control_Build() method
The default constructor
The Render() method
View Answer / Hide Answer

ANSWER: The Render() method




5. An alternative way of displaying text on web page using

asp:label
asp:listitem
asp:button
View Answer / Hide Answer

ANSWER: asp:label




6. Why is Global.asax is used?

Declare Global variables
Implement application and session level events
No use
View Answer / Hide Answer

ANSWER: Implement application and session level events




7. Which of the following is not a member of ADODBCommand object?

ExecuteScalar
ExecuteStream
Open
ExecuteReader
View Answer / Hide Answer

ANSWER: Open




8. Which DLL translate XML to SQL in IIS?

SQLISAPI.dll
SQLXML.dll
LISXML.dll
SQLIIS.dll
View Answer / Hide Answer

ANSWER: SQLISAPI.dll




9. Default Session data is stored in ASP.Net.

StateServer
Session Object
InProcess
all of the above
View Answer / Hide Answer

ANSWER: InProcess




10. Which of the following is the way to monitor the web application?

MMC Event viewers
Performance logs
Alerts Snap-ins
ALL
View Answer / Hide Answer

ANSWER: ALL


Post your comment