View Count: 0
Duration: 51 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 16
User input validation should occur on __________ 
Options:
  1. Server –side
  2. Client-side
  3. Both A and B
View Answer/Explanation:
c
Explanation:
Both server and client side validations should be done. Sometimes users can disable javascript in that scenario server side validations will be executed. All the user validation should occur on the server rather than the client validation as the user can view the code that is created for validation. If the developer wants to have more secured system for sending the data then server side validations must be implemented. The client side validations will reduce the load on the server and network traffic it is preferred to give the minimal validations on the client side and more validations on the server side for the secured data submissions.

Question No: 2 of 16
A  WebForm always submits to _________________ . 
Options:
  1. The specified action attribute
  2. To itself
  3. To a different form
  4. None of the above
View Answer/Explanation:
b
Explanation:
The webform which doesn’t have action attribute, always submits to itself by default.

Question No: 3 of 16
The default method rendered by the Webform in ASP.NET is ________ . 
Options:
  1. POST
  2. GET
  3. None of the above
View Answer/Explanation:
a
Explanation:
.

Question No: 4 of 16
What is the use of AutoEventWireup? 
Options:
  1. For associating events and methods
  2. For associating controls and properties
  3. Both A and B
  4. None of the above
View Answer/Explanation:
a
Explanation:
By default AutoEventWireup is true. With this property set, reason Page_Init and Page_Load handlers are automatically bind to events at run time.If it is set to false, then the events are should be binded manually.

Question No: 5 of 16
What is the use of Inherits attribute in Page directive? 
Options:
  1. It is the class from which the “Page” is derived
  2. It is a property to describe the page
  3. It specifies the partial class that is in code-behind
  4. None of the above
View Answer/Explanation:
c
Explanation:
It defines the codebehind class for the page to inherit. The attribute contains the path to the sourcefile to the codebehind file . <%@ Page Language="C#" MasterPageFile="~/AdminMaster.master" AutoEventWireup="true" EnableViewState="false" CodeFile="ManageRole.aspx.cs" Inherits="Admin_ManageRole" Title="Best DotNet Training - Manage Role" %>

Question No: 6 of 16
What will be the compiled output when ASP.NET web application is built? 
Options:
  1. EXE
  2. DLL
  3. A or B
  4. None of the above
View Answer/Explanation:
b
Explanation:
When an ASP.NET web application is build in VS.NET the compiled output is stored by default in a temporary folder by name “Temporary ASP.NET Files”.

Question No: 7 of 16
Every server side control renders _________ output to the web browser. 
Options:
  1. PHP
  2. ASP
  3. HTML
  4. All the above
View Answer/Explanation:
c
Explanation:
.

Question No: 8 of 16
How to map the radio buttons to same event handler of the option being changed? 
Options:
  1. Providing the same GroupName
  2. Giving the same event handler to the OnCheckChanged attribute of radio buttons
  3. Both a and b
  4. None of the above
View Answer/Explanation:
c
Explanation:
We can group the radio buttons by seeting the NameProperty common to all the controls and grouping all the radio buttons into one group.

Question No: 9 of 16
What does the second parameter of event handler provide? 
Options:
  1. Gives the object that identifies the control
  2. Sends state information to an event handler
  3. Both a and b
  4. None of the above
View Answer/Explanation:
b
Explanation:
Event handlers have two parameters . The object by which the event has been raised id represented using the first parameter. The information regarding the event is represented by the second parameter. This is generally an object of type EventArgs.

Question No: 10 of 16
The events that do not pass any state information to an event handler use the following class: 
Options:
  1. EventArgs
  2. NullEventArgs
  3. EmptyEventArgs
  4. None of the above
View Answer/Explanation:
a
Explanation:
Event Args serevvess as the top class for all classes that contain the event data. It doesnot contain any event data . All the events that does not give any state information when the event is raised uses thathe class EventArgs.

  1