A.Contra asset, debit
B.Contra asset, credit
C.Asset, debit
D.Asset, credit
第1题:
阅读下列代码片段 class InterestTest——ActionListener{ public"void actionPerformed(ActionEvent event){ double interest=balance*rate/1 00 ; balance+=interest; NumberFormat format=NumberFormat.getCur- rencyInstance; System.OUt.print]b("balance="+formatter. format(balance)); } Private double rate; } 在下画线处,应填的正确选项是( )。
A.Implementation
B.Inheritance
C.implements
D.extends
第2题:
You are the administrator of a Windows Server 2003 computer named Testking1.Backups of the System State data of Testking1 occur each day by using the localAdministrator account.A new requirement restricts you from running services by using theAdministrator account. To meet the requirement, you create a new service accountnamed BackupTestking1 to be used for backups. You want this account to have theminimum permissions necessary to perform backups.You need to grant the appropriate permissions to the BackupTestking1 account andto configure the backup job to use the BackupTestking1 account.What should you do?()
A. Add the BackupTestking1 account to the Server Operators group. Modify the backup Scheduled Task to use the BackupTestking1 account.
B. Add the BackupTestking1 account to the Backup Operators group. Modify the backup Scheduled Task to use the BackupTesking1 account.
C. Add the BackupTestking1 account to the Server Operators group. Modify the Task Scheduler service to use the BackupTestking1 account.
D. Add the BackupTestking1 account to the Backup Operators group. Modify the Task Scheduler service to use the BackupTestking1 account.
第3题:
第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题:
A.HCU\SAM\SAM\Domains\Account\Users\Names
B.HCR\SAM\SAM\Domains\Account\Users\Names
C.HLM\SAM\SAM\Domains\Account\Users\Names
D.HCR\SAM\Domains\Account\Users\Names
第6题:
写出下面代码的运行结果。def addInterest(balance,rate): newBalance=balance*(1+rate) balance=newBalance def main(): amount=1000 rate=0.05 addInterest(amount,rate) print (amount) main()