Mascot Previous Years Solved Sample Placement Papers
-
Which of the following attribute must be set on a validator control for the validation?
A: ControlToValidate
B: ValidateControl
C: ValidateToBind
D: ValidateBind
Ans: AExplanation: The ControlToValidate attribute must be set on a validator control for the validation.
-
Can we style tree view, and menus with CSS?
A: True
B: False
Ans: AExplanation: We can style tree-view, menus with CSS.
-
The CSS stands for ____.
A: Client Style Sheet
B: Cascading Style Sheet
C: Common Style Sheet
D: Cascading Simple Sheet
Ans: BExplanation: The CSS stands for "Cascading Style Sheet".
-
Which term is used for pages that depend on the Master page?
A: Content Pages
B: Master Pages
C: Web Pages
D: None of the above
Ans: AExplanation: The term used for pages that depend on the Master page is Content Pages.
-
Every Server control of ASP.NET must have an id?
A: True
B: False
Ans: AExplanation: Every Server control must have an id.
-
Which file contains the Application_Start event?
A: Global.asax
B: Web.config
C: Local.asax
D: None
Ans: AExplanation: The "Global.asax" file contains the Application_Start event.
-
Which of the following is not an ASP.NET event?
A: Init
B: Import
C: Load
D: All
Ans: BExplanation: The Import is not an ASP.NET event.
-
What is the return type of IsPostBack property?
A: Integer
B: Boolean
C: Float
D: All
Ans: BExplanation: The return type of the IsPostBack property is Boolean.
-
Can we use ASPX pages in MVC?
A: True
B: False
Ans: AExplanation: Yes, we can use ASPX pages in the MVC application.
-
Which of the following folder is used to store DLL files in the ASP.NET application?
A: App_Code
B: App_Data
C: Bin
D: App_Local
Ans: CExplanation: The Bin folder is used to store DLL files in the ASP.NET application.
-
The ASP.NET was developed by?
A: Google
B: Oracle
C: Sun Microsystems
D: Microsoft
Ans: DExplanation: The ASP.NET was developed by Microsoft.
-
Which of the following method is used to register client script using code dynamically?
A: Page.ClientScript.RegisterClientScriptBlock
B: RegisterScript
C: Page.ClientScript
D: None
Ans: AExplanation: The Page.ClientScript.RegisterClientScriptBlock method is used to register client scripts using code dynamically.