Answer:
heuristic; algorithm
Step-by-step explanation:
Heuristic: This is referred to as an approach to learning, discovery, or problem-solving, that implements a practical method which is not insured to be perfect or optimal, yet sufficient enough to fulfill the ultimate and immediate goals.
Algorithm: This is one of the methods that use a step-by-step method to solve a specific problem. The algorithm method is commonly used for calculation, data processing and other mathematical and computer operations. It is also used for manipulating data in various ways.
In the question above, Boris is using a heuristic and the computer is using an algorithm.