CS-139 Fall 2004 Homework #1: Analyzing the ATM Algorithm - Prof. Mohamed Aboutabl, Assignments of Computer Science

Instructions for homework #1 in cs-139 fall 2004 course. Students are required to examine the atm algorithm from schaum's textbook, determine the bank manager's requirements, identify a flaw, and propose a correction. The assignment is due on thursday, sept 02, 2004, and should be submitted as a word document or plain text file via blackboard.

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-jv9
koofers-user-jv9 🇺🇸

3

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS-139 Fall 2004
Homework #1
Take a look at the ATM algorithm which is listed as example 2.3, page 48 of your Schaum's textbook.
Your tasks:
1. Determine what the bank manager's requirements are. What led to this algorithm? For example,
one requirement is: A customer (user) must identify him/herself with a password. What are the
other requirements for these limited features?
2. There is a major flaw in the algorithm. What is it and how would you change the pseudocode to
reflect a more correct algorithm? On your paper, write the complete algorithm, with the
correction.
This assignment is due tomorrow (Thursday - Sept 02, 2004) at 2:00pm. To submit, do your work in a
Word document or a plain text file and submit it using “View/Complete Assignment” link on Blackboard.
It will not be feasible to submit the assignment after the due date/time mentioned above.

Partial preview of the text

Download CS-139 Fall 2004 Homework #1: Analyzing the ATM Algorithm - Prof. Mohamed Aboutabl and more Assignments Computer Science in PDF only on Docsity!

CS-139 Fall 2004

Homework # Take a look at the ATM algorithm which is listed as example 2.3, page 48 of your Schaum's textbook. Your tasks:

  1. Determine what the bank manager's requirements are. What led to this algorithm? For example, one requirement is: A customer (user) must identify him/herself with a password. What are the other requirements for these limited features?
  2. There is a major flaw in the algorithm. What is it and how would you change the pseudocode to reflect a more correct algorithm? On your paper, write the complete algorithm, with the correction. This assignment is due tomorrow (Thursday - Sept 02, 2004) at 2:00pm. To submit, do your work in a Word document or a plain text file and submit it using “ View/Complete Assignment ” link on Blackboard. It will not be feasible to submit the assignment after the due date/time mentioned above.