CPSC 333: Can Accounts Be Overdrawn?

Location: [CPSC 333] [Assignments] [More about Problem to Model for Question #1 on Assignment #2]


Question:

Many banks today provide for negative account balances. Should we consider negative balances as errors, or should the system allow for this?

Answer:

Yes, the system should allow for this - and, therefore, you shouldn't try to ``reject'' a transaction if it would cause an account balance to become negative.


Department of Computer Science
University of Calgary

Office: (403) 220-5073
Fax: (403) 284-4707

eberly@cpsc.ucalgary.ca