此题为判断题(对,错)。
第1题:
运用Excel电子表格进行货币时间价值的有关计算时,求利率或折现率用的函数是()。
A.FV(Rate,Nper,Pmt,PV,Type)
B.PV(Rate, Nper, Pmt, FV, Type)
C.PMT (Rate,Nper,PV,FV,Type)
D.RATE(Nper, Pmt, PV, FV, Type)
第2题:
运用Excel电子表格进行货币时间价值的有关计算时,求普通年金终值用的函数是()。
A.FV(Rate,Nper,Pmt,PV,Type)
B.PV(Rate, Nper, Pmt, FV, Type)
C.PMT (Rate,Nper,PV,FV,Type)
D.RATE(Nper, Pmt, PV, FV, Type)
第3题:
下面进行二分搜索的正确代码是
A.def BSearch(data,x): low=0 high=len(data)-1 while(low<=high): mid=(low+high)//2 if(data[mid]==x): return mid elif(data[mid]<x): high=mid-1 else: low=mid+1 return -1#B.def BSearch(data,x): low=0 high=len(data)-1 while(low<=high): mid=(low+high)//2 if(data[mid]==x): break elif(data[mid]<x): low=mid+1 else: high=mid-1 return -1#C.def BSearch(data,x): low=0 high=len(data)-1 mid=(low+high)//2 while(low<=high): if(data[第4题:
运用Excel电子表格进行货币时间价值的有关计算时,求每期等额现金流量用的函数是()。
A.FV(Rate,Nper,Pmt,PV,Type)
B.PV(Rate, Nper, Pmt, FV, Type)
C.PMT (Rate,Nper,PV,FV,Type)
D.RATE(Nper, Pmt, PV, FV, Type)
第5题:
运用Excel电子表格进行货币时间价值的有关计算时,求利率或折现率用的函数是().
A.FV(Rate,Nper,Pmt,PV,Type)
B.PV(Rate, Nper, Pmt, FV, Type)
C.PMT (Rate,Nper,PV,FV,Type)
D.RATE(Nper, Pmt, PV, FV, Type)
第6题:
写出下面代码的运行结果。def addInterest(balance,rate): newBalance=balance*(1+rate) balance=newBalance def main(): amount=1000 rate=0.05 addInterest(amount,rate) print (amount) main()