Questions
Question 1 Multiple Choice (Single Answer)
What is the first method that is fired during page load among these methods?
- PreRender
- Init
- Load
- Unload
Question 2 Multiple Choice (Single Answer)
Method overloading is
- Static polymorphism
- Dynamic polymorphism
- Both static and dynamic polymorphism
- Not a polymorphism.
Question 3 Multiple Choice (Single Answer)
What namespace does a page belong in the .net framework class hierarchy?
- System.Web.Control
- System.Web.RootBuilder
- System.Web.UserControl
- system.Web.UI.Page
Question 4 Multiple Choice (Single Answer)
What is last stage of a web forms life cycle?
- Page Events
- Page_Load
- Page_Unload
- Page_Init
Question 5 Multiple Choice (Single Answer)
In which method can the final changes to the controls can be done before the page is rendered?
- Init
- Load
- Prerender
- Render
Question 6 Multiple Choice (Single Answer)
We can programmitically set theme for a web page in
- Init event
- PreInit event
- Load event
- Can be set only at design time.
Question 7 Multiple Choice (Single Answer)
How can a child class constructor access parent class constructor?
- using base keyword
- using super keyword
- creating object of parent within child
- using this keyword
Question 8 Multiple Choice (Single Answer)
Find out the output for the code snippet given below:- int i=10; Console.WriteLine(i++);
- 10
- 11
- 12
- 9
Question 9 Multiple Choice (Single Answer)
A class which cannot be derived is
- Sealed
- Abstract
- Private
- Protected
Question 10 Multiple Choice (Single Answer)
By default, session is stored as
- InProc
- in State Server
- in SQL Server
- None of the above
Question 11 Multiple Choice (Single Answer)
What is the name given to an assembly that contains localized resources?
- Spoke
- Hub
- Satellite
- Sputnik
Question 12 Multiple Choice (Single Answer)
We use the 'new' keyword in
- Overriding
- Overloading
- Shadowing
- Method Hiding
- Both c and d
Question 13 Multiple Choice (Single Answer)
Method Overriding is
- Static polymorphism
- Dynamic polymorphism
- Both static and dynamic polymorphism
- Not a polymorphism
Question 14 Multiple Choice (Single Answer)
Ternary operator is
- +=
- *=
- ?=
- ?: