ASP .Net Quiz - 3

ASP .Net Quiz - 3

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

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 >
Question 4 Multiple Choice (Single Answer)

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

  1. Page_Load()
  2. Page_Init()
  3. Page_click()
Question 5 Multiple Choice (Single Answer)

Postback occurs in which of the following forms.

  1. Winforms
  2. HTMLForms
  3. Webforms
Question 6 Multiple Choice (Single Answer)

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
Question 7 Multiple Choice (Single Answer)

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

  1. Fill( )
  2. ExecuteQuery( )
  3. Read( )
Question 8 Multiple Choice (Single Answer)

How do you register a user control?

  1. Add Tag prefix, Tag name
  2. Add Source, Tag prefix
  3. Add Src, Tagprefix, Tagname
Question 9 Multiple Choice (Single Answer)

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.
Question 10 Multiple Choice (Single Answer)

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