1. Create a class diagram to support the above case study and Systems Use Case Specifications 2. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification 3. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter13: Handling Events
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

Linda's bank account looks good but at a glance, she can't easily see which transactions are related to each of her locations.

She finds that at the end of the month manually, she's manually calculating profits.  She is currently using a simple application built by her grandchildren, but find that she's missing cash sales.  Linda would like to record a description of the transaction indicating whether or not the transaction was income or expense and more details of what the transaction was for.  She usually pay for supplies using her credit card.  Her customers pay by cash, credit card or debit card. 

Linda needs a system that helps her with her HST calculations.  She must be able to query income - expenses.

 They would like a more robust system than Excel to manage these details.

Your task is to read the User Story below and create a class diagram and sequence diagrams to support the scenario.

Copy your diagrams to a word file.  Analyze your model and outline what the .h files would look like if you generated code from your model.  Include pseudo code to indicate what each method would do. Attach this word file and your visual paradigm file to your submission.


 

 

User Story

As the owner of this business, I would like to record my financial transactions so that I can quickly see how much money I've made and what I owe the government in HST.  For my purposes, my expenses subtracted from my income.

Acceptance Criteria:

  1. Must be able to query transactions by date and provide a total profit and total HST
  2. Must be able to query transactions by date and by source of the income.
  3. Differentiate between expenses and income - provide a running total of income - expenses
  4. Calculate the HST owed to the government by subtracting HST paid on expenses from HST collected on income.
Use Case Descriptions
Use Case Name
Triggering Event
Brief Description
Actors
Related Use Cases
Preconditions
Post Conditions
Flow of activities
Exception
Conditions
Use Case Name
Triggering Event
Brief Description
Actors
Related Use Cases
Preconditions
Post Conditions
Flow of activities
Exception
Conditions
Create an income transaction
Money coming into the business.
Allows the Owner to record an income transaction.
Owner
Owner has opened the Main Menu.
Income transaction is saved and added to financial totals.
Actor
1.
1.
1.
Actor
Requests to add a new income
transaction
1.
Selects the transaction Date
Selects the payment
Enters the transaction description
Enters the transaction amount
1.
Request to save
1.
• Owner chooses to cancel adding the transaction
Create an expense transaction
Money leaving the business.
Allows the Owner to record an expense transaction.
Owner
Owner has opened the Main Menu.
Expense transaction is saved and added to financial totals.
System
Displays a calendar
Prompts for description, transaction amount and
HST amount
System
Displays a calendar
Prompts for description, transaction amount and
HST amount
Displays a list of payment types and prompts for
selection
Requests to add a new expense
transaction
Verifies that date is selected
Verifies that description and amount have been
entered
Verifies that the payment type was selected.
Calculates HST
Selects the transaction Date
Enters the transaction description
Enters the transaction amount
Displays income transaction
Prompts to save
Request to save
Saves the transaction and returns to the main
menu
Verifies that date is selected
Verifies that description and amount have been
entered
Calculates HST
Displays financial transaction
Prompts to save
Saves the transaction and returns to the main
menu
• Owner chooses to cancel adding the transaction
Transcribed Image Text:Use Case Descriptions Use Case Name Triggering Event Brief Description Actors Related Use Cases Preconditions Post Conditions Flow of activities Exception Conditions Use Case Name Triggering Event Brief Description Actors Related Use Cases Preconditions Post Conditions Flow of activities Exception Conditions Create an income transaction Money coming into the business. Allows the Owner to record an income transaction. Owner Owner has opened the Main Menu. Income transaction is saved and added to financial totals. Actor 1. 1. 1. Actor Requests to add a new income transaction 1. Selects the transaction Date Selects the payment Enters the transaction description Enters the transaction amount 1. Request to save 1. • Owner chooses to cancel adding the transaction Create an expense transaction Money leaving the business. Allows the Owner to record an expense transaction. Owner Owner has opened the Main Menu. Expense transaction is saved and added to financial totals. System Displays a calendar Prompts for description, transaction amount and HST amount System Displays a calendar Prompts for description, transaction amount and HST amount Displays a list of payment types and prompts for selection Requests to add a new expense transaction Verifies that date is selected Verifies that description and amount have been entered Verifies that the payment type was selected. Calculates HST Selects the transaction Date Enters the transaction description Enters the transaction amount Displays income transaction Prompts to save Request to save Saves the transaction and returns to the main menu Verifies that date is selected Verifies that description and amount have been entered Calculates HST Displays financial transaction Prompts to save Saves the transaction and returns to the main menu • Owner chooses to cancel adding the transaction
Use Case Name
Triggering Event
Brief Description Allows the Owner to retrieve financial totals for a specified date range
Owner
Actors
Related Use
Cases
Preconditions
Post Conditions
Flow of activities
Query Financial Transaction
Owner requires a list of transactions for a date period including Total Income, Total Expenses,
Total Profit, Total HST collected, Total HST Paid, HST Owed
Exception
Conditions
Owner has opened the Main Menu.
Financial transactions are retrieved, totaled and displayed
Actor
2.
1.
Requests to query financial
transactions
Selects date range
3. Request to exit
System
Displays a calendar
Verifies that dates are selected
Retrieves transactions in the specified date range
Calculates and displays total income, total expenses,
Profit, total HST Owed. Prompts to exit
returns to the main menu
Your tasks:
1. Create a class diagram to support the above case study and Systems Use Case Specifications
2. Create an object level sequence diagram, detailing the Create Income Transaction systems use case
specification
3. Create an object level sequence diagram, detailing the Create Income Transaction systems use case
specification
4. Create an object level sequence diagram, detailing the Query Financial Transaction system use case
specification.
5. Analyze your model and outline what the .h files would look like if you generated code from your model
Transcribed Image Text:Use Case Name Triggering Event Brief Description Allows the Owner to retrieve financial totals for a specified date range Owner Actors Related Use Cases Preconditions Post Conditions Flow of activities Query Financial Transaction Owner requires a list of transactions for a date period including Total Income, Total Expenses, Total Profit, Total HST collected, Total HST Paid, HST Owed Exception Conditions Owner has opened the Main Menu. Financial transactions are retrieved, totaled and displayed Actor 2. 1. Requests to query financial transactions Selects date range 3. Request to exit System Displays a calendar Verifies that dates are selected Retrieves transactions in the specified date range Calculates and displays total income, total expenses, Profit, total HST Owed. Prompts to exit returns to the main menu Your tasks: 1. Create a class diagram to support the above case study and Systems Use Case Specifications 2. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification 3. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification 4. Create an object level sequence diagram, detailing the Query Financial Transaction system use case specification. 5. Analyze your model and outline what the .h files would look like if you generated code from your model
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Decision Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning