Set - 8

Question 26 :

The following is a valid statement in ASP.NET<%@ Page Language="C" %>
* True
* False

Answer :

False


Question 27 :

A valid comment block in ASP.NET is
* <!- - - Comment - - - >
* <!- - Comment - - >
* <% - - Comment - - %>
* <% ! - - Comment - - >

Answer :

<% - - Comment - - %>


Question 28 :

The event handlers that can be included in the Global.asax file are
* Application Start and
Session Start event handlers only
* Application End and
Session End event handlers only
* Per-request and Non-deterministic event handlers only
* Application Start and End ,

Answer :

Application Start and End


Question 29 :

A Few of the Namespaces that get imported by default in an ASPX file are
* System, System.Data, System.Drawing,
System.Globalization
* System,
System.IO, System.Management, System.Globalization
* System, System.Collections,
System.Text, System.Web
* System,
System.NET,
System.Reflection, System.Web

Answer :

System, System.Collections, System.Text, System.Web


Question 30 :

The Assemblies that can be referenced in an ASPX file without using @Assembly Directive is
* System.dll, System.Data.dll,
System.Web.dll, System.Xml.dll,
* System.dll,
System.Collections.dll, System.IO.dll
* System.dll, System.Reflection.dll,
System.Globalization.dll,
* System.Drawing.dll, System.Assembly.dll,
System.Text.dll

Answer :

System.dll, System.Data.dll, System.Web.dll, System.Xml.dll