Question Detail

COS 102 If staments Objective Question

Question

In the context of the ATM Transaction example (Page 4), what is the 'Condition' that the system checks?
Options
A Give Cash
B PIN correct?
Correct Answer
C Reject Transaction
D Check Account Balance
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 4, 'The Real-World Logic', for 'ATM Transaction' explicitly lists 'Condition: PIN correct?'.

Hint

Look at the 'ATM Transaction' box on the 'The Real-World Logic' slide.

Question Info