Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

6.2 Use the following operational concept for the operational phase of the ATM t

ID: 3599712 • Letter: 6

Question

6.2 Use the following operational concept for the operational phase of the ATM to i. Create one additional scenario for the operational conopt. ii. Develop an external system diagram using IDEFO 202 RIQUREMENTS AND DEFINING THE DESIGN PRORM iti. Create an objectives hierarchy for the ATM system. iv. Develop a set of stakeholders' requirements. Use the format of the Stakeholders Requirements Document and the taxonomy of four types of requirements from this chapter. Make every cffort to develop as complete and unambiguous a set of stakeholders requirements for the operational phase as possible using only the information provided in the following scenarios. Then add three system-wide requirements and four qualification requirements. Automatic Teler Machine (ATM) for Money Mart Corporation. The ATM system is to provide a cost-effective service to bank customers that is convenient, safe, and secure 24-hour access to a common set of banking transactions and reduce the cost of providing these basic transaction. The ATM system shall provide a number of the most common banking transactions (deposit, withdraw, transfer of funds, balance query) without involvement of bank personnel The operational concept is comprised of a group of scenarios that are based upon the stakeholders requirements and relates to both the banks customers and employees. Customer Scenarios I. Customer makes deposits. b. ATM requests unique identification information c. Customer enters unique d. ATM requests activity selection e. Customer selects deposit. f. ATM requests account type. g. Customer identifies account type (ie. savings, chocking. hank credit card). h. ATM requests type of deposit (cash vs check). i. Customer identifies type of deposit cash chack j. ATM provides a means to physically insert cash check into ATM k. Customer enters deposit. ATM transmits the transaction to the main bank computer, give customer receipt, returns to main menu 2. Customer requests cash to be withdrawn from an account a. Customer provides valid general identification information. b. ATM requests unique c. Customer enters unique identification information d. ATM requests activity selection e. Customer selects withdrawal. f. ATM requests account type.

Explanation / Answer

package com;

import java.awt.Graphics;
import java.awt.Graphics2D;
import java.util.ArrayList;
import java.util.Random;

import javax.swing.JPanel;

public class Graph extends JPanel {
public Graph() {
setSize(500, 500);
}

@Override
public void paintComponent(Graphics g) {
Graphics2D gr = (Graphics2D) g; // This is if you want to use Graphics2D
// Now do the drawing here
ArrayList<Integer> scores = new ArrayList<Integer>(10);

Random r = new Random();

for (int i : scores) {
i = r.nextInt(20);
System.out.println(r);
}

int y1;
int y2;

for (int i = 0; i < scores.size() - 1; i++) {
y1 = (scores.get(i)) * 10;
y2 = (scores.get(i + 1)) * 10;
gr.drawLine(i * 10, y1, (i + 1) * 10, y2);
}
}
}