IT认证考试网

设为首页

收藏本站

首页 >> IT认证考试网 >> 微软认证考试 >> 微软认证试题 >> microsoft认证模拟试题 >> 正文

微软MCSD.NET 70-315 TestInside认证考试题库

·上一篇文章:   &  ·下一篇文章:

来源:   点击数:     录入时间:07-08-31 10:50:45

1.You create an ASP.NET application that produces sales reports. The sales data is stored in a Microsoft SQL Server database that is used for transaction processing. The application consists of complex Transact-SQL statements. Many users report that the report generation is taking longer to run each day. You need to improve response times. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.) A:Use an OleDbDataAdapter instead of a SqlDataAdapter to access the data.B:Ensure that appropriate indexes exist on the SQL Server tables.C:Rewrite your SQL statements to use aliases for all table names.D:Rewrite your direct SQL statements as stored procedures and call the stored procedures from your application.E:Configure queries to run in the security context of the user who is running the query.Correct Answers:  B, D 2.You are creating an ASP.NET application for an online bill payment service. The service allows users to pay their bills electronically by using a credit card. The application includes a payment page named Payment.aspx. This page contains a form for entering payee, payment amount, and credit card information. When a user needs to submit a new billing address to a payee, the page form allows the user to provide the new address information. If the user indicates a change of address, the application needs to provide the information to the ProcessAddressChange.aspx page for processing as soon as the user submits the payment page information. The ProcessAddressChange.aspx page processes the request for a change of address but does not provide any display information for the user. When the requested processing is complete, Payment.aspx displays status results to the user. You need to add a line of code to Payment.aspx to perform the functionality in ProcessAddressChange.aspx. Which line of code should you use? A: Response.Redirect("ProcessAddressChange.aspx");B: Response.WriteFile("ProcessAddressChange.aspx");C: Server.Transfer("ProcessAddressChange.aspx", true);D: Server.Execute("ProcessAddressChange.aspx");Correct Answers:  D 3.You are creating an ASP.NET application for Coho Vineyard & Winery. Your application will call an XML Web service run by Wide World Importers. The XML Web service will return an ADO.NET DataSet object containing a list of companies that purchase wine. You need to make the XML Web service available to your application. What should you do? A: On the .NET tab of the References dialog box, select System.Web.Services.dll.B: In the Web References dialog box, type the address of the XML Web service.C: Add a using statement to your Global.asax.cs file, and specify the address of the XML Web service.D: Write an event handler in the Global.asax.cs file to import the .wsdl and .disco files associated with the XML Web service.Correct Answers:  B 4.You are creating a new ASP.NET page named ItemList that displays item and price information for many different items. When a user logs on to the Web site, the page retrieves the current list of prices from a database. ItemList will be accessed by several thousand registered users. When a price list is retrieved for a user, the prices remain valid for as long as the user continues to access the page. Users are allowed to keep the same price list for several days. When ItemList is posted back to the server, you want to ensure that the price list was not altered on the user's computer. You also want to minimize the memory resources consumed on the Web server. Which three parameters should you add to the Page directive in ItemList? (Each correct answer presents part of the solution. Choose three.) A:EnableSessionState="True"B:EnableSessionState="False"C:EnableSessionState="ReadOnly"D:EnableViewState="True"E:EnableViewState="False"F:EnableViewStateMac="True"G:EnableViewStateMac="False"Correct Answers:  B, D, F 5.Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A: Initialize a new instance of the Cache class in the Application.Start event handler.B: Initialize a new instance of the Timer class in the Page.Load event handler.C: Set the Duration attribute of the OutputCache directive in the page.D: In the Web.config file, set the timeout attribute of the sessionState element.Correct Answers:  C 6.You write code to perform standard financial calculations that are required by your company. The code accepts input parameters such as interest rate and investment amount. It then calculates values based on different predetermined scenarios. You want to create a control that encapsulates this functionality. You want to be able to easily use this control by dragging it from the toolbox onto your Web Forms. You also plan to include full support for visual design tools. You want to create a project to test the control. Which two courses of action should you take? (Each correct answer presents part of the solution. Choose two.) A:Create a Web user control.B:Create a Web custom control.C:Create a new Web Form project.Use the COM Components tab of the Customize Toolbox dialog box to specify the new control.D:Create a new Web Form project.Use the .NET Framework Components tab of the Customize Toolbox dialog box to specify the new control.E:Create a new Web Form project.Select Add Reference from the Project menu and browse to the new control.Correct Answers:  B, D 7.You are creating an ASP.NET page for your company. Employees at the company will use the page to enter suggested names for new products. Each suggestion is saved in a Microsoft SQL Server database. The table in the database for suggestions includes the following three columns. To add a suggestion to the ASP.NET page, an employee logs on by entering the appropriate EmployeeID and password. The employee then uses a drop-down list box to select a ProductID and uses a grid to enter suggested names for that product. The employee can enter multiple suggestions for a single product before submitting the page. The database table has a unique index that includes the EmployeeID, ProductID, and Suggestion columns. The unique index does not allow the same suggested name to be recorded twice for the same product by the same employee. You are using a SqlDataAdapter object to insert the suggestions into the database. If one of the suggested names for a product is a duplicate, the database returns an error to your code. You do not want such errors to interrupt processing. You want your code to continue inserting any remaining suggestions entered by the employee. You also want to be able to access a list of any suggested names that were skipped due to errors. What should you do?

本新闻共2页,当前在第1页  1  2  


责任编辑:admin 文章作者:
 
最新热点 最新推荐 相关文章
·Cisco试题库:ccna最新真题(下)(1)-Cisco认
·CCNA,CCNP考试界面
·微软MCITP 70-431 认证考试考题
·CISCO出版认证书籍详细介绍
·OracleDBA创建数据库试题精选-Oracle认证考
·Cisco试题库:ccna最新真题(下)(3)-Cisco认
·CCNP学习考试心得
·OracleDBA存储管理试题选-Oracle认证考试
·MCSE--微软认证系统工程师-(一)-Microso
·Cisco试题库:ccna最新真题(下)(4)-Cisco认
·主流CCNA实验模拟器介绍(2004版)
·CCNA教程之七层模型详解
·安装配置——路由器的硬件连接一(组图) 

·EMC e20-095 认证考试题
·EMC e20-580 认证试题
·EMC E20-535认证考试试题
·EMC E20-860 认证考试试题
·EMC E20-870 认证考题
·Nortel 920-139 考试题库
·Nortel 920-140 考试题库
·Nortel 920-158 考试题库
·Nortel 920-161 考试题库
·Nortel 920-162 考试题库
·思科 646-561
·思科 642-564
·思科 642-567

中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
中搜索
微软MCSD.NET 70-315 TestInside认证考试题库
其他认证试题
SUN认证考试  SUN认证资讯
HP认证考试
ibm认证考试
Oracle认证考试  Oracle经验交流  Oracle综合辅导  Oracle试题库  应用技术辅导  报考指南  Oracle资讯
思科认证考试  Cisco认证报考指南  Cisco认证心得体会  思科认证试题  Cisco认证综合指导  思科CCIE认证考试  思科CCNP认证考试  思科CCNA认证考试  思科认证考试动态
微软认证考试  微软认证试题  microsoft认证模拟试题  microsoft认证历年真题  Microsoft认证心得技巧  Microsoft综合辅导  微软认证考试辅导  微软认证MCSD指导  微软认证MCAD指导  微软认证MCT指导  微软认证MCDBA指导  微软认证MCSA指导  微软认证MCDST指导  微软认证MCP指导  微软认证MCSE指导  Microsoft认证报考指南  微软认证考试动态
设为首页 关于我们 广告服务 联系我们 网站地图 加入收藏 网站声明 友情链接 考试认证论坛 意见反馈
Copyright©2007-2008 www.mbsexam.com All Rights Reserved.