Tìm kiếm:
TRANG NHÀ
Giới thiệu VNEDU.ORG
Điều khoản và bản quyền
Liên lạc VNEDU
TRẮC NGHIỆM TRỰC TUYẾN
---Công Cụ:---
Soạn Biểu thức
Bảng màu HTML
Ký hiệu đặc biệt 01
Ký hiệu đặc biệt 02
Ký hiệu đặc biệt 03
Ký hiệu đặc biệt 04
Ký hiệu đặc biệt 05
Ký hiệu đặc biệt 06
Ký hiệu đặc biệt 07
Ký hiệu đặc biệt [Toán]
Tin Học   ||  Căn Bản    Văn Phòng    Hệ Thống - Mạng    Phần Mềm Ứng Dụng    Kỹ thuật số    Lập trình    SQL  

Trắc Nghiệm ASP.NET (English) - Bài 22
Ngày làm bài: Hôm nay lúc 21:18:49 (Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Yêu cầu hoàn thành: 60 phút.
Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:


1-
While creating an ASP.NET web application which help of Visual Studio 2005 you are creates a Web page that has server related buttons, such as fast-forward, reverse, play, stop, and pause. There should be one event handler that handles the processes of PostBack from these Button server controls. Other than the normal Submit button, what type of button can you create?
  A - 
ManyToOne
  B - 
OneToMany
  C - 
Command
  D - 
Reset
2-
While creating web site you neeed to add an HTML Web server control to the Web page, you need to drag an HTML element from the ToolBox of Visual Studio 2005 to the Web page and then which of the following tasks you will perform?
  A - 
Click the HTML element and set ServerControl to true in the Properties window
  B - 
Right-click the HTML element and click Run=Server
  C - 
Double-click the HTML element to convert it to an HTML server control
  D - 
Right-click the HTML element and click Run As Server Control
3-
While developing ASP.NET 2.0 web application you want to display a list of parts in a master/detail scenario where the user can select a part number using a list that takes a minimum amount of space on the Web page. When the part is selected, a DetailsView control displays all the information about the part and allows the user to edit the part. Which Web control is the best choice to dislay the part number list for this scenario?
  A - 
The RadioButtonList control
  B - 
The TextBox control
  C - 
The DropDownList control
  D - 
The FormView control
4-
XML is an acronym for ____.
  A - 
Extra Markup Language
  B - 
Extensible Markup Language
  C - 
Exact Markup Language
  D - 
Exciting Markup Language
5-
You allow users to edit product information on a DataGrid control bound to a DataSet object. When a user clicks the Update button on the form, you call the SqlDataAdapter.Update() method to cause the changes from the DataSet object to persist to the underlying database.
Users reports that new records and updated rows are saved properly but deleted rows are reappearing the next time they run the application. What could be the problem?
  A - 
The users do not have permission to update the underlying table
  B - 
The DeleteCommand property of the SqlDataAdapter object points to a SqlCommand object that does not property delete rows.
  C - 
The Update() method does not delete rows
  D - 
Some is restoring an old version of the database between the two executions of the program
6-
You are designing a global time-entry system for a multinational company. It will be an ASP.NET application served over the Internet through the company’s Web server. You are designing an error-handling mechanism for this application and want the application to show a customized error page for all HTTP errors. All unhandled exceptions caused by ASP.NET pages within your application should be logged in the Web server’s event log; all other applications on the Web server should remain unaffected. You want a solution that requires minimum modifications.
Which of the following places will be your preferred places to write this code?
  A - 
In the ASPX page, using the Page directive
machine.config
  B - 
machine.config
global.asax
  C - 
web.config
global.asax
  D - 
In the ASPX page, using the Page directive
global.asax
7-
You are developing a component that nedd to expose a property named Count to its container. The Count property should be read-only . How should you implement the property?
  A - 
private int count;
public int Count
{
get{count=value;}
}
  B - 
private int count;
  C - 
private int count;
public int Count
{
get{return count;}
set{count=value;}
}
  D - 
private int count;
public int Count
{
get{return count;}
}
8-
You are maintaining an ASP.NET application named HUISalesForecast. The application is writen in Visual C# .NET. The application includes a page named FirsQuarter.aspx that resides within the Sales namspaces. The page class is named FirstQuarter.
You discover that another developer inadvertently deleted the Page directive for FirstQuarter.aspx. You want to create a new Page directive to allow FirstQuarter.aspx to work property.
Which directive should you use?
  A - 
<%@ Page Language= "c#" Codebehind= "FirstQuarter.aspx.cs" Inherits= "Sales.FirstQuarter"%>
  B - 
<%@ Page Language= "c#" Codebehind= "FirstQuarter.aspx.cs" Classname= "Sales.FirstQuarter" Inherits= "FirstQuarter"%>
  C - 
<%@ Page Language= "c#" Codebehind= "FirstQuarter.aspx.cs" Classname= "Sales.FirstQuarter" Inherits= "FirstQuarter"%>
  D - 
<%@ Page Language= "c#" Codebehind= "FirstQuarter.aspx.cs" Inherits= "FirstQuarter"%>
9-
You are creating an ASP.NET page for HUI. The page uses string concatenation to gather data from multiple e-mail messages and format the data for display on the page
You want to ensure that the page displays as quickly as possible. What should you do?
  A - 
Write code that uses the Append method of the StringBuider object
  B - 
Write code that uses the Concat method of the String object
  C - 
Write code that uses the plus-sgn(+) operator to concatenate the strings
  D - 
Write code that uses the Substring method to the String object
10-
You are createing an ASP.NET application called TestKApp that will be used by companies to quickly create information portals customized to their business.
TestKApp stored commonly used text strings in application variables for use by the page in your application.
You need your application to initialize these text strings only when the first user accesses the application. What should you do?
  A - 
Include code in the Page.Load event handler for the default application page that sets the values if the text strings when the IsPostback property of the Page object is False.
  B - 
Add code to the Application_OnStart event handler in the Global.asax file to set the values of the text strings
  C - 
Include code in the Page.Load event handler for the default application page that sets the values of the text strings when the IsNewSession property of the Session object is set to True.
  D - 
Add code to the Application_BeginRequest event handler in the Global.asax file to set the values of the text strings.
 
[Người đăng: Thành Lãm - ST]
Ghé thăm Kênh của Vị Sư "hai lần chết đi sống lại"
Tu Si Chau Soc Thon

https://www.youtube.com/channel/UCoyC9WTTVR-M3qpTKKEXGnQ

Chau Soc Thon Official Channel


Phong Bảo Official
Phong Bao Official
Xem Nhiều nhất
Trắc Nghiệm Pascal - Bài 20
Trắc Nghiệm ASP.NET - Bài 12
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 16
Trắc Nghiệm ASP.NET - Bài 01
Trắc Nghiệm ASP.NET - Bài 03
Trắc nghiệm C++ - Bài 18
Trắc Nghiệm C# - Bài 53
Trắc Nghiệm ASP.NET - Bài 02
Trắc Nghiệm C# - Bài 42
Trắc Nghiệm Java - Bài 01
Trắc Nghiệm ASP.NET - Bài 04
Trắc Nghiệm Pascal - Bài 22
Trắc Nghiệm ASP.NET - Bài 13
Trắc Nghiệm ASP.NET - Bài 09
Trắc Nghiệm ASP.NET - Bài 08
Trắc nghiệm PHP - Bài 01
Trắc Nghiệm ASP.NET - Bài 06
Trắc Nghiệm ASP.NET - Bài 11
Trắc Nghiệm ASP.NET - Bài 05
Trắc Nghiệm ASP.NET - Bài 23
Đề Xuất
Trắc Nghiệm Java - Bài 11
Trắc Nghiệm C++ - Bài 06
Trắc Nghiệm C# - Bài 53
Trắc Nghiệm Thiết Kế Web (English) - Bài 06
Trắc nghiệm Linux ( English ) - Bài 21
Trắc Nghiệm Visual Basic - Bài 36
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 33
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 55
Trắc Nghiệm C Sharp - Bài 31
Trắc Nghiệm Thiết Kế Web - Bài 19
Trắc Nghiệm Java - Bài 50
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 11
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 39
Trắc Nghiệm Visual Basic - Bài 35
Trắc Nghiệm C Sharp - Bài 25
Trắc Nghiệm Thiết Kế Web (English) - Bài 49
Trắc Nghiệm Java - Bài 16
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 38
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 07
Trắc Nghiệm ASP.NET (English) - Bài 03
Phát triển hệ thống: TRƯƠNG HỮU ĐỨC - Phiên bản 3.0 - © Copyright 2013 - 2024 - VNEDU.ORG

free counters