Question Detail

COS 102 If staments Objective Question

Question

If an ATM transaction's condition 'PIN correct?' is evaluated as 'No' (False), what *action* is described by 'The Real-World Logic' on page 4?
Options
A Give Cash
B Move
C Stop
D Reject
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

Page 4, 'The Real-World Logic', for 'ATM Transaction' states: 'Action: If Yes → Give Cash. If No → Reject.'

Hint

Focus on the 'If No' part of the ATM example's action.

Question Info