You define the following regular expression of currency valu

题目
单选题
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)

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

If you want to pay() something in another currency, you have to change your money into the other money.

A、in

B、back

C、for


参考答案:C

第2题:

The term foreign exchange is best defined by the following statement: it is ______.

A.the rate of exchange between two currencies

B.synonymous with currency exchange

C.the place in which foreign currencies are exchanged

D.an instrument such as paper currency, note, and check used to make payments between countries


正确答案:D
解析:外汇通常指以外国货币表示的可用于国际结算的各种支付手段,包括纸币、支票、票据等。the rate of exchange between two currencies两国货币的汇率。synonymous with currency exchange与货币兑换率含义相同。

第3题:

如果需要确保用户输入大于30的值,应该使用()验证控件。

A.Require Field Validator

B.Compare Validator

C.Range Validator

D.Regular Expression Validator


正确答案:B

第4题:

如果需要确保用户输入大于100的值,应该使用()验证控件。

  • A、Required Field Validator.
  • B、Range Validator
  • C、Compare Validator
  • D、Regular Expression Validator

正确答案:C

第5题:

Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()

A.Define the column MAINID as NOT UPDATABLE

B.Define the column MAINID as a PRIMARY KEY

C.Define the column MAINID as a FOREIGN KEY

D.Define an UPDATE trigger on table TABLEX


参考答案:D

第6题:

- Can I exchange foreign currency in Bank of China -()

A、No, you can’t. Bank of China is not responsible for exchanging foreign currency.

B、Yes, you can. Bank of China is an authorized foreign exchange bank.

C、No, you can’t. Bank of China is not open on Sundays.


参考答案:B

第7题:

短文理解

听力原文: Spot transaction means the actual and variable amount of the currency of one country which at any given time, can be bought for a fixed sum in the currency of another country. It is a term meaning that these transactions are settled on the second working day from the date of the deal. For example, you buy $ 5,000.00 US dollars on October 10th( say Wednesday) , the purchased US dollars will value on October 12th.

21. What does spot transaction mean?

22.When are the spot transaction settled?

23.What's the value date for purchase of $ 5,000.00 US dollars in the passage?

(21)

A.It means that at any time you can buy currency of one country for another currency.

B.It means that the actual and variable amount of one currency can be bought for a fixed sum in another currency at any given time.

C.It means that any kind of currency can be bought at any time for another currency.

D.It means that the actual and fixed amount of the currency of one country at any time can be bought for a variable sum in the currency of another currency.


正确答案:B
解析:录音原文提到Spot transaction means…can be bought for a fixed sum in the currency of another country.现汇交易意味着一国货币可按照现行汇率确定的数额随时兑换固定数额的他国货币。

第8题:

对话理解

听力原文:M: Can I open a foreign currency account and convert my money into a currency which offers the highest interest?

W: Yes, we can arrange that for you, but foreign currency exchange rates are subject to fluctuation and sometimes you will suffer losses.

Q: What does the woman mean?

(11)

A.Interest rate of a foreign currency is much higher.

B.There are risks of losing money sometimes to open a foreign currency account.

C.Foreign currencies exchange rates are relatively stable.

D.It is advisable to open a foreign currency account.


正确答案:B
解析:男士是想开一个外汇账户,但女士提醒男士说外汇汇率会有波动,所以有时会 "suffer losses"。

第9题:

You should convert RMB into foreign currency before you go abroad.

A:alter
B:change
C:buy
D:sell

答案:B
解析:
convert:转变。题干意思为:出国之前你应该把人民币换成外币。alter:改变,更改;change:兑换,改变;buy:买;sell:卖。经过分析,选择B。

第10题:

Derek has created a view in the products.nsf database. Derek wants the markup column in the view to display the selling price of the cost. He wants this value to display in currency. Which one of the following should derekl do? ()

  • A、 use the @currenty in thr column formula in the view  
  • B、 Select currency on the numbers tab in the view properties box 
  • C、 Select currency on the numbers tab in the column properties box 
  • D、 Select currency on the numbers tab in the field properties box 

正确答案:C

更多相关问题