Checking account(or bank money) 支票帐户(或银行货币)
在商业银行或其他金融机构中的存款,允许以支票方式提款,故属交易货币(或称M1)。也称支票存款(checkable deposit),它是M1的最大组成部分。
第1题:
A.Accountaccount=request.getResource(”account”):
B.Accountaccount=request.getAttribute(“account”):
C.Accountaccount=request.getParameter(account”):
D.Accountaccount=(Account)request.getResource(“account”):
E.Accountaccount=(Account)request.getAttribute(“account”):
F.Accountaccount=(Account)request.getParamter(“account”):
第2题:
A.www.bank-of-chinA.com.cn
B.www.bank-of-chinA.com
C.www.bankofchinA.com
D.www.bank_of_chinA.com
第3题:
下面选项中,更新account表中money字段值,其取值在100-200之间,现在将money字段值增加50,能够正确执行上述要求的SQL语句是
A.update account set money + 50 where money >=100 and money <=200;
B.update account set money = money + 50 where money >=100 or money <=200;
C.update account set money = money + 50 where money between 100 and 200;
D.update account set money = money + 50 where money <=200 and money >=100;
第4题:
现有人编写了帐号类Account,用于管理个人的存款余额, public Account{ private double balance; //帐号余额,余额最低为0 public double getBalance(){ return balance; } Public void setBalance(double b){ balance=b; } public double withdrawl(double money) throws Exception { //取款,money如果为负数或余额不足,抛出异常 } } 请用错误推测法为withdrawl()函数至少设计3个测试用例,并写出基于Junit的测试代码 。
第5题:
3、下面选项中,更新account表中money字段值,其取值在100-200之间,现在将money字段值增加50,能够正确执行上述要求的SQL语句是
A.update account set money + 50 where money >=100 and money <=200;
B.update account set money = money + 50 where money >=100 or money <=200;
C.update account set money = money + 50 where money between 100 and 200;
D.update account set money = money + 50 where money <=200 and money >=100;