* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Software Engineering I Homework 1 Name: Aisha Al
Survey
Document related concepts
Transcript
Software Engineering I Homework 1 Name: Aisha Al-Anssari ID:200800271 Sec: 201 Q1) Requirements Specification Every developer need to requirement specification to create a software. In this paper we describe requirement specification for ATM system, and developer discuss and specify the purpose with end users. ATM system must allow users who have account in a bank to check their balance, deposit money, withdrawal money, transfer money and bill payment. Supported activity list 1. allows user to log on 2. allow users enter their password 3. Validate bank card and PIN 4. allows user withdrawal cash 5. allows user transfer money 6. allows user to get balance information 7. ability to print bill balance 8. check expiry date for bank’s card 9. connect ATM system with bank database 10. ability to check that the account is not locked Human-computer interface description 1. new customer must be able to use the interface without any help 2. the interface request to choose the language 3. request to enter PIN by numeric keyboard 4. the interface must be Secured to hid the password 5. view menu 6. end screen to show that if process was successful or failed solved problem list 1. users able to contact with their account any time for 24 hours and everywhere 2. users able to access their account without visit any bank building 3. ATM system faster, more comfortable and flexible for bank costumers Security and fault-tolerant requirements 1. The system must be sensitive to check errors 2. Enter unsuccessful password three times will lock the account 3. Limited amount of money withdrawn per day 4. Allow users to change their PIN only first time of use card 5. There must be emergency call Information source list 1. Bank staff 2. Bank customers 3. Online research resources Ethical concerns list 1. Each customer must have privacy for their information 2. Privacy for costumer’s account, balance and banking dealing Checks and balances 1. Check for 4 digit numbers 2. Check for available account 3. Check for Validate bank card and PIN Q2) list of primary classes for ATM system 1. Bank customer (full name, ID, phone number, address, P.O.Box, E-mail, account number) 2. ATM system (check balance, deposit money, withdrawal money, transfer money and bill payment, calculate balance, Validate bank card, card expiration date and PIN) Q3) Create two key use cases for ATM system 1. Use case: withdraw cash Precondition: user must have an account in the bank, and system must be validated. Main flow of events: bank customer should insert his/her card in ATM machine, choose language then ATM system requesting for enter PIN, screen will view menu with some options like view account balance, withdrawal money and transfer cash. User choose withdraw cash, screen show another menu of amounts of money to withdraw it or user can select other to enter different amount. User select from the menu 1000 SR, then system show massage to confirm or cancel then user confirmed the procedure. Post condition: account is debited by the amount of withdrawal. Exceptional: bank card is expired 2. View account balance Precondition: validated bank card and validated PIN Main flow of events: bank customer should insert his/her card in ATM machine. Then choose language then ATM system requesting for enter PIN. screen will view menu with some options, user choose view account balance. System shows user account balance then ask if user want print the bill. Exceptional: user enter wrong password three times