Alien head

ASP .Net Quiz - 3

Description: ASP .Net Quiz - 3
Number of Questions: 10
Created by:
Tags: .net asp
Attempted 0/10 Correct 0 Score 0

Which of the following languages can be used to write server side scripting in ASP.NET?

  1. C-sharp

  2. VB

  3. C++

  4. a and b


Correct Option: D

When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.

  1. HTML

  2. XML

  3. WML

  4. JSP


Correct Option: A

The Asp.net server control, which provides an alternative way of displaying text on web page, is

  1. < asp:label >

  2. < asp:listitem >

  3. < asp:button >


Correct Option: A

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

  1. Page_Load()

  2. Page_Init()

  3. Page_click()


Correct Option: B

Postback occurs in which of the following forms.

  1. Winforms

  2. HTMLForms

  3. Webforms


Correct Option: C

What namespace does the Web page belong in the .NET Framework class hierarchy?

  1. System.web.UI.Page

  2. System.Windows.Page

  3. System.Web.page


Correct Option: A

Which method do you invoke on the Data Adapter control to load your generated dataset?

  1. Fill( )

  2. ExecuteQuery( )

  3. Read( )


Correct Option: A

How do you register a user control?

  1. Add Tag prefix, Tag name

  2. Add Source, Tag prefix

  3. Add Src, Tagprefix, Tagname


Correct Option: C

Which of the following is true?

  1. User controls are displayed correctly in the Visual Studio .NET Designer

  2. Custom controls are displayed correctly in VS.Net Designer

  3. User and Custom controls are displayed correctly in the Visual Studio .NET Designer.


Correct Option: B

To add a custom control to a Web form we have to register with.

  1. TagPrefix

  2. Name space of the dll that is referenced

  3. Assemblyname

  4. All of the above


Correct Option: D
+ View questions