Welcome to the World of Computers!

Have you ever wondered what actually happens inside a computer when you click a mouse or tap a screen? It might seem like magic, but it is actually a very organized process. In this chapter, we will explore the basic "heartbeat" of every computer—how it takes in information, thinks about it, and gives us a result.

By the end of these notes, you will understand that a computer is not just a box with a screen; it is a powerful machine that follows a specific sequence to help us solve problems and create amazing things!


1. The Golden Rule: Input, Process, Output (IPO)

The most important thing to remember about computer operation is that every single task follows a three-step cycle called the IPO Model. Whether you are playing a game, writing an essay, or using an AI tool, the computer always follows this sequence:

1. Input (輸入): The computer receives data or instructions from the outside world.
2. Process (處理): The computer performs calculations or follows instructions to change that data.
3. Output (輸出): The computer presents the result to the user.

An Everyday Analogy: Making a Fruit Smoothie

Think of a computer like a blender:

  • Input: You put bananas, milk, and ice into the blender (Data).
  • Process: You press the button and the blades spin to mix everything together (Processing).
  • Output: You get a delicious smoothie to drink (Information).

Key Takeaway: A computer is a machine that operates according to the sequence Input \(\rightarrow\) Process \(\rightarrow\) Output.


2. The Hardware: The "Body" of the Computer

To perform the IPO cycle, a computer needs physical parts called Hardware (硬件). Each part of the hardware has a specific job in the cycle.

A. Input Units

These devices allow us to "talk" to the computer. Common examples include:

  • Keyboard and Mouse: For typing text and clicking icons.
  • Microphone: For inputting sound.
  • Scanner or Camera: For inputting images or videos.

B. The Processing Unit (The Brain)

The "brain" of the computer is the Central Processing Unit (CPU / 中央處理器). This is where the actual "thinking" happens. The CPU carries out instructions from software and performs calculations.

C. Output Units

These devices show us the results of the processing. Note: Different situations require different outputs.

  • Screen (Monitor): Great for immediate feedback and watching videos, but it is not permanent.
  • Printer: Used when we need a physical "hard copy" of our work to keep or hand in.
  • Speakers: For outputting sound or music.

D. Storage Units (Memory)

Computers need a place to keep data. We divide this into two main types:

  • Main Memory: Includes RAM (Random Access Memory), which is temporary storage used while the computer is running. If you turn off the power, anything in RAM is usually lost!
  • Secondary Storage (Backing Store): Includes Hard Disks and USB Flash Drives. These are used to store your files permanently so you can find them again tomorrow.

Quick Review: Input devices bring data in; the CPU processes it; Output devices show the result; Storage keeps it safe.


3. The Language of Computers: Binary Code

Even though we see letters, pictures, and colors on the screen, the computer doesn't actually understand them the way we do. Inside the computer, everything is processed and stored using Binary Code (二進制碼).

Binary is a system that uses only two digits: 0 and 1.

  • Think of it like a light switch: 1 is "On" and 0 is "Off."
  • By combining millions of these 1s and 0s, the computer can represent complex information like a high-definition movie or a complicated AI algorithm.

Example: A single letter like "A" might be represented by a pattern such as \(01000001\) in the computer's memory.


4. Software: The "Instructions"

Hardware cannot do anything on its own. It needs Software (軟件), which is a set of instructions that tells the hardware what to do. There are two main types:

  • Operating System (OS): The most important software. It manages the hardware and lets you interact with the computer (e.g., Windows, macOS, or mobile systems).
  • Application Software: Programs designed for specific tasks, like a web browser for searching the internet or "Office Automation Software" (like Word or PowerPoint) for doing schoolwork.

Did you know? Without an Operating System, your computer hardware wouldn't even know how to turn on the screen or listen to your mouse clicks!


5. The Importance of Data Correctness

In computer operation, there is a famous saying: "Garbage-In, Garbage-Out" (GIGO).

This means that if you give the computer the wrong data (Input), even the fastest CPU in the world will give you the wrong result (Output). For a computer to be useful, the correctness of data is essential.

Example:

If you are using a calculator to add \(5 + 5\), but you accidentally type \(5 + 4\), the computer will give you \(9\). The computer didn't make a mistake—it just followed your "garbage" input!


Summary & Key Points

Don't worry if this feels like a lot to remember! Here are the most important points from this chapter:

  • The IPO Cycle: Computers always follow the Input \(\rightarrow\) Process \(\rightarrow\) Output sequence.
  • The CPU: This is the "brain" that does the Processing.
  • RAM vs. Secondary Storage: RAM is temporary; Secondary Storage (like a hard drive) is permanent.
  • Binary: Computers use 0s and 1s to process and store all information.
  • Hardware vs. Software: Hardware is the physical machine; Software is the instructions that tell it what to do.

In the next chapter, we will look at how we use these operations in daily life, such as in e-learning and e-banking!