Heuristics for Problem Solving (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What is the primary purpose of a heuristic in problem solving?
What is the primary purpose of a heuristic in problem solving?
Provide a quick, good enough solution
In the A* algorithm, what does represent?
In the A* algorithm, what does represent?
Actual cost to reach node
What is the formula for the total cost function in the A* algorithm?
What is the formula for the total cost function in the A* algorithm?
What does the Manhattan Distance formula calculate for grid-based pathfinding?
What does the Manhattan Distance formula calculate for grid-based pathfinding?
Estimated distance to the goal
What is the Manhattan Distance formula?
What is the Manhattan Distance formula?
How do heuristics improve efficiency in algorithms?
How do heuristics improve efficiency in algorithms?
By reducing the search space
When are heuristics particularly useful?
When are heuristics particularly useful?
For complex or large-scale problems
What is a major drawback of using heuristics?
What is a major drawback of using heuristics?
They may not produce optimal solutions
In chess AI, which factors are used as heuristics to evaluate the board?
In chess AI, which factors are used as heuristics to evaluate the board?
Material balance and piece mobility
What heuristic is used for route optimisation in delivery truck problems?
What heuristic is used for route optimisation in delivery truck problems?
Straight-line distance estimate
In the A* algorithm, what does represent?
In the A* algorithm, what does represent?
Heuristic estimate to goal from
What is a common mistake when designing heuristics?
What is a common mistake when designing heuristics?
Choosing poor heuristics
