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

问题:

[单选]

You define the following regular expression of currency values:
regex tx = new regex("^-?\d+(\.\d{2})?$")
You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use.
What should you do?()

A . The tx.Matches(Bill)
B . The tx.Equals(Bill)
C . The tx.Match(Bill)
D . The tx.IsMatch(Bill)

你是150台WINXP专业版电脑的管理员。这些电脑是一个Win2000域的成员。你使用组策略对象(GPOs)和Windows Installer来为电脑安装应用程序。App Menegers组的用户需要经常使用新应用程序。你想配置这个程序以便所有150电脑都能它,但你不想这个程序在安装以前出现在Start菜单里。你怎么办?() 使用连接到域的一个GPO来给用户指派新应用程序,从App Menegers组过滤那个GPO。 使用连接到域的一个GPO来给用户发布新应用程序,从App Menegers组过滤那个GPO。 使用连接到域的一个GPO来给电脑分配新应用程序,从App Menegers组过滤那个GPO。 使用连接到域的一个GPO来给电脑发布新应用程序,从App Menegers组过滤那个GPO。 对混凝土结构出现的裂缝,经分析研究后如果不影响结构的安全和使用时,对其可采取的处理方式是()。 修补处理。 加固处理。 返工处理。 不作处理。 以下人员可以成为非法经营同类营业罪犯罪主体的是() 国有独资公司的董事。 国有企业的经理。 股份有限公司的董事。 中外合资企业的经理。 You need to design a strategy for managing the messages that are sent to the customer service mailboxes. What should you do?() Create a separate storage group and database to contain the customer service mailboxes. Enable circular logging for this storage group。 Create a separate storage group and database to contain the customer service mailboxes. Set the deleted item retention period for this database to zero。 Place the customer service mailboxes on a new mailbox store in the storage group that contains the main office user mailboxes. Enable circular logging for this storage group。 Place the customer service mailboxes on a new mailbox store in the storage group that contains the branch office user mailboxes. Set the deleted item retention period for this database to zero。 根据《2000通则》,DAF贸易术语() 只适用于公路运输。 只适用于铁路运输。 可适用于铁路和公路运输。 可适用于各种运输方式。

You define the following regular expression of currency values:
regex tx = new regex("^-?\d+(\.\d{2})?$")
You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use.
What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服