The telemetry system of a satellite records its pitch angle deviation (in degrees) from its target orbit at eight consecutive checkpoints in a one-dimensional array:
| −0.15-0.15−0.15 | 0.420.420.42 | −0.88-0.88−0.88 | 1.121.121.12 | −0.04-0.04−0.04 | 0.670.670.67 | −0.23-0.23−0.23 | 0.050.050.05 |
State why a binary search algorithm cannot be used to locate a specific pitch angle deviation in this array.
159 exam-style questions on Edexcel GCSE Computer Science Algorithms, covering Constructs for solving problems, Variables, constants and data structures, Arithmetic, relational and logical operators, Tracing algorithm output with trace tables, Types of error and correcting logic errors, Standard algorithms (sorts and searches), and Evaluating algorithm fitness and efficiency. Each one has a worked solution and a mark scheme showing where the marks go.