Especially (but not only) with technical problems, people often ask questions in a way that assumes a certain solution.
Where can I get a cheap taxi to the airport?
But the person really just wants to get to the airport cheaply, and the best answer might be "Take the train." However, the question already assumes that a taxi is the right solution.
What is the best glue to assemble a wooden garden shed?
Which assumes that using glue is appropriate, when nails or screws might be better.
This behaviour is also described in "How To Ask Questions The Smart Way" by Eric Steven Raymond: Describe the goal, not the step.
Is there an expression for this kind of questions? It is similar to "begging the question", but not quite the same.