当前位置:MCPD(70-536)题库

问题:

[单选] 你正在开发一个执行数学计算的应用程序。你创建了一个类CalculationValues,并且写了一个操作CalculationValues类的实例的、名为PerformCalculation的程序。你需要保证当计算被执行的时候,用户界面能够继续响应。为此,你需要写一个代码段去调用PerformCalculation过程去达到目的,你应该使用下面那个代码段?()

A .
B .
C .
D .

Your network contains a server named Server1 that runs Windows Server 2008 R2. Server1 has the File Services role installed. You configure a file classification rule. You discover that scanned documents stored as JPG files are not being classified. You need to ensure that all file classification rules apply to scanned documents. What should you do?() Enable the Windows TIFF IFilter feature.。 Modify the properties of the file classification rule.。 Modify the properties of the Windows Search Service.。 Install the Office 2007 System Converter: Microsoft Filter Pack.。 按国际制的土壤粒级划分标准,粉粒粒径应为()。 0.02-0.001mm。 0.02-0.002mm。 0.02-0.003mm。 0.02-0.004mm。 设置一个没有超链接功能的图像变化(即当鼠标指向页面中的图像时显示另外的图像,当鼠标离开页面中的图像时显示原图像),应使用Dreamweaver8的()功能。 简述太阳的结构。 逻辑思维最大的特点和优势在于它具有思维的()。 严密性。 必然性。 可靠性。 确定性。 你正在开发一个执行数学计算的应用程序。你创建了一个类CalculationValues,并且写了一个操作CalculationValues类的实例的、名为PerformCalculation的程序。你需要保证当计算被执行的时候,用户界面能够继续响应。为此,你需要写一个代码段去调用PerformCalculation过程去达到目的,你应该使用下面那个代码段?()
参考答案:

  参考解析

UI继续做出响应是要求,所以PerformCalculation程序应该去执行通过不直接连接的方式。PerformCalculation程序需要一个参数所以你应该使用ParameterizedThreadStart委托。选项A和选项B试图提供一个参赛给ParameterizedThreadStart委托,这是不可能的。选项C不能运行用一种新的方式,所以可能使得UI界面无任何响应。所以选D

在线 客服