Declare expression (Forward and backward chaining) question
I have been preparing for Pega CSA exam and have been studying from online course on Pega training pages, I am very much confused on the forward and backward chaining concept and cant answer the below question correctly, can some one explain plz.
Question below
You have created a series of forms for a vacation booking process. Declarative expressions are used to calculate values such as the cost of the flight, hotel, car
rental, and taxes. The last form includes a field that displays the total amount that will be charged on the user’s credit card.
How do you configure the calculations so that the total amount is calculated only when the user reaches the last form?
A. Use the backward chaining option for all the expressions.
B. Use the backward chaining option for the total amount expression. Use forward chaining for all the other expressions.
C. Use the forward chaining option for all the expressions.
D. Use the forward chaining option for the total amount expression. Use backward chaining for all the other expressions.