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 27
Ngày làm bài: Hôm nay lúc 14:53:56 (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-
You are working for an online retailer on a section of the site that allows people to create new customer records. At the moment the customer table has primary key of first name and last name.
You get a support call one day form customer care stating that John Smith cannot create a new account. Upson investigation you realize that you already have a John Smith as a customer.
How would you alter the database to allow for multiple customers with the same name?
  A - 
Add a timestamp field to the customer table and include it in primary key.
  B - 
Have John Smith create his records as John Smith2.
  C - 
Crete a new field called CustomerID of type integer and make it an identity field and the primary key.
  D - 
Remove the primary key so the second John Smith can add his record.
2-
You are a developer working on transaction processing application for an online retailer. You are currently implementing a new feature where the exact date and time of the transaction is stored, so that you can guarante shipment within 48 hours.
You are working on a report that locates unshipped orders that are more than 40 hours old. You find that some orders are causing data errors. Upon investigation you find that the order date and time are being stored in an nvarchar(30) field and that the format of the date is not uniform.
What is the best way to fix this problem?
  A - 
Change the datatype on the field to datetime and rewrite the query.
  B - 
Change the data type to varchar(30).
  C - 
Write a function that parses all the different date formats and returns the data you need.
  D - 
Write a stored procedure that checks for missing medical record numbers and assigns them. Schedule this stored procedure to run nightly.
3-
You are working for a medical records ompany. Your company makes serveral products all of which use the same database. One of your applications is reporting a data error because there is no medical record number associated with some of the medical records.
Upon investigation you discover that the pocket PC application is not requiring that a medical record number be generated for each record. The pocket PC group is asked to fix their application and you are asked to fix the database.
After you assign medical record numbers to the orphan records, what is the best solution?
  A - 
Make the MedicalRecordNo field required in the table.
  B - 
If a theme is defined in web.config
  C - 
Write a stored procedure that checks for missing medical record numbers and assigns them. Schedule this stored procedure to run nightly.
  D - 
Write a trigger that sends you an email when a record is written without a medical record number.
4-
You can use a compare validator to perform all but one of the following validations. Which one is it?
  A - 
Compare the value of a control with an expression that refers to the value of another control.
  B - 
Compare the value of a control with the value of another control
  C - 
Compare the value of a control with a constant value
  D - 
Check for a specific data type
5-
You cannot directly apply an ASP.NET theme to a master page. However, themes are applied to master pages under these circumstances:
  A - 
All of the others
  B - 
If a theme is defined in web.config
  C - 
If a global theme is defined
  D - 
If a theme is defined in the content page. Master pages are resolved in the content pages, so the content page’s theme is applied to the master page as well.
6-
You create an ASP.NET page that allows a user to enter a requested delivery date in a TextBox control named requestTKDate. The date must be no earlier than two business days after the order date, and no later that 60 business days after the order date.
You add a CustomValidator control to your page. In the Properties window, you set the ControlToValidate property to requestTKDate.
You need to ensure that the date entered in the requestDate TextBox control falls within the acceptable range of values. In addition, you need to minimize the number of round trips to the server.
What should you do?
  A - 
Set the AutoPostBack property of requestDate to True.
Set the ClientValidationFunction property to the name of a script function contained in the HTML page that is sent to the browser.
  B - 
Set the AutoPostBack property of requestDate to False.
Set the ClientValidationFunction property to the name of a script function contained in the HTML page that is sent to the browser.
  C - 
Set the AutoPostBack property of requestDate to False.
Write code in the ServerValidate event handler to validate the date.
  D - 
Set the AutoPostBack property of requestDate to True.
Write code in the ServerValidate event handler to validate the date.
7-
You create an ASP.NET application for Regalia Bank. The project manager requires a standard appearance for all Web applications. Standards are expected to change periodically. You need to enforce these standards and reduce maintenance time.
What should you do?
  A - 
Create a sample ASP.NET Web form.
  B - 
Create a cascading style sheet.
  C - 
Create a Microsoft Visual Studio .NET Enterprise template.
  D - 
Create a sample HTML page.
8-
You have developed a timeheet entry application that will be used by all employees in your company. You have used ASP.NET to develop this application and have deployed it on the company’s Web server. What should all the employees of the company install on therir computers before accessing the timesheet entry application.
  A - 
Visual Studio .NET
  B - 
.NET Framework SDK
  C - 
.NET Famework Redistributable
  D - 
A Web browser
9-
You have organized your files two folder: web_pages and web_image.
The folder web_images contains an image "theseus.jpg" which should appear on the page main.html in the folder web_pages.
Which is the correct code:
  A - 
<img src= "./web_images/theseus.jpg"/>
  B - 
<img src= "theseus.jpg"/>
  C - 
<img src= "/web_images/theseus.jpg"/>
  D - 
<img src= "../web_images/theseus.jpg">
10-
You have designed a Web form that uses a DropDownList control to allow a user to select a state containing her shipping address. You’ve implemented an event handler for the SelectedIndexChanged event to update the sales tax amount displayed on the Web form when a new state is selected.
User report that the sales tax amount is not updated no matter which state they choose in the DropDownList control.
What must you do to fix this problem?
  A - 
Set the EnableViewState property of the DropDownList control to true.
  B - 
Move the code to the PreRender event of the DropDownList control.
  C - 
Set the AutoPostBack property of the DropDownList control to true.
  D - 
Replace the DropDownList control with a ListBox control
 
[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 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 10
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 63
Trắc nghiệm XML - Bài 06
Trắc Nghiệm ASP.NET (English) - Bài 21
Trắc Nghiệm Visual Basic - Bài 41
10 Câu Hỏi Trắc nghiệm Về ASP.NET - Phần 01
Trắc Nghiệm Visual Basic - Bài 01
Trắc Nghiệm Thiết Kế Web (English) - Bài 02
Trắc nghiệm C++ - Bài 15
Trắc Nghiệm Visual Basic - Bài 29
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 15
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 14
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 15
Trắc Nghiệm Visual Basic - Bài 28
Trắc Nghiệm Java - Bài 05
Trắc nghiệm XML - Bài 11
Trắc Nghiệm Pascal - Bài 16
Trắc Nghiệm Pascal - Bài 26
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 26
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