当前位置:MCTS(70-515)题库

问题:

[单选] You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()

A .  IComparer<T>
B .  IEnumerable<T>
C .  IEnumerator<T>  
D .  IEqualityComparer<T>

You are creating a DataTable. You use the following code segment to create the DataTable. (Line numbers are included for reference only.) 01 Dim dt As New DataTable("Products") 02 dt.Columns.Add(New DataColumn("Price", _ GetType(Decimal))) 03 dt.Columns.Add(New DataColumn("Quantity", _ GetType(Int32))) 04 Dim dc As DataColumn = New DataColumn("Total", _ GetType(Decimal)) 05 dt.Columns.Add(dc) You need to ensure that the Total column is set to the value of the Price column multiplied by the Quantity column when new rows are added or changed. What should you do? () Add the following code segment after line 05. dc.ExtendedProperties("Total") = "Price * Quantity"。 Add the following code segment after line 05. dc.Expression = "Price * Quantity"。 Write an event handler for the DataTable's TableNewRow event that updates the row's Total.。 Write an event handler for the DataTable's ColumnChanged event that updates the row's Total.。 水泥细度试验筛修正系数为标准样在试验筛上的实测筛余百分率与标准样品给定的筛余百分率之比。 企业质量负责人负责医疗器械质量管理工作,应当() 独立履行职责。 在企业内部对医疗器械质量管理具有裁决权。 承担相应的质量管理责任。 负责销售管理。 负责储运管理。 水泥胶砂强度试验的环境温湿度条件是:温度20±5℃,湿度大于50%。 Which of the following solutions will encapsulate IPv6 packets with IPv4 headers?() Create an IPv4 tunnel and assign the tunnel IPv6 addresses。 Create IPv4 interfaces on both ends of the network, and use either static routes or a routingprocess to direct IPv6 packets through those interfaces。 IPv6 packets cannot be encapsulated with IPv4 headers because the addresses are notcompatible。 Create IFV6 interfaces on both ends of the network, and use static routes to point the IPv4address to those interfaces。 Use an IPv6 routing protocol like OSPFv3 and assign IPv4 packets to that process。 Create an IPv4 tunnel and use the tunnel mode ipv6ip command。 You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()
参考答案:

  参考解析

本题暂无解析

在线 客服