Day 18
3:storage
• During or after processing, the data may be temporarily or permanently stored for later use.
• Temporary storage occurs in RAM (Random Access Memory) during active processing, while long-term storage happens in hard drives or cloud storage.
• Example: Saving a processed report in a file or storing results in a database.
4. Output
• The processed data is then presented to the user in a readable and interpretable format.
• Output devices like monitors, printers, or speakers are used to deliver the results.
• Example: Displaying the total sum on a screen or printing a report.
Expanded Example (ATM Transaction):
1. Input: User enters their PIN and selects a transaction type.
2. Processing: The system verifies the PIN, checks the account balance, and deducts the amount.
3. Storage: The updated balance is saved to the bank’s database.
4. Output: The ATM displays the remaining balance and dispenses cash.
تعليقات
إرسال تعليق