| Homework 9 is
optional. If submitted, the grade will be used to replace your lowest
homework grade (if the grade on this homework is higher -- therefore
doing this assignment can't hurt your grade). Homework 9 should
be submitted electronically, by sending it to me in an e-mail - with
all files 'zip'ed or 'tar'ed into one file. This file should be
named hw-9-YOURNAME.[tar|zip] (i.e. extension should be either tar or
zip). It should expand into a directory of the same name, minus the
extension.
Submissions that do not follow these
instructions will not be graded. |
| A book store wants to expand
to have an on-line presence They want established customers to be able to purchase books on-line. An established customer will provide the book store with a username and password. The bookstore also knows the credit card number of all established customers. When accessing the bookstore on line, any user can inquire whether the bookstore has a certain book. The bookstore will search on title, title and author, or isbn number. An established customer can purchase a book by providing the bookstore with the book (the result of the search(s) described above), their username and password. If the customer does not provide a valid username and a valid password for that user, the customer will be informed of failure in purchasing the book. Once the book is purchased, the bookstore must remove that book from it's holdings of stocked books. |