Alien head

ASP .Net Quiz - 3

Description: ASP .Net Quiz - 3
Number of Questions: 10
Created by:
Tags: .net asp

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

Answer: 4

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

Answer: 1

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 >

Answer: 1

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

  1. Page_Load()

  2. Page_Init()

  3. Page_click()

Answer: 2

Postback occurs in which of the following forms.

  1. Winforms

  2. HTMLForms

  3. Webforms

Answer: 3

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

Answer: 1

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

  1. Fill( )

  2. ExecuteQuery( )

  3. Read( )

Answer: 1

How do you register a user control?

  1. Add Tag prefix, Tag name

  2. Add Source, Tag prefix

  3. Add Src, Tagprefix, Tagname

Answer: 3

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.

Answer: 2

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

Answer: 4
+ View questions