1.
The same number of requests are sent to two systems, one using the ISAPI model and the other working on a CGI model.
Which of the following statements is most likely to be true in this scenario?
2.
Following is a paragraph question.
You want to monitor an application's execution and performance in deployed environment.
Which of the following code snippets when added to the web.config file will enable silent tracing for all the web pages of the application?
3.
Given are two statements S1 and S2. Read the two statements and mark the appropriate option.

S1: The method used for concatenating strings in the given code snippet is an expensive operation

S2: The ASP.NET framework copies the existing and new data to the memory, deletes the existing string, and reads data in a new string
 
"Dim j As Integer
For j = 0 To 100000
strn += j.ToString()
Next j"
4.
In .NET, which of these state-management strategies have global scope?
5.
Which of the following is not a valid session-state mode provided by ASP.NET?
6.
It is mandatory to fill the Password and Confirm password fields and the information entered should not be visible. Also, the values in these fields should match. Which of the following validators will you select?
7.
In ASP.NET, if more than one validators are set against a text box in a web form there can be a conflict in the display of error messages. This will result in overlapping of the error messages. How will you avoid this?
8.
You are required to design an ASP.NET web form with a Submit button. When this button is clicked, if there is an error, missing value, or mismatch of expression validators, an error message related to all the controls that are should be displayed. How will you ensure that this happens? Also, what happens if ShowMessageBox is set to true in this case?
9.
In ASP.NET, when the submit button is clicked on a form, the TextChanged event will be called if the TextBox AutoPostBack property of the sender is ___________________.
10.

 

An airline information system is created using .NET Framework v4.6. The following code is a part of the flights.xml file:



 
 
<Flights>
  <Flight ID=""1"" Name=""Flight1"" Year=""2006"">
    <Desc Value=""Flight desc""/>
  </Flight>
  <Flight ID=""2"" Name=""Flight2"" Year=""2007"">
    <Desc Value=""Flight desc""/>
  </Flight>
  <Flight ID=""3"" Name=""Flight3"" Year=""2008"">
    <Desc Value=""Flight desc""/>
  </Flight>
</ Flights >

 
 

The following web form is added to the application: 


 
 

1 <form runat="server">
2 <asp:xmldatasource
3 id="XmlDataSource1"
4 runat="server"
5 datafile="flights.xml" />
6 .......
......
7 </form>


Complete the web form to implement the XmlDataSource control to display the XML data in a TreeView control.