A routing algorithm for a GPS navigation system executes completely without crashing, but it consistently calculates arrival times using the maximum legal speed limits of roads instead of real-time average traffic speeds, leading to incorrect travel estimates.
Explain why this issue represents a logic error.
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.