AI MCQ #739: What is a heuristic function?

Q739. What is a heuristic function?

  • a) A function to solve mathematical problems
  • b) A function which takes parameters of type string and returns an integer value
  • c) A function whose return type is nothing
  • d) A function that maps from problem state descriptions to measures of desirability

✅ Correct Answer: D) A function that maps from problem state descriptions to measures of desirability

Explanation: Heuristic function is a function that maps from problem state descriptions to measures of desirability.