0

Web Applications

Description: preparation questions.
Number of Questions: 15
Created by:
Tags: Web Layers-Transport, Network and Application Data Communication and Networks Information Technology
Attempted 0/15 Correct 0 Score 0

A program in ASP.NET shows the list of errors as bulleted list. What is this program named?

  1. Validation summary

  2. Program Summary

  3. Error Summary

  4. Error control

  5. None of above


Correct Option: A
Explanation:

Validation summary programs are used to show the error list in bulleted form in ASP.NET.

What is/are the concept(s) of data binding?

  1. Creating source database tables

  2. Creating maximum and minimum bounds

  3. Pulling all data tables in one memory block

  4. Both 2 and 3

  5. Creating an HTML page


Correct Option: A
Explanation:

Concept of data binding is Creating source data base tables for text boxes,drop down list ,radio buttons etc.

A .NET technology is able to interface with both SQL server .NET and OLEDB.NET. Which concept is also supported by this technology?

  1. Validation data control

  2. Validation data summary

  3. Data binding

  4. Error data control

  5. None of above


Correct Option: C
Explanation:

Data Binding is the concept supported by ASP.NET which is able to interface with both SQL server .NET and OLEDB.NET .

One can communicate with database by putting __________ directly with in ASP.

  1. MDAC

  2. ADOX

  3. ADOMD

  4. ADO

  5. Both 2 and 4


Correct Option: D
Explanation:

ADO can be put directly with in ASP for communicating the data base.

Who displays data grid in ASP.NET?

  1. Data source view

  2. Tree view

  3. Page view

  4. Form View

  5. Menu view


Correct Option: D
Explanation:

Form view displays the data grid in ASP.NET.

Which of the following is/are not opened by a connection with SQL server?

  1. OLEDB provider

  2. Data source

  3. User location

  4. Database

  5. All of the above


Correct Option: C
Explanation:

User location cannot be opened with SQL server.

OleDb Adapter is an example of which database programming?

  1. Stream based data access

  2. Set based data access

  3. Both 1 and 2

  4. Buffer based data access

  5. Grid view based data access


Correct Option: B
Explanation:

OleDb Adapter is set based data access.

Which makes the final HTML representation in a web before the page is sent to client?

  1. JavaScript code

  2. ASP.NET

  3. focus() method

  4. DHTML

  5. Java code


Correct Option: B
Explanation:

ASP.NET makes the final HTML representation in a web before the page is sent to client

An HTML code has finished processing and the page rendered, the ASP.NET adds an extra ____________.

  1. block of JavaScript code

  2. focus()

  3. ASP code

  4. both 1 and 3

  5. HTML code


Correct Option: A
Explanation:

This block of Java script code is added extr by ASP.NET to set the focus to last control for focus()method.

Which of the following are the two handlers of Table page class?

  1. Border of table handler and dynamic creater of row and cell

  2. Row handler and cell handler

  3. Border handler and size handler

  4. Column handler and cell handler

  5. None of the above


Correct Option: A
Explanation:

The two handlers of Table page class are known as Border of table handler and dynamic creater of row & cell.

A user uses explicit submit button in a ASP.NET based web to avoid

  1. slowness in the time consuming option

  2. fast connection system

  3. recreation of objects

  4. repetitions

  5. none of the above


Correct Option: A
Explanation:

A user uses explicit submit button in a ASP.NET based web to avoid Slowness in the time consuming option.

Why are the Exception Handlers in ASP.NET program overlapped in many applications?

  1. The upcoming exception needs more than one handler.

  2. Different upcoming exceptions can be filtered out different types of problems.

  3. Single up coming exception can be filtered out different types of problems.

  4. Different upcoming exceptions can be combined to have one problem only.

  5. None of the above


Correct Option: B
Explanation:

Exception Handlers in ASP.NET program are overlapped in many applications since different upcoming exception can be filtered out different type of problems.

When clicked on the button having following code, which page view will be shown by ASP.NET? asp:Buttton ID = Button 1 run at = server Command Argument = View 15Command Name = SwitchView by ID Text = Go To View (Note: Tags are not shown here.)

  1. View 1

  2. View 2

  3. View 15

  4. View 14

  5. View 5


Correct Option: C
Explanation:

The number in Command Argument is 15 so fifteenth page will be displayed

Following is the first view code of ASP.NET program section: MultiView1.ActiveViewIndex = 0; What should be the code for fifteenth view?

  1. MultiView15.ActiveViewIndex = 0;

  2. MultiView14.ActiveViewIndex = 0;

  3. MultiView15.ActiveViewIndex = 14;

  4. MultiView15.ActiveViewIndex = 15;

  5. MultiView0.ActiveViewIndex =15;


Correct Option: C
Explanation:

This is the correct way of writting code for fifteenth view.

Why will the control not appear in a page, when a visible property of a control is set to false?

  1. Because HTML code is generated for hiding the control.

  2. Because it will not appear in visual studio design surface.

  3. Because HTML code is not generated.

  4. Both 1 and 2

  5. Because the control has not been selected .


Correct Option: C
Explanation:

The control does not appear since the HTML code for displaying it is not generated , since visible property of the control is set to false.

- Hide questions