下面哪个选项可以交换指针p和q所指的int型变量的值()
A. temp = p;
B. p = q;
C. q = temp;
D. B.temp = p;
E. p = q;
F. q = temp;
G. C.temp = p;
H. p = q;
I. q = temp;
J. D.temp = &p;
K. p = q;
L. q = temp;
Jones wishes to know how much she should set aside now at 7% interest in order to accumulate a sum of $5,000 in four years. She should use a table for the()
A. Present value of 1
B. Future value of 1
C. Present value of an ordinary annuity of 1
D. Future value of an annuity due of 1
Jones won $5,000,000 in the state lottery which she has elected to receive at the end of each month over the next thirty years. She will receive 7% interest on unpaid amounts. To determine the amount
A. Present value of an annuity of 1
B. Future value of an annuity due of 1
C. Present value of an ordinary annuity of 1
D. Future value of an ordinary annuity of 1
以下对于字符串的相关操作,正确的输出结果是哪些选项()
A. >>> ‘Life is short, you need Python.’.find(‘you’)
B. 15
C. B.>>> seq = [1, 2, 3, 4];sep = ‘+’;
D. sep.join(seq)
E. ‘1+2+3+4’
F. C.>>> print(‘{:5.3f}’.format(math.pi))
G. 3.1416
H. D.>>> print(‘you’ in ‘Life is short, you need Python.’)
I. True