+1 vote
in Artificial Intelligence by
You have a program that outputs the message "illegal input line" when fed a certain input file. You want to determine what line in the input file is causing the problem.

1 Answer

+1 vote
selected by
Best answer

The initial state: Considering all input records

Goal test: Considering a single file and it gives the "illegal input line" message

Successor function: This is the division of the execution into two halves

Cost function: This is simply the number of runs for the entire duration.

Related questions

Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that


"It works on my machine" always holds true for Chuck Norris.