Certified Pega System Architect v7.2 — Question 17
You are designing hotel booking forms for a travel application.
The first form contains two fields in which users enter a room type and the length of stay in days. A third field displays the total cost of the room.
The second form contains a field in which users select additional-cost options such as a sight-seeing tour. A second field displays the total cost of the options.
The third form contains a field that displays the grand total of the room and options.
Which two properties are considered source properties for the declare expression used to calculate the grand total? (Choose two.)
Answer options
- A. Options
- B. Total cost of options
- C. Length of stay
- D. Total cost of room
Correct answer: A, D
Explanation
The correct answer includes 'Options' and 'Total cost of room' because these properties directly contribute to calculating the grand total. The 'Total cost of options' is derived from the additional costs and does not serve as a source property, while 'Length of stay' is used to determine room costs but is not a direct source for the grand total calculation.