Skip to main content

Computer Essentials

Hardware vs Software​

Computers are designed to do any job that their operating systems and application software tell them to do. But how exactly do they manage this, and why?

They do this through a combination of hardware and software.

πŸ’½ ↔️ πŸ“²
hardware software

Hardware​

Hardware provides the physical components, like:

example

which are necessary for processing data!

What are Input Devices?​

Input devices are components of a computer system, allowing users to interact with the computer by providing data and commands. These devices gather "input" in various forms and send it to the CPU for processing:

example

Input devices act as a bridge between the physical world and the digital environment, enabling computers to understand and respond to human actions or other external signals.

you input devices
πŸ§‘ ↔️ ⌨️ πŸ“·πŸ–±οΈπŸ“²πŸ“ž

What is the CPU?​

The CPU, or Central Processing Unit, is the "brain" of the computer, responsible for executing the instructions of a software program.

The "power" of a CPU is determined by how many instructions it can execute per second, usually measured in gigahertz (GHz), representing billions of instructions per second.

Just as our senses (eyes, hands, and nose) send information to our brain for processing, input devices send information to the CPU:

πŸ‘€πŸ€²πŸ‘ƒ ↔️ 🧠

⌨️ πŸ“·πŸ–±οΈ ↔️ πŸ’Ύ

Every action a computer performs, from running applications to processing data, it relies on the CPU’s ability to execute instructions. If the CPU stopped working, the entire system would shut down, much like how our bodies would cease to function if the brain stopped working.

The end of Poggie as we know her:

πŸ₯”
πŸ‘€πŸ€²πŸ‘ƒ ↔️ 🧠

The end of your computer as you know it:

πŸ”₯
⌨️ πŸ“·πŸ–±οΈ ↔️ πŸ’Ύ

However, if an input device, like a mouse, fails, the CPU can continue to function perfectly fine. You can still interact with the system using other devices, such as a keyboard or track pad. Similarly, if your eyes require glasses, your brain can still process visual information correctly with the aid of glasses.

20/20 vision was never an option:

πŸ‘“
πŸ‘€ ↔️ 🧠

No mouse for you:
πŸ”₯
πŸ–±οΈ ⌨️ ↔️ πŸ’Ύ

CPU "neurons"​

Remember those transistors we discussed? They are the building blocks of the CPU, acting as tiny switches that control the flow of electrical signals. Unlike our neurons, which send complex electrical signals requiring years of study to fully understand, transistors operate on a simpler system of "on" and "off" states, corresponding to the binary code (1s and 0s) that computers use to perform calculations and execute instructions.

brain cells communicating with signals
🦠 ↔️ 🦠

transistors communicating with signals
βŽ‡ ↔️ βŽ‡

What are Output Devices?​

Output devices are the components of a computer system that take processed data from the CPU and present it in a form that humans can understand or use. These devices translate the computer's digital signals (1s and 0s) into physical output. Common examples include:

example

Output devices are important for making the work of the CPU make sense to us. They bridge the gap between the computer’s digital processes and the physical world, allowing us to interact with and experience the results of computing tasks.

πŸ“  πŸ–₯️ πŸ”Š ↔️ πŸ§‘
output devices you

Without output devices, we'd be left with raw 1s and 0s that would make 0 sense to us, much like how studying brain signals can be confusing to the average person. Even neuroscientists with all their advanced knowledge still have a hard time.

Neuroscientist observing cells and being confused:
🦠🦠🦠 ↔️ πŸ”πŸ§‘

You observing transistors and being confused:
βŽ‡βŽ‡βŽ‡ ↔️ πŸ”πŸ§‘

Computers are complicated, just like with people, and mastering even a single component can lead to an entire field of study.

Computer Storage​

While we deal with files and folders that make sense to our brains, the computer's brain operates on data in a way that is specific to the computer.

Storage Types​

Much like the memory in the human brain, computer memory stores data. There are two types of computer memory:

  • Short-term (temporary)
  • Long-term (permanent).
Processor Temporary Permanent
Storage Storage


🧠 ↔️ i am hungry. The good ol' days

πŸ’Ύ ↔️ πŸ«™ πŸ’Ώ

RAM​

The RAM (Random Access Memory), is used to temporarily hold information while the CPU is processing it. Think of this as the computer’s work area, it works similarly to your "short term" memory. Do you need to know that on September 3rd, 2024 at 12:00pm that you were craving poutine? Absolutely not. This information is "temporary" similar to how "temporary" information is in RAM.

🧠 ↔️ i am hungry. The good ol' days

πŸ’Ύ ↔️ πŸ«™ πŸ’Ώ
⬆
RAM

The CPU doesn’t access information directly from the hard drive because it's too slow for the CPU's needs. Instead, data and instructions are temporarily loaded into RAM for quick access.

🧠 ↔️ i am hungry. ↔️ In the good ol' days i ate poutine
⬆ ⬆
short term long term


πŸ’Ύ ↔️ πŸ«™ ↔️ πŸ’Ώ
⬆ ⬆
RAM long term

What does more RAM mean?​

More RAM means more programs can run simultaneously, which is why gamers and power users often seek out high amounts of RAM. They need ample "short-term memory" to run complex simulations smoothly. Going back to our analogy, the more "short-term memory" we have, the more food options we can keep in our brain at a given single instant.

However, once the computer is turned off, all information in RAM is erased. So, how does the computer retain information after being powered off?

Storage Discs​

The Storage Disc or Storage Drive is where your software, documents, movies, and other files are kept for the long term. This means data is preserved even when the computer is turned off or unplugged.

This means that data is saved even when the computer is turned off or unplugged. When you run a program or open a file, the computer copies some of the data from the storage drive to the RAM. When you save a file, the data is copied back to the drive.

The storage capacity of a hard drive is measured in gigabytes (GB), the same unit used to measure RAM.

Types of Long Term Storage​

A Hard Drive is an older type of storage drives that uses a spinning disc (like a spinning vinyl) to store information. Modern drives use a technology called SSD or Solid State Drives, which has no moving parts and are much faster than spinning discs. SSD's allow your computer to start up and load programs faster.

External Storage​

Some examples are:

example

Summary​

this is all "hardware"

Memory
πŸ’½
↕
⌨️ πŸ“·πŸ–±οΈ ↔️ πŸ’Ύ ↔️ πŸ“  πŸ–₯️ πŸ”Š
input CPU output

Software​

Software is a set of instructions that tells the hardware what to do and how to do it. The programs running on a computer are collectively referred to as "software" and can be divided into two main categories:

  • Operating Systems: These include systems like MacOS, Windows, iOS, Android, and Linux. They manage the hardware and provide a platform for other software to run.
  • Application Software: These are programs like Microsoft Word, Excel, and Google Chrome, designed to perform specific tasks for the user.

References​

Buschinelli, Mauricio, and Meghrig Terzian. "Computerized Systems - Lecture 3." John Abbott College, Fall 2021.

Lecture 1: Introduction to Computers and Programming. CN101, Thammasat University, prog.ece.engr.tu.ac.th/slides/v5/Lecture_01-Introduction.pdf

Tomar, Aparna. "Input Devices of Computer: Definition, Functions, Examples and Images." Career Power, careerpower.in/school/computer/input-devices-of-computer

Tomar, Aparna. "Output Devices of Computer, Definition, Examples and Images." Career Power, careerpower.in/school/computer/output-devices-of-computer