Which of the following statements are correct about the cut (!)?

Which of the following statements are correct about the cut (!)? Select all correct answers.

Answers:      
A. Cut (!) can be placed anywhere in a rule as a condition, and the effects can be different.
B. Cut (!) has to be placed at the very end of a rule.
C. Cut (!) removes all existing backtracking points, but new backtracking points can be added later.
D. Cut (!) can be placed anywhere in a rule, and the effect is exactly the same.

Answer. A and C.


Computer Science

Learn More Multiple Choice Question :