gaokao 2019 Q9

gaokao · China · national-III-science 5 marks Sequences and Series Algorithmic/Computational Implementation for Sequences and Series
Executing the flowchart on the right, if the input $\varepsilon$ is 0.01, then the output value of $s$ equals
A. $2 - \frac { 1 } { 2 ^ { 4 } }$
B. $2 - \frac { 1 } { 2 ^ { 5 } }$
C. $2 - \frac { 1 } { 2 ^ { 6 } }$
D. $2 - \frac { 1 } { 2 ^ { 7 } }$
Executing the flowchart on the right, if the input $\varepsilon$ is 0.01, then the output value of $s$ equals

A. $2 - \frac { 1 } { 2 ^ { 4 } }$

B. $2 - \frac { 1 } { 2 ^ { 5 } }$

C. $2 - \frac { 1 } { 2 ^ { 6 } }$

D. $2 - \frac { 1 } { 2 ^ { 7 } }$