NAME : …………………..
PMIS
Computer systems and decomposition
Worksheet 1
Part 1 :
Scenario: Self-Checkout System in a Supermarket
A self-checkout system allows customers to scan and pay for items without a cashier.
Your task is to identify and categorize its components into the four main parts of a
computer system:
1. Input – Devices that send data into the system.
2. Process – How the system processes the data.
3. Output – Devices that display or send results.
4. Storage – Where data is saved for future use.
Instructions:
1. Read the scenario carefully.
2. Identify different components of the self-checkout system.
3. Fill in the table below with at least two examples for each category.
Component Example 1 Example 2
Input
Process
Output
Storage
4. Bonus Question: Why do you think storage is important in this system? What
would happen if no data was saved?
NAME : ………………….. PMIS
HOMEWORK
Exercise: Breaking Down an ATM Machine into Four Components
Objective:
Students will analyze how an ATM (Automated Teller Machine) works and break it
down into the four main components of a computer system:
1. Input – Devices that send data into the system.
2. Process – How the system processes the data.
3. Output – Devices that display or send results.
4. Storage – Where data is saved for future use.
Scenario: ATM Machine
An ATM allows users to withdraw money, check balances, and deposit funds
without visiting a bank teller. Your task is to identify and categorize its components.
Instructions:
1. Read the scenario carefully.
2. Identify different components of the ATM.
3. Fill in the table below with at least two examples for each category.
Component Example 1 Example 2
Input
Process
Output
Storage
4. Bonus Question: Why do you think storage is important in an ATM? What
would happen if transaction records were not saved?
NAME : ………………….. PMIS
Part 2 :
Scenario:
Imagine you are designing an Online Food Ordering System like UberEats or
Deliveroo. The system allows users to browse restaurants, place orders, make
payments, and track deliveries. Your task is to break this system into subsystems
and represent it using a structure diagram.
Identify the main system (Online Food Ordering System).
Break it down into 4 subsystems (e.g., User Management, Restaurant
Management, Order Processing, Delivery Tracking).
Further decompose each subsystem into smaller components.
Draw a structure diagram to visually represent the hierarchy of the system.
Part 3 :
Scenario:
A vending machine sells snacks. The machine works as follows:
1. The user selects a snack (e.g., chips, chocolate, or soda).
2. The machine displays the price of the selected item.
3. The user inserts money.
4. If the inserted amount is equal to or greater than the price:
o The machine dispenses the snack.
o If the user inserted extra money, the machine returns the change.
5. If the inserted amount is less than the price, the machine displays "Insufficient
funds" and asks the user to insert more money or cancel the transaction.
Task:
1. Write a pseudocode that represents the steps of the vending machine system.
2. Draw a flowchart that visually represents the process.