C# ASP .Net Quiz

Description: C# ASP .Net Quiz
Number of Questions: 14
Created by:
Tags: .net asp c-sharp
Attempted 0/14 Correct 0 Score 0

What is the first method that is fired during page load among these methods?

  1. PreRender

  2. Init

  3. Load

  4. Unload


Correct Option: B
c #
  1. Static polymorphism

  2. Dynamic polymorphism

  3. Both static and dynamic polymorphism

  4. Not a polymorphism.


Correct Option: A

What namespace does a page belong in the .net framework class hierarchy?

  1. System.Web.Control

  2. System.Web.RootBuilder

  3. System.Web.UserControl

  4. system.Web.UI.Page


Correct Option: D

What is last stage of a web forms life cycle?

  1. Page Events

  2. Page_Load

  3. Page_Unload

  4. Page_Init


Correct Option: C

In which method can the final changes to the controls can be done before the page is rendered?

  1. Init

  2. Load

  3. Prerender

  4. Render


Correct Option: C
  1. Init event

  2. PreInit event

  3. Load event

  4. Can be set only at design time.


Correct Option: B
  1. using base keyword

  2. using super keyword

  3. creating object of parent within child

  4. using this keyword


Correct Option: A

A class which cannot be derived is

  1. Sealed

  2. Abstract

  3. Private

  4. Protected


Correct Option: A
  1. InProc

  2. in State Server

  3. in SQL Server

  4. None of the above


Correct Option: A
  1. Overriding

  2. Overloading

  3. Shadowing

  4. Method Hiding

  5. Both c and d


Correct Option: E
  1. Static polymorphism

  2. Dynamic polymorphism

  3. Both static and dynamic polymorphism

  4. Not a polymorphism


Correct Option: B
  1. +=

  2. *=

  3. ?=

  4. ?:


Correct Option: D
- Hide questions