📘 CodingMarble Learn

How Software Works and How We Use It

Software works in layers: hardware at the bottom, the operating system (OS) on top of it, applications on the OS, and the user on top. An app asks the OS for memory, files and devices; the OS runs the hardware. Security software such as antivirus and firewalls blocks bad files. Many apps sharing data, with people, form an information system.

🎬 Step-by-step story

  1. Software works in layers. Hardware is at the bottom, the OS sits on it, apps sit on the OS, and you are on top.
  2. The operating system does three jobs: it shares memory, it keeps files, and it runs devices such as the screen and printer.
  3. An app never touches hardware directly. It asks the OS. The OS gets the hardware to work and sends the answer up. Watch the white dot go down and back.
  4. Security software builds a shield. A clean green file passes. A bad red file is stopped at the edge.
  5. Several apps share one data store, and people use them. Apps + data + people form an information system.
  6. Your turn. Open an app, send a bad file, and switch the shield off to see the hardware turn red.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is the OS a kind of app?

It is software, but it is the layer that runs the machine and gives apps what they need. Apps sit on top of it.

Why do we need an OS at all?

Without it each app would have to run the memory, files and screen itself and would clash with other apps. The OS shares them safely.

What happens when an app asks the OS to save a file?

The OS finds free space on the storage, writes the file there, and tells the app it is done. The white dot in the 3D shows this trip.

Does the shield slow the computer?

Only a little. Checking files costs some time but protects from far bigger harm.

Why are updates important for security?

They fix weak points. Attackers look for old versions that still have these weak points.

Can an information system be only one app?

A small one can, but usually several apps share data. The parts together with the people form the system.

How operating systems work

The operating system (OS) is the main program that runs the computer. It starts first and stays on until you shut down. Its main jobs are:

Examples: Windows, macOS, Linux, Android, iOS.

How application software works

Application software (an app) helps you do a task: writing, drawing, chatting, paying, learning. An app is a set of instructions written by programmers. When you open it, the OS copies it into memory and lets the processor run it.

An app uses system calls, which are polite requests to the OS: "open this file", "draw this window", "send this data". Because every app asks the OS in the same way, the same app can run on many different machines with the same OS.

Apps may be installed on the device or run in a web browser.

Software-based security technology

Software can also protect the computer:

Software making up information systems

An information system uses several kinds of software together:

In a school, a marks app, a fee app and an attendance app can all use one student database. People enter and read the data, and the OS and servers keep it running.

Key formulas and definitions

Worked examples

1. You open a music app and press play. Describe what the OS does.

The OS loads the app into memory, gives it processor time, finds the music file in storage, and sends the sound to the speaker through its driver. The app only asks; the OS does the work with the hardware.

2. Why is it risky to skip software updates?

Updates fix weak points that attackers already know. If you skip them, malware can use those weak points to get in. Updating closes the door.

3. A clinic uses a booking app, a billing app and a records app. Why should they share one database?

A shared database keeps one correct copy of each patient's data. The three apps then show the same facts, avoid repeated typing and do not disagree with each other.

Common mistakes

Practice quiz

1. Which layer sits directly above the hardware?
2. Which is a job of the OS?
3. An app asks the OS for something through:
4. What does a firewall do?
5. An information system is made of:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How does an operating system work?

It runs first, manages the processor, memory, files and devices, and gives apps a safe, simple way to use them.

What is the difference between an OS and application software?

The OS runs the computer and its hardware. Application software helps you do a task such as writing or chatting.

What is software security technology?

Tools like antivirus, firewalls, updates, passwords and encryption that protect data and devices.

Where this is taught

Japan高校(専門学科)1〜3年Information Technology

Learn first

Learn next

Related lessons

All Computer Science lessons