Professional Documents
Culture Documents
Abdulwadood Assignment 2
Abdulwadood Assignment 2
Requirements
1.1 definition of requirements:
A requirement is a statement that specifies what a system needs to do or the characteristics it
must have. During the analysis phase, requirements are drafted from the business owner's
perspective, focusing on the "what" of the system. These requirements, known as business
requirements, primarily address the needs of business users and, occasionally, the end-users.
As the design process progresses, these business requirements evolve and become more
detailed, outlining the strategy for system implementation. Once defined from the developer's
perspective, they are often called system requirements in the design phase. Both functional and
non-functional requirements are essential.
- Root Cause Analysis: This technique searches for the primary reasons behind problems
or deficiencies.
- Duration analysis: Look at the time it takes to complete different tasks in the system.
- Activity-Based Costing: Checks the costs associated with each activity in the system.
- Observation: Watching how users interact with the current system helps spot issues and
areas for improvement.
I would use observation, problem analysis, and root cause analysis together to assess the
needs. This approach helps find evident and hidden issues with the current system and better
understand what users need.
- Observation: Watching how people interact with the current system in its usual
environment.
Each method has its pros and cons. For instance, questionnaires can gather information from
many stakeholders quickly but might need more detailed insights, while interviews can offer in-
depth qualitative data but are more time-consuming.
The responses to these questions will be utilized to enhance the design of the POS system by
highlighting user satisfaction levels, identifying common issues, determining key features, and
understanding user perceptions regarding system security and performance.
Inventory Management:
User Management:
Support multiple user roles (e.g., cashier, manager) with different access levels.
Allow users to log in and log out securely.
Reporting:
Customer Management:
Non-Functional Requirements
These are the standards or conditions the system must meet:
Performance:
Ensure high transaction speed to handle peak traffic periods without delays.
Optimize system performance for quick response times.
Reliability:
Usability:
Scalability:
As the business grows, allow for expansion in terms of features, number of transactions,
and concurrent users.
Security:
Compatibility:
Ensure compatibility with hardware components like barcode scanners, receipt printers,
and cash drawers.
Support integration with other business systems, such as accounting software and e-
commerce platforms.
Structural modeling:
2.1 Introduction of Modeling:
A conceptual or structural model shows how the elements supporting a business's processes
are arranged. It helps analysts concentrate on the business aspects rather than technical details
by presenting a logical organization of objects during the analysis phase without showing how
they are made, stored, or changed. Later in the design process, this structural model is updated
to accurately reflect how the objects are stored in databases and files. This section discusses
using class diagrams, object diagrams, and class-responsibility-collaboration (CRC) cards to
develop the structural model.
2.2 Use-Case Discussion:
A use case describes all the possible ways an end user can interact with a system. It details the
system's actions in response to user requests, illustrating its interaction with its users (actors).
In the context of a Point of Sale (POS) system, the main actors typically include:
1. Cashier (Sales Associate): This actor operates the POS system during customer
transactions. The cashier can scan products, apply discounts, process payments, issue
receipts, and handle returns and refunds.
2. Store Manager: The manager has overarching access to the POS system. They can
modify product prices and details, manage inventory, view detailed sales reports, set up
promotions, and manage cashier accounts.
3. Customer: Although not interacting with the system directly as the other actors do, the
customer is central to the POS interactions. Customers engage with the system by
presenting items for purchase, making payments, and receiving receipts.
o Actor: Cashier
o Description: The cashier scans items, applies any discounts, calculates the total,
processes the customer's payment, and issues a receipt.
Handling Returns/Refunds:
o Actor: Cashier
o Description: The cashier processes returns by verifying the item and the receipt
and then issues a refund based on the original payment method.
Managing Inventory:
o Description: The manager updates inventory counts, adds new products to the
system, and adjusts product details.
Generating Reports:
Description: The manager sets up POS promotional discounts, which are automatically
applied when eligible items are purchased.
An activity diagram is a flowchart used in Unified Modeling Language (UML) that illustrates the
flow of activities in a system or process. This diagram is also known as a "behavior diagram"
because it describes what happens within the modeled system, focusing on its dynamic aspects.
For a Point of Sale (POS) system, the activity diagram might depict a typical sales transaction
process. Here is an example of how such a process might be outlined:
1. Starting the Transaction: The cashier initiates the process by starting a new transaction
on the POS terminal.
2. Scanning Items: The cashier scans the barcodes of items the customer wishes to
purchase. Each scanned item's price is automatically added to the total bill.
3. Adding Discounts (if applicable): If any promotions or discounts are appropriate, the
cashier applies these to the relevant items.
4. Processing Payment:
The cashier asks the customer for their preferred payment method.
If the payment is by card, the customer swipes, inserts, or taps their card and then
enters a PIN or signs if required.
If the payment is in cash, the cashier inputs the amount received, and the POS
calculates any change due.
5. Issuing Receipt: Once the payment is successfully processed, the POS system generates
a receipt, which the cashier can print or email to the customer, depending on the
customer's preference.
This activity diagram provides a precise sequence of steps during a typical interaction with a
POS system, highlighting the system's behavior from the cashier's initiation of a transaction to
the finalization of the sale.
Provide diagrams:
3.1 Use-Case Diagram:
3.2 Use Case Description:
______________________________________________________________________________
Actors:
1. Cashier
2. Customer
Description: This use case describes the process of a cashier handling a sale transaction in a
retail environment using a Point of Sale (POS) system.
Preconditions:
Basic Flow:
1. Start Transaction: The cashier initiates a new sale on the POS system.
2. Scan Items: The cashier scans the items the customer wishes to purchase, and the
system updates the total cost.
3. Apply Discounts: If applicable, the cashier discounts the eligible items, and the system
recalculates the total.
4. Payment: The cashier collects payment from the customer based on the final total. This
can be via cash, card, or digital payment methods.
5. Verify Payment: The cashier ensures the system processes the payment correctly.
6. Print Receipt: Once payment is verified, the POS system generates a receipt, which the
cashier hands to the customer.
7. Close Transaction: The cashier closes the transaction in the system, which updates
inventory and sales records.
Alternate Flow:
1. Item not scanning: The cashier manually enters the item's SKU or barcode into the
system.
2. Payment declined: The cashier informs the customer of the issue and requests another
form of payment.
3. Printer issues: If the receipt printer is not working, the cashier offers to send the receipt
via email or use an alternative printer.
Postcondition:
Exceptional Condition:
1. In a system failure, transactions may be temporarily paused until the system is restored.
2. If there are issues with payment processing, the cashier may need to restart the
transaction or use an alternative payment system.
_____________________________________________________________________________
This use case description includes all elements from preconditions and basic flow to alternate
flows, postconditions, and exceptional conditions. It provides a comprehensive view of the
transaction process at the POS, detailing what the cashier and the system need to do to
complete a sale.