Discussion
A search algorithm takes ............... as an input and returns .............. as an output.
Answer: B
A search algorithm takes a problem as input and returns a solution.
The problem is defined by an initial state, the available actions, the transition model, a goal test and path costs. The algorithm searches the state space and returns a solution, usually a sequence of actions leading from the initial state to a goal.
'Input, output' is too vague, and 'solution, problem' reverses the relationship. A sequence of actions is what the solution typically contains, but parameters alone are not what the algorithm receives.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development