# Data Processing Methods How is data actually processed by computers? ## 1. Batch Processing - Data is collected over time and processed **all at once** (in a batch). - **Example**: Payroll systems (calculating salaries at the end of the month). - **Pros**: Efficient for large volumes. - **Cons**: Not immediate. ## 2. Real-time Processing - Data is processed **immediately** as it comes in. - **Example**: ATM withdrawals. You need to know your balance *right now*. - **Pros**: Instant results. - **Cons**: Complex and expensive. ## 3. Online Processing - Similar to real-time, often used for internet applications. - **Example**: Barcode scanning at a store checkout. The price is fetched instantly. ## 4. Distributed Processing - Breaking a task into pieces and running them on **multiple computers** at the same time. - **Example**: Google Search. Many servers work together to find your result.